graph_analysis
Public Member Functions | List of all members
graph_analysis::snap::DirectedSubGraph Class Reference

#include <DirectedSubGraph.hpp>

Inheritance diagram for graph_analysis::snap::DirectedSubGraph:
Inheritance graph
[legend]
Collaboration diagram for graph_analysis::snap::DirectedSubGraph:
Collaboration graph
[legend]

Public Member Functions

 DirectedSubGraph (const shared_ptr< DirectedGraph > &graph)
 
- 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
 

Additional Inherited Members

- Public Types inherited from graph_analysis::SubGraph
typedef shared_ptr< SubGraph > Ptr
 
- 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
 

Detailed Description

Since SNAP does not natively provide a subgraph implementation we have to maintain the subgraph explicitly

Constructor & Destructor Documentation

◆ DirectedSubGraph()

graph_analysis::snap::DirectedSubGraph::DirectedSubGraph ( const shared_ptr< DirectedGraph > &  graph)

The documentation for this class was generated from the following file: