|
graph_analysis
|
SubGraphImpl represents the subgraph implemention. More...
#include <SubGraphImpl.hpp>


Public Types | |
| typedef SubGraphType | graph_t |
Public Types inherited from graph_analysis::SubGraph | |
| typedef shared_ptr< SubGraph > | Ptr |
Public Member Functions | |
| 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 () |
| virtual void | enable (const Vertex::Ptr &vertex) |
| virtual void | disable (const Vertex::Ptr &vertex) |
| virtual void | enable (const Edge::Ptr &edge) |
| virtual void | disable (const Edge::Ptr &edge) |
| virtual bool | enabled (const Vertex::Ptr &vertex) const |
| virtual bool | enabled (const Edge::Ptr &edge) const |
| 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 |
Protected Member Functions | |
| void | setSubgraph (graph_t *subgraph) |
Protected Attributes | |
| 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 |
SubGraphImpl represents the subgraph implemention.
| SubGraphType | the underlying subgraph type |
| typedef SubGraphType graph_analysis::SubGraphImpl< SubGraphType >::graph_t |
|
inline |
This default Constructor will not(!) initialize the underlying subgraph type, but only the given filters. Make sure that any class inheriting from this one properly initializes the subgraph, i.e. using setSubgraph
Ownership of all objects, i.e. filters and graph is transferred to this class, which internally uses shared pointer to guarantee cleanup when necessary
Classes that inherit from TypedSubGraph need to explicitly call setSubgraph to link to the underlying SubGraph implementation
|
inlinevirtual |
|
inline |
Retrieve the raw subgraph type. Use with care since this object's memory might be deallocated if you release your main object
|
inline |
|
inlineprotected |
Set the subgraph Method to allow application of implementation specific subgraph constructors
| subgraph | pointer to subgraph |
|
protected |
1.8.13