Go to the documentation of this file. 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 ~Strategy()
Definition: Strategy.hpp:16
std::vector< Event > EventList
Definition: Event.hpp:23
Definition: Strategy.hpp:11
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
Percolation deals with a changing graph, i.e., nodes and edges that disappear from the graph.
shared_ptr< Strategy > Ptr
Definition: Strategy.hpp:14
shared_ptr< SubGraph > Ptr
Definition: SubGraph.hpp:52
virtual EventList apply(SubGraph::Ptr subgraph)
Definition: Strategy.hpp:22