problem with boost parallel graph dijkstra_shortest_paths
I want to use the parallel version of dijkstra_shortest_paths, here is my
code, it works very well with the sequential version of BGL, but can not be
compiled with parallel BGL.
typedef boost::adjacency_list < boost::vecS, boost::vecS,
boost::undirectedS,
boost::no_property, boost::property < boost::edge_weight_t, double > >
graph_t;
typedef boost::graph_traits < graph_t >::vertex_descriptor
vertex_descriptor;
typedef boost::graph_traits < graph_t >::edge_descriptor edge_descriptor;
typedef std::pair
On 20/07/2012 07:04, areslp wrote:
I want to use the parallel version of dijkstra_shortest_paths, here is my code, it works very well with the sequential version of BGL, but can not be compiled with parallel BGL.
dijkstra_shortest_paths(g_, sou, &p[0], &d[0], ...
Using pointers as property maps does not always seem to work (for me).
Maybe it will help making an iterator_property_map for the vectors p and d.
typedef std::vector
participants (2)
-
Alex Hagen-Zanker
-
areslp