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
www.boost-consulting.com

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