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@gmail.com> 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@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users