boost graph adjacency_list, retrieving a node's parents

Posted by Juan on Stack Overflow See other posts from Stack Overflow or by Juan
Published on 2010-04-03T19:57:51Z Indexed on 2010/04/03 21:03 UTC
Read the original article Hit count: 380

Filed under:
|
|
|

I want to find in an adjacency graph from the bgl how give a Vertexdescriptor and get the set of nodes that are parents of this given node.

i would like to do this in directed graph, it seems you could use a bidirectional graph but i want to be able to restrict it so that there are no cycles.

© Stack Overflow or respective owner

Related posts about c++

Related posts about boost