Boost logo

Boost Users :

From: Emmanuel Viaud (emmanuel.viaud_at_[hidden])
Date: 2007-08-02 14:25:37


On 8/2/07, Stephan Diederich <stephan.diederich_at_[hidden]> 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<vertex_t, vertex_t> >
> 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 ?)

Best regards,
emmanuel


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