Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2005-07-22 16:02:46

Doug Gregor <dgregor_at_[hidden]> writes:

> Yes, we can definitely provide a clear_all_edges() function. We can't
> change the default trade-off that favors smaller memory consumption
> over efficiency of edge removal, but we might be able to devise a way
> to tell adjacency_list to favor insert/removal performance over memory
> consumption.

Maybe a fast answer would be to copy just the vertices to a new graph?
Just a thought.

Dave Abrahams
Boost Consulting

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at