boost library

As me new to boost library can anybody provide a sample code for extacting subgraph::children from boost::Graph. Any help OR some sample code will be great help.
Regards,
Dheeraj
children() is a member function, you just call it, BGL has an example on their web site: http://www.boost.org/doc/libs/release/libs/graph/example/subgraph.cpp or you can run it online at LWS: http://liveworkspace.org/code/3GL5T5$0

(notice the call to G0.children() in the loop near the end of the program)
Last edited on
Topic archived. No new replies allowed.