|
Boost Users : |
From: Benoît Dagon (benoit.dagon_at_[hidden])
Date: 2008-02-19 04:23:53
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
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