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

#include <Strategy.hpp>

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

Public Types

typedef shared_ptr< Strategy > Ptr
 

Public Member Functions

virtual ~Strategy ()
 
virtual EventList apply (SubGraph::Ptr subgraph)
 

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ ~Strategy()

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

Member Function Documentation

◆ apply()

virtual EventList graph_analysis::percolation::Strategy::apply ( SubGraph::Ptr  subgraph)
inlinevirtual

Apply strategy to given subgraph

Returns
List of change events that have been applied to the graph

Reimplemented in graph_analysis::percolation::strategies::UniformRandomEdgeRemoval, and graph_analysis::percolation::strategies::UniformRandomVertexRemoval.


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