9 Jul
2008
9 Jul
'08
6:58 p.m.
On Wed, Jul 9, 2008 at 6:25 PM, M. Siebeneicher
typedef adjacency_list
BGL_Graph; // Vertex is a bundled property BGL_Graph g(...) typedef boost::property_map
::type VertexIndexMap; VertexIndexMap vertex_id = boost::get(boost::vertex_index, g);
vertex_index is a property included in vecS but not in listS container. You have to provide your own vertex_index map. This is a classical error, and you can find a solution in this mailing list archives... -- Johan