1 #ifndef GRAPH_ANALYSIS_LEMON_DIRECTED_SUB_GRAPH_HPP 2 #define GRAPH_ANALYSIS_LEMON_DIRECTED_SUB_GRAPH_HPP 4 #include "../SubGraphImpl.hpp" 5 #include "../Graph.hpp" 9 #include <lemon/adaptors.h> 10 #include <lemon/list_graph.h> 17 typedef ::lemon::SubDigraph< ::lemon::ListDigraph, ::lemon::ListDigraph::NodeMap<bool>, ::lemon::ListDigraph::ArcMap<bool> >
SubGraphLemon;
24 shared_ptr<DirectedGraph> mpDirectedGraph;
39 ::lemon::ListDigraph::ArcMap<bool>
mArcMap;
44 #endif // GRAPH_ANALYSIS_LEMON_DIRECTED_SUB_GRAPH_HPP Definition: DirectedSubGraph.hpp:22
::lemon::SubDigraph< ::lemon::ListDigraph, ::lemon::ListDigraph::NodeMap< bool >, ::lemon::ListDigraph::ArcMap< bool > > SubGraphLemon
Definition: DirectedSubGraph.hpp:15
::lemon::ListDigraph::ArcMap< bool > mArcMap
Definition: DirectedSubGraph.hpp:39
shared_ptr< Edge > Ptr
Definition: Edge.hpp:21
void disable(const Vertex::Ptr &vertex)
Definition: DirectedSubGraph.cpp:26
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
shared_ptr< Vertex > Ptr
Definition: Vertex.hpp:22
void enable(const Vertex::Ptr &vertex)
Definition: DirectedSubGraph.cpp:18
DirectedSubGraph(const shared_ptr< DirectedGraph > &graph)
bool enabled(const Vertex::Ptr &vertex) const
Definition: DirectedSubGraph.cpp:56
::lemon::ListDigraph::NodeMap< bool > mNodeMap
Definition: DirectedSubGraph.hpp:38
SubGraphImpl represents the subgraph implemention.
Definition: SubGraphImpl.hpp:15
Directed graph implementation based on lemon library.
Definition: DirectedGraph.hpp:18