[BGL] Removing vertices and internal properties

Hi, I have a graph in the form of an adjacency_list with an internal property. I'm using vecS for both vertices and edges (and I don't want to use listS). When I remove a vertex with remove_vertex(), it seems that my property map is invalidated. Can I remove the property (from the map) which corresponds to the deleted vertex ? Is there any solution ? Thanks. Fred

Hi Frédéric, Could you post a short (but complete) program showing what you are trying to do? Thanks, Jeremy On Feb 9, 2004, at 3:41 AM, Frédéric Mayot wrote:
Hi,
I have a graph in the form of an adjacency_list with an internal property. I'm using vecS for both vertices and edges (and I don't want to use listS).
When I remove a vertex with remove_vertex(), it seems that my property map is invalidated. Can I remove the property (from the map) which corresponds to the deleted vertex ? Is there any solution ?
Thanks.
Fred
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________
Jeremy Siek
participants (2)
-
Frédéric Mayot
-
Jeremy Siek