Boost logo

Boost Users :

From: Jeff Holle (jeff.holle_at_[hidden])
Date: 2004-08-22 18:09:14


I'm using boost.graph captured from CVS on Tue Jun 29 05:25:17 EDT 2004.
The type of graph that I'm using is:
    typedef
boost::adjacency_list<boost::vecS,boost::vecS,boost::bidirectionalS> GraphT;

I need to trim vertex/edges that was moved to other graphs.
I can't seem to do this.
Calling remove_vertex appears to be a NOOP.

The last thing I tried was:
   clear_vertex(*vi);
   remove_vertex(*vi);
The gerdemann.cpp example gave me this idea.

The clear_vertex did the job that I need in that the necessary edges
disappeared.
However, the remove_vertex still does not remove the vertexs.

What do I have to do to get the ability to clear vertices?


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