SNAP Library 3.0, User Reference
2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Affiliaiton Graph Model (AGM) graph generator. More...
#include <agm.h>
Static Public Member Functions | |
static void | RndConnectInsideCommunity (PUNGraph &Graph, const TIntV &CmtyV, const double &Prob, TRnd &Rnd) |
Connect members of a given community by Erdos-Renyi. More... | |
static PUNGraph | GenAGM (TVec< TIntV > &CmtyVV, const double &DensityCoef, const double &ScaleCoef, TRnd &Rnd=TInt::Rnd) |
static PUNGraph | GenAGM (TVec< TIntV > &CmtyVV, const double &DensityCoef, const int TargetEdges, TRnd &Rnd) |
static PUNGraph | GenAGM (TVec< TIntV > &CmtyVV, const TFltV &CProbV, TRnd &Rnd, const double PNoCom=-1.0) |
Generate graph using the AGM model. CProbV = vector of Pc. More... | |
|
static |
Definition at line 37 of file agm.cpp.
|
static |
Definition at line 31 of file agm.cpp.
|
static |
Generate graph using the AGM model. CProbV = vector of Pc.
Definition at line 49 of file agm.cpp.
|
static |
Connect members of a given community by Erdos-Renyi.
Definition at line 10 of file agm.cpp.