graph_analysis
EdgePercolation.hpp
Go to the documentation of this file.
1 #ifndef GRAPH_ANALYSIS_PRECOLATION_EDGE_PERCOLATION_HPP
2 #define GRAPH_ANALYSIS_PRECOLATION_EDGE_PERCOLATION_HPP
3 
4 namespace graph_analysis {
5 namespace percolation {
6 
12 {
13 public:
14  EdgePercolation(DirectedGraph* graph);
15 
19  virtual void markAsOccupied(Edge::Ptr edge);
20 
24  virtual void markAsNotOccupied(Edge::Ptr edge);
25 
26 };
27 
28 // Nomenclature according to: "Networks - An Introduction, M.E.J.Newton, p.593"
30 
31 } // end namespace percolation
32 } // end namespace graph_analysis
33 #endif // GRAPH_ANALYSIS_PRECOLATION_EDGE_PERCOLATION_HPP
virtual void markAsNotOccupied(Edge::Ptr edge)
shared_ptr< Edge > Ptr
Definition: Edge.hpp:21
EdgePercolation BondPercolation
Definition: EdgePercolation.hpp:29
Class to simulate edge percolation on a graph.
Definition: EdgePercolation.hpp:11
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
Definition: Percolation.hpp:17
EdgePercolation(DirectedGraph *graph)
Definition: EdgePercolation.cpp:6
Percolation deals with a changing graph, i.e., nodes and edges that disappear from the graph...
virtual void markAsOccupied(Edge::Ptr edge)