I have a Boost Graph with VertexList = vecS.
typedef adjacency_list <listS, vecS, undirectedS, TrackInformation, LinkInformation> TracksConnectionGraph;
Now I want to iterate over my vertices and remove those that have a specific property. How can i do this?
The problem is that whenever I call remove_vertex, the iterator to the vertices in the graph along with the vertex descriptors is invalid.
source
share