BGL: Finding a vertex by the vertex_index_t property

Hi, is there a simple possibility to find a vertex in a adjacency_list graph by the vertex_index_t property? My uninspired way would be to build a map<int, vertex_descriptor> but there might be something more elegant. Cheers, Torsten

Try this.... http://www.boost.org/libs/graph/doc/bundles.html -----Original Message----- From: Torsten Sadowski [mailto:tsadowski@gmx.net] Sent: Thursday, February 21, 2008 2:58 PM To: boost-users@lists.boost.org Subject: [Boost-users] BGL: Finding a vertex by the vertex_index_t property Hi, is there a simple possibility to find a vertex in a adjacency_list graph by the vertex_index_t property? My uninspired way would be to build a map<int, vertex_descriptor> but there might be something more elegant. Cheers, Torsten _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Ferng, Andrew D
-
Torsten Sadowski