Go to the documentation of this file. 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
SubGraphImpl represents the subgraph implemention.
Definition: SubGraphImpl.hpp:15
DirectedSubGraph(const shared_ptr< DirectedGraph > &graph)
::lemon::ListDigraph::NodeMap< bool > mNodeMap
Definition: DirectedSubGraph.hpp:38
::lemon::ListDigraph::ArcMap< bool > mArcMap
Definition: DirectedSubGraph.hpp:39
Directed graph implementation based on lemon library.
Definition: DirectedGraph.hpp:18
::lemon::SubDigraph< ::lemon::ListDigraph, ::lemon::ListDigraph::NodeMap< bool >, ::lemon::ListDigraph::ArcMap< bool > > SubGraphLemon
Definition: DirectedSubGraph.hpp:15
void enable(const Vertex::Ptr &vertex)
Definition: DirectedSubGraph.cpp:18
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
shared_ptr< Edge > Ptr
Definition: Edge.hpp:21
Definition: DirectedSubGraph.hpp:22
void disable(const Vertex::Ptr &vertex)
Definition: DirectedSubGraph.cpp:26
shared_ptr< Vertex > Ptr
Definition: Vertex.hpp:22
bool enabled(const Vertex::Ptr &vertex) const
Definition: DirectedSubGraph.cpp:56