Boost logo

Boost Users :

Subject: Re: [Boost-users] [BOOST USERS] [ BGL ] [GRAPH ] iterating through the vertices and edges of a filter graph
From: David Doria (daviddoria_at_[hidden])
Date: 2012-01-26 10:26:34

> Yes, you use those functions and use the filtered_iterators produced to do
> your iteration.  The special iterator type is used to return only the
> vertices and edges allowed by the filter.  Iteration is exactly the same as
> on an unfiltered graph, just with the filtered_graph's iterators and
> functions.
> -- Jeremiah Willcock


I updated the example to get a vertex_iterator at the end:


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