You can use filtered_graph to filter both edges and vertexes:
filtered_graph
Hi,
In a boost graph, how can I filter vertices or edges by some attribute of Vertex/Edge Property?
I tried taking a look at FilteredGraph, but the operator function would also need to be able to call
boost::get(boost::vertex_bundle, graph_instance)[vertex] while only vertex is passed to the operator.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users