Boost logo

Boost :

Subject: Re: [boost] [bgl] Reconnecting an edge
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-04-01 09:48:53


On Tue, 23 Mar 2010, Matthias Walter wrote:

> Hi!
>
> Is there any way to reconnect an edge in a graph? I'm interested in
> doing so while retaining a property map. Thus remove_edge and add_edge
> are not a solution, I think. If not, may it worth to add such a concept?

I do not believe there is a way to do that other than by messing with
internal data structures. Is copying the properties over too slow for
what you're doing? If the properties are large/slow to copy, would having
a shared_ptr as the property stored in the graph help?

-- Jeremiah Willcock


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk