|
From: | Ragia Ibrahim |
Subject: | [igraph] vertex sequence Q |
Date: | Sat, 18 Apr 2015 23:20:44 +0200 |
Dear group,
I had a sub graph induced form larger one the sub-graph is as follows > V(subg) Vertex sequence: [1] 19 21 22 29 43 48 49 > E(subg) Edge sequence: [1] 21 -> 19 [2] 22 -> 21 [3] 29 -> 19 [4] 43 -> 22 [5] 48 -> 19 [6] 48 -> 21 [7] 48 -> 22 [8] 48 -> 43 [9] 49 -> 22So I used the vertex place in the sequence get.all.shortest.paths(subg,2) and I tried that too get.all.shortest.paths(subg,2,1:7,mode="out") $res $res[[1]] [1] 2 1 $res[[2]] [1] 2 $nrgeo [1] 1 1 0 0 0 0 0is this seems true ? the value in $res is it the place of node in vertex sequence? thanks in advance Ragia |
[Prev in Thread] | Current Thread | [Next in Thread] |