|
SNAP Library 2.3, User Reference
2014-06-16 11:58:46
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) |
| TIntFltH | MapEquationNew2Modules (PUNGraph &Graph, TIntH &Module, TIntFltH &Qi, int a, int b) |
| float | Equation (PUNGraph &Graph, TIntFltH &PAlpha, float &SumPAlphaLogPAlpha, TIntFltH &Qi) |
| 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 36 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 14 of file cmty.cpp.
| float TSnap::TSnapDetail::Equation | ( | PUNGraph & | Graph, |
| TIntFltH & | PAlpha, | ||
| float & | 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 | ) |
| TIntFltH TSnap::TSnapDetail::MapEquationNew2Modules | ( | PUNGraph & | Graph, |
| TIntH & | Module, | ||
| TIntFltH & | Qi, | ||
| int | a, | ||
| int | b | ||
| ) |
Definition at line 53 of file cmty.cpp.