|
Boost Users : |
From: M. Siebeneicher (trashing_at_[hidden])
Date: 2008-07-09 06:56:33
Hello list members,
I've a little question:
Is it possible and if so, how is it possible, to randomly access a vertex or edge by its id (according to vertex_index or edge_index proprty map)?, i.e. calling 'vertices(graph)[id]'.
My problem is that I wan't to access a vertex or edge in an unique and graph lifespan-wide manner without iterate over all vertices or edges. With vertex_descriptor/edge_discriptor it's possible but only if I don't change the graph structur (not lifespan-wide).
Kind regrads,
Manuel
-- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net