Go to the documentation of this file. 1 #ifndef GRAPH_ANALYSIS_SUB_GRAPH_HPP
2 #define GRAPH_ANALYSIS_SUB_GRAPH_HPP
48 SubGraph(
const shared_ptr<BaseGraph>& graph);
52 typedef shared_ptr<SubGraph>
Ptr;
162 #endif // GRAPH_ANALYSIS_SUB_GRAPH_HPP
virtual EdgeIterator::Ptr getEdgeIterator() const
Definition: SubGraph.cpp:181
virtual void disable(const Vertex::Ptr &vertex)
Definition: SubGraph.cpp:109
Definition: VertexIterable.hpp:8
bool disabled(const Vertex::Ptr &vertex) const
Definition: SubGraph.hpp:98
Definition: EdgeIterable.hpp:8
void disableAllEdges()
Definition: SubGraph.cpp:164
shared_ptr< FilterType > Ptr
Definition: Filter.hpp:59
virtual ~SubGraph()
Definition: SubGraph.hpp:50
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
SubGraph(const shared_ptr< BaseGraph > &graph)
Definition: SubGraph.cpp:10
shared_ptr< Edge > Ptr
Definition: Edge.hpp:21
shared_ptr< BaseGraph > mpBaseGraph
Ptr which refers to the original (super) graph.
Definition: SubGraph.hpp:36
void applyFilters(const Filter< Vertex::Ptr >::Ptr &vertexFilter, const Filter< Edge::Ptr >::Ptr &edgeFilter)
Definition: SubGraph.cpp:18
std::set< GraphElementId > mDisabledEdges
Definition: SubGraph.hpp:39
A subgraph represent a particular filtered 'view' on a BaseGraph.
Definition: SubGraph.hpp:32
virtual shared_ptr< BaseGraph > toBaseGraph() const
Definition: SubGraph.cpp:65
virtual VertexIterator::Ptr getVertexIterator() const
Definition: SubGraph.cpp:170
shared_ptr< Vertex > Ptr
Definition: Vertex.hpp:22
void disableAllVertices()
Definition: SubGraph.cpp:158
void enableAllVertices()
Definition: SubGraph.cpp:146
std::set< GraphElementId > mDisabledVertices
Definition: SubGraph.hpp:38
virtual bool enabled(const Vertex::Ptr &vertex) const
Definition: SubGraph.cpp:130
virtual void enable(const Vertex::Ptr &vertex)
Definition: SubGraph.cpp:98
shared_ptr< BaseGraph > getBaseGraph() const
Definition: SubGraph.cpp:92
shared_ptr< SubGraph > Ptr
Definition: SubGraph.hpp:52
void enableAllEdges()
Definition: SubGraph.cpp:152
shared_ptr< EdgeIterator > Ptr
Definition: EdgeIterator.hpp:20
shared_ptr< VertexIterator > Ptr
Definition: VertexIterator.hpp:21
bool disabled(const Edge::Ptr &edge) const
Definition: SubGraph.hpp:104