Boost logo

Boost Users :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2006-03-02 14:42:20


On Mar 1, 2006, at 6:33 PM, Sean Kelly wrote:
> I have observed the following behavior using the remove_edge function
> and am curious if anyone else has seen this.
>
> remove_edge(edge_descriptor, graph) // occasionally fails in a
> seemingly
> indeterminant way
>
> remove_edge(source(edge_descriptor, graph),
> target(edge_descriptor, graph),
> graph) // works fine

It sounds like either the edge_descriptor is getting invalidated or
there is a bug somewhere in remove_edge.

> The adjacency list I am using is listS listS, and this is not an issue
> with invalid edge_iterators, i.e. I collect all the edge_descriptors to
> be removed before removing them.

Are you sure that there are no duplicate edge descriptors?

> I can provide more detailed info upon request.

We won't be able to help without more detailed information.

        Doug


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