cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
boost library
boost library
Feb 12, 2013 at 12:04pm UTC
dheerajkumar
(2)
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
Feb 12, 2013 at 2:08pm UTC
Cubbi
(4774)
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
Feb 12, 2013 at 2:13pm UTC
Topic archived. No new replies allowed.