2 Aug
2007
2 Aug
'07
11:52 p.m.
Hi,
On 8/2/07, Emmanuel Viaud
On 8/2/07, Stephan Diederich
wrote: Hi Emmanuel
Hi Stephan
You did not pass transitive_closure a property map. Instead you give the algorithm a std::map.
typedef std::map < vertex_t, vertex_t > ioMap_t; ioMap_t vertex_vertex_map; boost::associative_property_map< std::map
> ioMap(vertex_vertex_map); Should work.
And it works indeed. Thanks for showing me the error and for the tip using vector container (which, if I understood well, will only work if I use a vecS as the container for my vertices in the graph ?)
Yep, that's right. Cheers, Stephan