Dijkstra Shortest Path with VertexList = ListS in boost graph
BGL actually has an example of using dijkstra_shortest_paths with listS/listS, but it’s not linked to from the HTML documentation: http://www.boost.org/doc/libs/release/libs/graph/example/dijkstra-example-listS.cpp What the error message is trying to tell you (error: no match for ‘operator=’ in ‘index.boost::adj_list_vertex_property_map…ValueType = boost::detail::error_property_not_found…) is that there is no per-vertex storage for the vertex_index_t property, which is what adj_list_vertex_property_map needs. To … Read more