26 Jan
2012
26 Jan
'12
3:26 p.m.
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