graph_analysis
EdgeIterable.hpp
Go to the documentation of this file.
1 #ifndef GRAPH_ANALYSIS_EDGE_ITERABLE_HPP
2 #define GRAPH_ANALYSIS_EDGE_ITERABLE_HPP
3 
4 #include "EdgeIterator.hpp"
5 
6 namespace graph_analysis {
7 
9 {
10 public:
11  virtual ~EdgeIterable() {}
12 
16  virtual EdgeIterator::Ptr getEdgeIterator() const { throw std::runtime_error("EdgeIterable::getEdgeIterator not implemented"); }
17 
21  virtual uint64_t getEdgeCount() const;
22 };
23 
24 } // end namespace graph_analysis
25 #endif // GRAPH_ANALYSIS_EDGE_ITERABLE_HPP
graph_analysis::EdgeIterable::~EdgeIterable
virtual ~EdgeIterable()
Definition: EdgeIterable.hpp:11
graph_analysis::EdgeIterable
Definition: EdgeIterable.hpp:8
graph_analysis
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
graph_analysis::EdgeIterable::getEdgeCount
virtual uint64_t getEdgeCount() const
Definition: EdgeIterable.cpp:5
EdgeIterator.hpp
graph_analysis::EdgeIterator::Ptr
shared_ptr< EdgeIterator > Ptr
Definition: EdgeIterator.hpp:20
graph_analysis::EdgeIterable::getEdgeIterator
virtual EdgeIterator::Ptr getEdgeIterator() const
Definition: EdgeIterable.hpp:16