
19 Feb
2008
19 Feb
'08
9:23 a.m.
Hi, I think you should use the public method get_property of the adjacency_list to acces properly the graph property. See http://www.boost.org/libs/graph/doc/adjacency_list.html template <class GraphProperties, class GraphPropertyTag> typename graph_property<adjacency_list, GraphPropertyTag>::type& get_property(adjacency_list& g, GraphPropertyTag); Return the property specified by GraphPropertyTag that is attached to the graph object g. The graph_property traits class is defined in boost/graph/adjacency_list.hpp. Cheers, ~Benoît