
31 Dec
2004
31 Dec
'04
3:57 p.m.
Jeffrey Holle <jeff.holle <at> verizon.net> writes:
One thing I see wrong is that the depth_first_search algorithm requires that
the
graph that it is given has an 'boost::vertex_index_t' property. So change your Graph definition to: typedef adjacency_list<listS, listS, directedS, property<boost::vertex_index_t, int, vertex_color_t, default_color_type>, property<edge_weight_t, int>
Graph;
Thanks, this seems to work. I am reading the book , and this boost graph stuff is quite overwhelming at first sight. Although they did a great job, still the documentation/book could have improvements here and there. Wkr, me