SNAP Library, User Reference
2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
|
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) |
Simulates a single Forest Fire on a undirected graph starting for a given starting node (does not densify!).
TUndirFFire::TUndirFFire | ( | const double & | _BurnProb = 0.3 | ) | [inline] |
TFfGGen::TStopReason TUndirFFire::AddNodes | ( | const int & | GraphNodes, |
const bool & | FloodStop = true |
||
) |
int TUndirFFire::BurnGeoFire | ( | const int & | StartNId | ) |
int TUndirFFire::GetBurnedNId | ( | const int & | n | ) | const [inline] |
PUNGraph TUndirFFire::GetGraph | ( | ) | const [inline] |
int TUndirFFire::GetNBurned | ( | ) | const [inline] |
void TUndirFFire::SetGraph | ( | const PUNGraph & | GraphPt | ) | [inline] |