SNAP Library 6.0, User Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Go to the source code of this file.
Typedefs | |
typedef TNodeEDatNet< TIntIntVFltVPrH, TFlt > | TWNet |
typedef TPt< TWNet > | PWNet |
Functions | |
void | PreprocessTransitionProbs (PWNet &InNet, const double &ParamP, const double &ParamQ, const bool &verbose) |
Preprocesses transition probabilities for random walks. Has to be called once before SimulateWalk calls. More... | |
void | SimulateWalk (PWNet &InNet, int64 StartNId, const int &WalkLen, TRnd &Rnd, TIntV &Walk) |
Simulates one walk and writes it into Walk vector. More... | |
int64 | PredictMemoryRequirements (PWNet &InNet) |
Definition at line 5 of file biasedrandomwalk.h.
typedef TNodeEDatNet<TIntIntVFltVPrH, TFlt> TWNet |
Definition at line 4 of file biasedrandomwalk.h.
Definition at line 119 of file biasedrandomwalk.cpp.
void PreprocessTransitionProbs | ( | PWNet & | InNet, |
const double & | ParamP, | ||
const double & | ParamQ, | ||
const bool & | verbose | ||
) |
Preprocesses transition probabilities for random walks. Has to be called once before SimulateWalk calls.
Definition at line 97 of file biasedrandomwalk.cpp.
Simulates one walk and writes it into Walk vector.
Definition at line 131 of file biasedrandomwalk.cpp.