SNAP Library, Developer Reference  2012-10-15 15:06:59
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
ggen.cpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TSnap
 Main namespace for all the Snap global entities.
namespace  TSnap::TSnapDetail

Functions

PBPGraph TSnap::GenRndBipart (const int &LeftNodes, const int &RightNodes, const int &Edges, TRnd &Rnd=TInt::Rnd)
 Generates a random bipartite graph.
PUNGraph TSnap::GenRndDegK (const int &Nodes, const int &NodeDeg, const int &NSwitch=100, TRnd &Rnd=TInt::Rnd)
 Generates a random graph where each node has degree exactly NodeDeg.
PUNGraph TSnap::GenRndPowerLaw (const int &Nodes, const double &PowerExp, const bool &ConfModel, TRnd &Rnd)
PUNGraph TSnap::GenDegSeq (const TIntV &DegSeqV, TRnd &Rnd)
PUNGraph TSnap::GenConfModel (const TIntV &DegSeqV, TRnd &Rnd)
PUNGraph TSnap::GenRewire (const PUNGraph &OrigGraph, const int &NSwitch, TRnd &Rnd)
PUNGraph TSnap::GenPrefAttach (const int &Nodes, const int &NodeOutDeg, TRnd &Rnd)
void TSnap::TSnapDetail::GetSphereDev (const int &Dim, TRnd &Rnd, TFltV &ValV)
 Sample random point from the surface of a Dim-dimensional unit sphere.
PUNGraph TSnap::GenGeoPrefAttach (const int &Nodes, const int &OutDeg, const double &Beta, TRnd &Rnd)
PUNGraph TSnap::GenSmallWorld (const int &Nodes, const int &NodeOutDeg, const double &RewireProb, TRnd &Rnd)
PNGraph TSnap::GenForestFire (const int &Nodes, const double &FwdProb, const double &BckProb)
PNGraph TSnap::GenCopyModel (const int &Nodes, const double &Beta, TRnd &Rnd)
PNGraph TSnap::GenRMat (const int &Nodes, const int &Edges, const double &A, const double &B, const double &C, TRnd &Rnd)
PNGraph TSnap::GenRMatEpinions ()