On Nov 15, 2005, at 12:53 PM, Daniel Mitchell wrote:
I work with very large implicit graphs that use out-of-core storage for properties, including the vertex color property,
Very cool.
but the following bit of code in dijkstra_shortest_paths_no_init (boost-1.33.0) seems to preclude the use of a custom color map.
std::vector
color(num_vertices(g)); default_color_type c = white_color; breadth_first_visit(g, s, Q, bfs_vis, make_iterator_property_map(&color[0], index_map, c)); What is the rationale for the above code, and how should I work around it?
Well, I'd say that's a bug in dijkstra_shortest_paths_no_init, which
should have a ColorMap template parameter. The best way to fix this
would be to add a ColorMap parameter at the end, e.g., to turn
dijkstra_shortest_paths_no_init into:
template