1 #ifndef GRAPH_ANALYSIS_ALGORITHMS_HPP 2 #define GRAPH_ANALYSIS_ALGORITHMS_HPP 27 virtual shared_ptr<SubGraph>
identifyConnectedComponents(
const shared_ptr<BaseGraph>& baseGraph)
const { (void) baseGraph;
throw std::runtime_error(
"graph_analysis::Algorithms::identifyConnectedComponents has not been implemented"); }
32 virtual bool isConnected()
const {
throw std::runtime_error(
"graph_analysis::Algorithms::isConnected has not been implemented"); }
36 #endif // GRAPH_ANALYSIS_ALGORITHMS_HPP Interface definition for a collection of standard algorithms.
Definition: Algorithms.hpp:14
virtual bool isConnected() const
Definition: Algorithms.hpp:32
virtual shared_ptr< SubGraph > identifyConnectedComponents(const shared_ptr< BaseGraph > &baseGraph) const
Definition: Algorithms.hpp:27
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
virtual ~Algorithms()
Definition: Algorithms.hpp:17