Boost logo

Boost Users :

From: Janusz Piwowarski (jpiw_at_[hidden])
Date: 2005-08-24 04:24:48

Greg Landrum wrote:
> [..]
> //------------
> typedef std::map< graph_traits<graph_t>::edge_descriptor, int > map_t;
> map_t base_map;
> associative_property_map< map_t > components(base_map);
> //------------
> That doesn't compile, the definition of base_map generates an error
> whose explanation begins with:
> [..]
> So my question is: how can I make a call to biconnected_components in
> a manner that doesn't modify my graph (or any of its associated
> property maps)?

If you want to use external property map for edges, you must use edge_index
instead of edge_descriptor. But, you must provide edge_index property by
yourself. See exterior_properties.cpp for example.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at