Boost logo

Boost Users :

Subject: [Boost-users] [BGL] Updating the source vertex of an edge in-place
From: Daniel Trebbien (dtrebbien_at_[hidden])
Date: 2010-08-20 20:11:51


I need to be able to update the source vertex of an edge in-place. The
only option that I see is to remove the edge with `remove_edge` and
then add a new edge with `add_edge`. The problem, however, is that I
think this will mess up a property map of an edge property if it
cannot expand to map a new value for the newly-added edge. Thus, I
would like to update the edge in-place.

How do I do this?


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