Boost logo

Boost Users :

Subject: [Boost-users] <BGL>Filter vertices/edges by vertex/edge attributes?
From: Amit Prakash Ambasta (amit.prakash.ambasta_at_[hidden])
Date: 2015-12-11 02:09:39


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 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