Boost logo

Boost Users :

Subject: Re: [Boost-users] [BOOST USERS] [ BGL ] [GRAPH ] iterating through the vertices and edges of a filter graph
From: srinivas boppu (srinivas.fau_at_[hidden])
Date: 2012-01-26 11:27:41


Thank you all !!
It works and I understood the mistake I was making after looking at the
example.

Regards,
Srinivas Boppu

On Thu, Jan 26, 2012 at 4:26 PM, David Doria <daviddoria_at_[hidden]> wrote:

> > 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
>
> Srinivas,
>
> I updated the example to get a vertex_iterator at the end:
>
> http://programmingexamples.net/wiki/CPP/Boost/BGL/FilteredGraphVertices
>
> David
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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