Boost logo

Boost Users :

From: gast128 (gast128_at_[hidden])
Date: 2004-12-31 10:57:58


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net