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
|
Classes | |
class | TCNMQMatrix |
struct | TConvertSubGraph |
struct | TConvertSubGraph< POutGraph, PInGraph, false > |
struct | TDelSelfEdges |
struct | TDelSelfEdges< PGraph, true > |
struct | TGetSubGraph |
struct | TGetSubGraph< PGraph, false > |
Functions | |
double | CalcEffDiam (const TIntFltKdV &DistNbrsCdfV, const double &Percentile=0.9) |
Helper function for computing a given Percentile of a (unnormalized) cumulative distribution function. More... | |
double | CalcEffDiam (const TFltPrV &DistNbrsCdfV, const double &Percentile=0.9) |
Helper function for computing a given Percentile of a (unnormalized) cumulative distribution function. More... | |
double | CalcEffDiamPdf (const TIntFltKdV &DistNbrsPdfV, const double &Percentile=0.9) |
Helper function for computing a given Percentile of a (unnormalized) probability distribution function. More... | |
double | CalcEffDiamPdf (const TFltPrV &DistNbrsPdfV, const double &Percentile=0.9) |
Helper function for computing a given Percentile of a (unnormalized) probability distribution function. More... | |
double | CalcAvgDiamPdf (const TIntFltKdV &DistNbrsPdfV) |
Helper function for computing the mean of a (unnormalized) probability distribution function. More... | |
double | CalcAvgDiamPdf (const TFltPrV &DistNbrsPdfV) |
Helper function for computing the mean of a (unnormalized) probability distribution function. More... | |
void | CmtyGirvanNewmanStep (PUNGraph &Graph, TIntV &Cmty1, TIntV &Cmty2) |
A single step of Girvan-Newman clustering procedure. More... | |
double | _GirvanNewmanGetModularity (const PUNGraph &G, const TIntH &OutDegH, const int &OrigEdges, TCnComV &CnComV) |
void | MapEquationNew2Modules (PUNGraph &Graph, TIntH &Module, TIntFltH &Qi, int a, int b) |
double | Equation (TIntFltH &PAlpha, double &SumPAlphaLogPAlpha, TIntFltH &Qi) |
bool | edgeIntersect (PNGraph &graph, TIntV &a, TIntV &b) |
int | vectorIntersect (TIntV &a, TIntV &b) |
bool | inComp (PNGraph &g1, PNGraph &Graph, TIntH &inCompCount, int id, int neigh) |
void | transitiveTransform (TIntV &a, TIntV &b) |
bool | chekIfCrossing (TIntV &a, TIntH &t, int f, int l, int TP) |
double | InfomapOnlineIncrement (PUNGraph &Graph, int n1, int n2, TIntFltH &PAlpha, double &SumPAlphaLogPAlpha, TIntFltH &Qi, TIntH &Module, int &Br) |
void | GetSphereDev (const int &Dim, TRnd &Rnd, TFltV &ValV) |
Sample random point from the surface of a Dim-dimensional unit sphere. More... | |
template<class PGraph > | |
TIntPr | GetRndEdgeNonAdjNode (const PGraph &Graph, int NId1, int NId2) |
Returns a random edge in a graph Graph where the edge does not touch nodes NId1 and NId2. More... | |
double | GetInvParticipRatEig (const TFltV &EigVec) |
void | GVizDoLayout (const TStr &GraphInFNm, TStr OutFNm, const TGVizLayout &Layout) |
Runs GraphViz layout engine over a graph saved in the file GraphInFNm with output saved to OutFNm. More... | |
TStr | GVizGetLayoutStr (const TGVizLayout &Layout) |
Generates the GraphViz command string based on the selected Layout engine. More... | |
double TSnap::TSnapDetail::_GirvanNewmanGetModularity | ( | const PUNGraph & | G, |
const TIntH & | OutDegH, | ||
const int & | OrigEdges, | ||
TCnComV & | CnComV | ||
) |
Definition at line 37 of file cmty.cpp.
double TSnap::TSnapDetail::CalcAvgDiamPdf | ( | const TIntFltKdV & | DistNbrsPdfV | ) |
double TSnap::TSnapDetail::CalcAvgDiamPdf | ( | const TFltPrV & | DistNbrsPdfV | ) |
double TSnap::TSnapDetail::CalcEffDiam | ( | const TIntFltKdV & | DistNbrsCdfV, |
const double & | Percentile | ||
) |
double TSnap::TSnapDetail::CalcEffDiam | ( | const TFltPrV & | DistNbrsCdfV, |
const double & | Percentile | ||
) |
Helper function for computing a given Percentile of a (unnormalized) cumulative distribution function.
Definition at line 21 of file anf.cpp.
double TSnap::TSnapDetail::CalcEffDiamPdf | ( | const TIntFltKdV & | DistNbrsPdfV, |
const double & | Percentile | ||
) |
Helper function for computing a given Percentile of a (unnormalized) probability distribution function.
Definition at line 29 of file anf.cpp.
double TSnap::TSnapDetail::CalcEffDiamPdf | ( | const TFltPrV & | DistNbrsPdfV, |
const double & | Percentile | ||
) |
Helper function for computing a given Percentile of a (unnormalized) probability distribution function.
Definition at line 35 of file anf.cpp.
A single step of Girvan-Newman clustering procedure.
Definition at line 15 of file cmty.cpp.
Definition at line 127 of file cmty.cpp.
double TSnap::TSnapDetail::Equation | ( | TIntFltH & | PAlpha, |
double & | SumPAlphaLogPAlpha, | ||
TIntFltH & | Qi | ||
) |
double TSnap::TSnapDetail::GetInvParticipRatEig | ( | const TFltV & | EigVec | ) |
TIntPr TSnap::TSnapDetail::GetRndEdgeNonAdjNode | ( | const PGraph & | Graph, |
int | NId1, | ||
int | NId2 | ||
) |
void TSnap::TSnapDetail::GVizDoLayout | ( | const TStr & | GraphInFNm, |
TStr | OutFNm, | ||
const TGVizLayout & | Layout | ||
) |
Runs GraphViz layout engine over a graph saved in the file GraphInFNm with output saved to OutFNm.
Definition at line 5 of file gviz.cpp.
TStr TSnap::TSnapDetail::GVizGetLayoutStr | ( | const TGVizLayout & | Layout | ) |
bool TSnap::TSnapDetail::inComp | ( | PNGraph & | g1, |
PNGraph & | Graph, | ||
TIntH & | inCompCount, | ||
int | id, | ||
int | neigh | ||
) |
Definition at line 150 of file cmty.cpp.
double TSnap::TSnapDetail::InfomapOnlineIncrement | ( | PUNGraph & | Graph, |
int | n1, | ||
int | n2, | ||
TIntFltH & | PAlpha, | ||
double & | SumPAlphaLogPAlpha, | ||
TIntFltH & | Qi, | ||
TIntH & | Module, | ||
int & | Br | ||
) |
Definition at line 214 of file cmty.cpp.
void TSnap::TSnapDetail::MapEquationNew2Modules | ( | PUNGraph & | Graph, |
TIntH & | Module, | ||
TIntFltH & | Qi, | ||
int | a, | ||
int | b | ||
) |
Definition at line 54 of file cmty.cpp.