|
SNAP Library 2.4, User Reference
2015-05-11 19:40:56
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Simulates a single Forest Fire on a undirected graph starting for a given starting node (does not densify!). More...
#include <ff.h>
Public Member Functions | |
| TUndirFFire (const double &_BurnProb=0.3) | |
| void | SetGraph (const PUNGraph &GraphPt) |
| PUNGraph | GetGraph () const |
| int | GetNBurned () const |
| int | GetBurnedNId (const int &n) const |
| int | BurnGeoFire (const int &StartNId) |
| TFfGGen::TStopReason | AddNodes (const int &GraphNodes, const bool &FloodStop=true) |
Private Attributes | |
| TRnd | Rnd |
| PUNGraph | Graph |
| double | BurnProb |
| TIntSet | BurnedSet |
| TIntV | BurningNIdV |
| TIntV | NewBurnedNIdV |
| TIntV | AliveNIdV |
Simulates a single Forest Fire on a undirected graph starting for a given starting node (does not densify!).
|
inline |
Definition at line 140 of file ff.h.
| TFfGGen::TStopReason TUndirFFire::AddNodes | ( | const int & | GraphNodes, |
| const bool & | FloodStop = true |
||
| ) |
Definition at line 784 of file ff.cpp.
| int TUndirFFire::BurnGeoFire | ( | const int & | StartNId | ) |
Definition at line 745 of file ff.cpp.