SNAP Library 4.1, User Reference
2018-07-26 16:30:42
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Affiliation 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.