|
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
|
#include <ff.h>
Public Types | |
| enum | TStopReason { srUndef, srOk, srFlood, srTimeLimit } |
Public Member Functions | |
| TFfGGen (const bool &BurnExpFireP, const int &StartNNodes, const double &ForwBurnProb, const double &BackBurnProb, const double &DecayProb, const double &Take2AmbasPrb, const double &OrphanPrb) | |
| PNGraph | GetGraph () const |
| void | SetGraph (const PNGraph &NGraph) |
| void | Clr () |
| TStr | GetParamStr () const |
| TStopReason | AddNodes (const int &GraphNodes, const bool &FloodStop=true) |
| TStopReason | GenGraph (const int &GraphNodes, const bool &FloodStop=true) |
| TStopReason | GenGraph (const int &GraphNodes, PGStatVec &EvolStat, const bool &FloodStop=true) |
| void | PlotFireSize (const TStr &FNmPref, const TStr &DescStr) |
Static Public Member Functions | |
| static void | GenFFGraphs (const double &FProb, const double &BProb, const TStr &FNm) |
Static Public Attributes | |
| static int | TimeLimitSec = 30*60 |
Private Attributes | |
| PNGraph | Graph |
| TBool | BurnExpFire |
| TInt | StartNodes |
| TFlt | FwdBurnProb |
| TFlt | BckBurnProb |
| TFlt | ProbDecay |
| TFlt | Take2AmbProb |
| TFlt | OrphanProb |
Forest Fire Graph Generator. For more details is "Graph Evolution: Densification and Shrinking Diameters" by J. Leskovec, J. Kleinberg, C. Faloutsos. ACM Transactions on Knowledge Discovery from Data (TKDD), 1(1), 2007.
| enum TFfGGen::TStopReason |
| TFfGGen::TFfGGen | ( | const bool & | BurnExpFireP, |
| const int & | StartNNodes, | ||
| const double & | ForwBurnProb, | ||
| const double & | BackBurnProb, | ||
| const double & | DecayProb, | ||
| const double & | Take2AmbasPrb, | ||
| const double & | OrphanPrb | ||
| ) |
Definition at line 260 of file ff.cpp.
| TFfGGen::TStopReason TFfGGen::AddNodes | ( | const int & | GraphNodes, |
| const bool & | FloodStop = true |
||
| ) |
Definition at line 272 of file ff.cpp.
|
static |
Definition at line 358 of file ff.cpp.
| TFfGGen::TStopReason TFfGGen::GenGraph | ( | const int & | GraphNodes, |
| const bool & | FloodStop = true |
||
| ) |
Definition at line 327 of file ff.cpp.
| TFfGGen::TStopReason TFfGGen::GenGraph | ( | const int & | GraphNodes, |
| PGStatVec & | EvolStat, | ||
| const bool & | FloodStop = true |
||
| ) |
Definition at line 332 of file ff.cpp.
| TStr TFfGGen::GetParamStr | ( | ) | const |
Definition at line 267 of file ff.cpp.
Definition at line 346 of file ff.cpp.