Hi Hugues, The subgraph class has been in releases of boost for some time now, and will continue to be. As for the BGL book, the subgraph class didn't make it into the book for two reasons: we had a strict page limit and also the subgraph class was not finalized in time for the book. As for future versions of the BGL book... I don't know if there will be a second edition. That depends on sales. If there ever is a second edition, I'll try to get subgraph in there. Cheers, Jeremy On Feb 4, 2004, at 3:07 PM, Hugues Joly wrote:
Hi, I've just received the User Guide of the BGL from Addison Wesley and it doesn't mention anything about the subgraphs. What are the future plans regarding this feature?
--- Jeremy Siek
a écrit : > Hi Hugues, I've checked in a fix to CVS. Sorry, but this fix won't make it into the imminent release of boost 1.31.0.
Anyways, your program now gives the following output:
After initializing properties for G1: Global and local properties for vertex G0[C]... G0[C]= A1 G1[A1]= A1 Global and local properties for vertex G0[E]... G0[E]= B1 G1[B1]= B1 Global and local properties for vertex G0[F]... G0[F]= C1 G1[C1]= C1
After initializing properties for G2: Global and local properties for vertex G0[A] G0[A]= A2 G2[A2]= A2 Global and local properties for vertex G0[C]... G0[C]= B2 G1[A1]= B2 G2[B2]= B2
Cheers, Jeremy
P.S. The subgraph class was a late addition to the graph library and it is a fairly complicated class that was not well tested. I would not be surprised if there are more bugs.
_______________________________________________ Jeremy Siek
http://www.osl.iu.edu.edu/~jsiek Ph.D. Student, Indiana University Bloomington C++ Booster (http://www.boost.org) Office phone: (812) 856-1820 _______________________________________________ _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
__________________________________________________________ Lèche-vitrine ou lèche-écran ? magasinage.yahoo.ca _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________
Jeremy Siek