|
graph_analysis
|
#include <DirectedSubGraph.hpp>


Public Member Functions | |
| DirectedSubGraph (const shared_ptr< DirectedGraph > &graph) | |
| void | enable (const Vertex::Ptr &vertex) |
| void | disable (const Vertex::Ptr &vertex) |
| void | enable (const Edge::Ptr &edge) |
| void | disable (const Edge::Ptr &edge) |
| bool | enabled (const Vertex::Ptr &vertex) const |
| bool | enabled (const Edge::Ptr &vertex) const |
Public Member Functions inherited from graph_analysis::SubGraphImpl< SubGraphLemon > | |
| SubGraphImpl (shared_ptr< BaseGraph > graph) | |
| virtual | ~SubGraphImpl () |
| graph_t & | raw () |
| const graph_t & | raw () const |
Public Member Functions inherited from graph_analysis::SubGraph | |
| SubGraph (const shared_ptr< BaseGraph > &graph) | |
| virtual | ~SubGraph () |
| bool | disabled (const Vertex::Ptr &vertex) const |
| bool | disabled (const Edge::Ptr &edge) const |
| void | enableAllVertices () |
| void | enableAllEdges () |
| void | disableAllVertices () |
| void | disableAllEdges () |
| void | applyFilters (const Filter< Vertex::Ptr >::Ptr &vertexFilter, const Filter< Edge::Ptr >::Ptr &edgeFilter) |
| virtual shared_ptr< BaseGraph > | toBaseGraph () const |
| virtual VertexIterator::Ptr | getVertexIterator () const |
| virtual EdgeIterator::Ptr | getEdgeIterator () const |
| virtual EdgeIterator::Ptr | getEdgeIterator (const Vertex::Ptr &vertex) const |
| shared_ptr< BaseGraph > | getBaseGraph () const |
Public Member Functions inherited from graph_analysis::VertexIterable | |
| virtual | ~VertexIterable () |
| virtual uint64_t | getVertexCount () const |
Public Member Functions inherited from graph_analysis::EdgeIterable | |
| virtual | ~EdgeIterable () |
| virtual uint64_t | getEdgeCount () const |
Public Attributes | |
| ::lemon::ListDigraph::NodeMap< bool > | mNodeMap |
| ::lemon::ListDigraph::ArcMap< bool > | mArcMap |
Additional Inherited Members | |
Public Types inherited from graph_analysis::SubGraphImpl< SubGraphLemon > | |
| typedef SubGraphLemon | graph_t |
Public Types inherited from graph_analysis::SubGraph | |
| typedef shared_ptr< SubGraph > | Ptr |
Protected Member Functions inherited from graph_analysis::SubGraphImpl< SubGraphLemon > | |
| void | setSubgraph (graph_t *subgraph) |
Protected Attributes inherited from graph_analysis::SubGraphImpl< SubGraphLemon > | |
| shared_ptr< graph_t > | mpSubgraph |
Protected Attributes inherited from graph_analysis::SubGraph | |
| shared_ptr< BaseGraph > | mpBaseGraph |
| Ptr which refers to the original (super) graph. More... | |
| std::set< GraphElementId > | mDisabledVertices |
| std::set< GraphElementId > | mDisabledEdges |
A subgraph that provides a subset of an existing graph
| graph_analysis::lemon::DirectedSubGraph::DirectedSubGraph | ( | const shared_ptr< DirectedGraph > & | graph | ) |
|
virtual |
Disable the given edge
| edge | Edge that is part of the underlying main graph and should not be part of the subgraph |
Reimplemented from graph_analysis::SubGraph.
|
virtual |
Disable the given vertex
| vertex | Vertex that is part of the underlying main graph and should not(!) be part of the subgraph |
Reimplemented from graph_analysis::SubGraph.
|
virtual |
Enable the given edge
| edge | Edge that is part of the underlying main graph and should be part of the subgraph |
Reimplemented from graph_analysis::SubGraph.
|
virtual |
Enable the given vertex
| vertex | Vertex that is part of the underlying main graph and should also be part of the subgraph |
Reimplemented from graph_analysis::SubGraph.
|
virtual |
Test if an edge is enabled
Reimplemented from graph_analysis::SubGraph.
|
virtual |
Test if a vertex is enabled
Reimplemented from graph_analysis::SubGraph.
| ::lemon::ListDigraph::ArcMap<bool> graph_analysis::lemon::DirectedSubGraph::mArcMap |
| ::lemon::ListDigraph::NodeMap<bool> graph_analysis::lemon::DirectedSubGraph::mNodeMap |
1.8.17