boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, std::shared_ptr< WorkGraphNode >, std::shared_ptr< WorkGraphEdge > > Graph
Define a directed graph type.
Graph const & graph
This graph stores the vertices.
NodeNameFinder(std::string const &name, Graph const &graph)
const std::string name
We are looking for vertices with this name.
bool operator()(boost::graph_traits< Graph >::vertex_descriptor vertex) const
Does a given vertex have the same name as the given name.