20 Sep
2007
20 Sep
'07
2:49 p.m.
On Sep 20, 2007, at 5:40 AM, abhishek.v@tcs.com wrote:
How to find successor and predecessor of the vertex in BGL assume that we have specified the given the root vertex,,,, Is there any direct method to this..
The out_edges and in_edges functions, respectively, return iterators for the outgoing and incoming edges of a vertex. You can then extract the target or source of the edge (with the "target" and "source" functions) to determine the successors and predecessors. - Doug