accessing graph vertices by index

9 Sep
2008
9 Sep
'08
4:13 p.m.
Is this doable? Here's my graph: struct NodeProperties { map<string, string> Properties; }; struct EdgeProperties { map<string, string> Properties; }; typedef adjacency_list<vecS, vecS, directedS, NodeProperties, EdgeProperties> BipartiteGraph; So I'm using vecS for the vertexlist, so I should be able to access them by index right? -- William Yun Chen '09 Hinman Box 1826 Dartmouth College Hanover, NH, 03755

11 Sep
11 Sep
3:09 p.m.
* Will Chen <oxeimon@gmail.com> [2008-09-09 12:13:44 -0400]:
typedef adjacency_list<vecS, vecS, directedS, NodeProperties, EdgeProperties> BipartiteGraph;
So I'm using vecS for the vertexlist, so I should be able to access them by index right?
yes, you should. mojmir
6098
Age (days ago)
6100
Last active (days ago)
1 comments
2 participants
participants (2)
-
Mojmir Svoboda
-
Will Chen