1 #ifndef GRAPH_ANALYSIS_PERCOLATION_STRATEGY_HPP 2 #define GRAPH_ANALYSIS_PERCOLATION_STRATEGY_HPP 4 #include "../SharedPtr.hpp" 5 #include "../SubGraph.hpp" 14 typedef shared_ptr<Strategy>
Ptr;
22 virtual EventList apply(
SubGraph::Ptr subgraph) {
throw std::runtime_error(
"graph_analysis::percolation::Strategy::apply has not been implemented"); }
27 #endif // GRAPH_ANALYSIS_PERCOLATION_STRATEGY_HPP virtual EventList apply(SubGraph::Ptr subgraph)
Definition: Strategy.hpp:22
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
Definition: Strategy.hpp:11
shared_ptr< Strategy > Ptr
Definition: Strategy.hpp:14
Percolation deals with a changing graph, i.e., nodes and edges that disappear from the graph...
shared_ptr< SubGraph > Ptr
Definition: SubGraph.hpp:52
std::vector< Event > EventList
Definition: Event.hpp:23
virtual ~Strategy()
Definition: Strategy.hpp:16