graph_analysis
Public Member Functions | List of all members
graph_analysis::percolation::Percolation Class Reference

#include <Percolation.hpp>

Inheritance diagram for graph_analysis::percolation::Percolation:
Inheritance graph
[legend]

Public Member Functions

 Percolation (BaseGraph::Ptr graph)
 
virtual ~Percolation ()
 
void reset ()
 
EventList apply (Strategy::Ptr strategy)
 
SubGraph::Ptr getSubGraph ()
 

Constructor & Destructor Documentation

◆ Percolation()

graph_analysis::percolation::Percolation::Percolation ( BaseGraph::Ptr  graph)

◆ ~Percolation()

virtual graph_analysis::percolation::Percolation::~Percolation ( )
inlinevirtual

Member Function Documentation

◆ apply()

EventList graph_analysis::percolation::Percolation::apply ( Strategy::Ptr  strategy)

Apply a strategy for percolation, i.e., simulating the removal of nodes

Returns
the current subgraph

◆ getSubGraph()

SubGraph::Ptr graph_analysis::percolation::Percolation::getSubGraph ( )
inline

Get the current subgraph

Returns
subgraph

◆ reset()

void graph_analysis::percolation::Percolation::reset ( )

Reset the percolation state of the graph


The documentation for this class was generated from the following files: