I was hoping if there is any other way to use boost::filtered_graph () without the print_edges() or print_graph() functions.
in the link here, it seems that the filter works on every node only when the print graph or print edge function is called.
I do understand that the predicate acts on every node or edge of the graph when it is getting printed to std::cout
Is there any other way, I could use it ? could I use may be for_each( begin_iter, end_iter ) or something like that? please suggest.