SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <ncp.h>
Public Member Functions | |
TCutInfo () | |
TCutInfo (const int &ClustNodes, const int &EdgesInside, const int &CutSize) | |
TCutInfo (const int &ClustNodes, const int &EdgesInside, const int &CutSize, const TIntV &NIdV) | |
TCutInfo (const PUNGraph &G, const TIntV &ClustNIdV, bool TakeNIdV=false) | |
TCutInfo (const TCutInfo &CS) | |
int | GetNodes () const |
int | GetEdges () const |
int | GetVol () const |
int | GetCutSz () const |
double | GetPhi () const |
double | GetExpansion () const |
double | GetIntDens () const |
double | GetCutRatio (const int &GNodes) const |
double | GetNormCut (const int &GEdges) const |
double | GetFracDegOut (const PUNGraph &Graph, double &MxFrac, double &AvgFrac, double &MedianFrac, double &Pct9Frac, double &Flake) const |
double | GetModular (const int &GEdges) const |
double | GetModRat (const int &GEdges) const |
double | GetExpEdgesIn (const int &GEdges) const |
bool | operator< (const TCutInfo &CS) const |
Public Attributes | |
TInt | Nodes |
TInt | Edges |
TInt | CutSz |
TIntV | CutNIdV |
|
inline |
|
inline |
|
inline |
Definition at line 156 of file ncp.h.
References TSnap::GetEdgesInOut(), and TInt::Val.
|
inline |
|
inline |
Definition at line 167 of file ncp.h.
Referenced by TLocClustStat::SaveTxtInfo().
|
inline |
Definition at line 162 of file ncp.h.
References CutSz.
Referenced by TLocClustStat::AddToBestCutH(), TLocClustStat::FindBestCut(), and TLocClustStat::PlotPhiInOut().
|
inline |
Definition at line 160 of file ncp.h.
References Edges.
Referenced by TLocClustStat::AddToBestCutH(), and TLocClustStat::PlotPhiInOut().
|
inline |
Definition at line 165 of file ncp.h.
Referenced by TLocClustStat::SaveTxtInfo().
|
inline |
Definition at line 172 of file ncp.h.
References TMath::Sqr().
Referenced by GetModRat(), GetModular(), and TLocClustStat::SaveTxtInfo().
double TLocClustStat::TCutInfo::GetFracDegOut | ( | const PUNGraph & | Graph, |
double & | MxFrac, | ||
double & | AvgFrac, | ||
double & | MedianFrac, | ||
double & | Pct9Frac, | ||
double & | Flake | ||
) | const |
Definition at line 245 of file ncp.cpp.
References TMom::Add(), THashSet< TKey, THashFunc >::AddKey(), CutNIdV, TMom::Def(), TVec< TVal, TSizeTy >::Empty(), TMom::GetDecile(), TUNGraph::TNodeI::GetDeg(), TMom::GetMean(), TMom::GetMedian(), TMom::GetMx(), TUNGraph::TNodeI::GetNbrNId(), TUNGraph::GetNI(), IAssert, TVec< TVal, TSizeTy >::Len(), and Nodes.
Referenced by TLocClustStat::SaveTxtInfo().
|
inline |
|
inline |
Definition at line 171 of file ncp.h.
References GetExpEdgesIn().
Referenced by TLocClustStat::SaveTxtInfo().
|
inline |
Definition at line 170 of file ncp.h.
References GetExpEdgesIn().
Referenced by TLocClustStat::AddToBestCutH(), and TLocClustStat::SaveTxtInfo().
|
inline |
Definition at line 159 of file ncp.h.
References Nodes.
Referenced by TLocClustStat::AddToBestCutH(), TLocClustStat::FindBestCut(), and TLocClustStat::PlotPhiInOut().
|
inline |
Definition at line 168 of file ncp.h.
References GetPhi(), and GetVol().
Referenced by TLocClustStat::SaveTxtInfo().
|
inline |
Definition at line 164 of file ncp.h.
Referenced by TLocClustStat::AddToBestCutH(), TLocClustStat::FindBestCut(), GetNormCut(), operator<(), TLocClustStat::PlotPhiInOut(), and TLocClustStat::SaveTxtInfo().
|
inline |
Definition at line 161 of file ncp.h.
References CutSz.
Referenced by TLocClustStat::FindBestCut(), GetNormCut(), and TLocClustStat::PlotPhiInOut().
|
inline |
TIntV TLocClustStat::TCutInfo::CutNIdV |
Definition at line 150 of file ncp.h.
Referenced by TLocClustStat::FindBestCut(), GetFracDegOut(), TLocClustStat::PlotPhiInOut(), and TLocClustStat::Run().
TInt TLocClustStat::TCutInfo::CutSz |
Definition at line 149 of file ncp.h.
Referenced by GetCutSz(), GetVol(), TLocClustStat::Run(), and TLocClustStat::SaveTxtInfo().
TInt TLocClustStat::TCutInfo::Edges |
Definition at line 149 of file ncp.h.
Referenced by GetEdges(), TLocClustStat::Run(), and TLocClustStat::SaveTxtInfo().
TInt TLocClustStat::TCutInfo::Nodes |
Definition at line 149 of file ncp.h.
Referenced by GetFracDegOut(), GetNodes(), and TLocClustStat::SaveTxtInfo().