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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
centr.h File Reference

Go to the source code of this file.

Namespaces

 TSnap
 Main namespace for all the Snap global entities.
 

Functions

double TSnap::GetDegreeCentr (const PUNGraph &Graph, const int &NId)
 
double TSnap::GetGroupDegreeCentr (const PUNGraph &Graph, const TIntH &GroupNodes)
 
double TSnap::GetGroupClosenessCentr (const PUNGraph &Graph, const TIntH &GroupNodes)
 
TIntH TSnap::MaxCPGreedyBetter (const PUNGraph &Graph, const int k)
 Returns centrality Maximum k group. More...
 
TIntH TSnap::MaxCPGreedyBetter1 (const PUNGraph &Graph, const int k)
 Returns centrality Maximum k group. More...
 
TIntH TSnap::MaxCPGreedyBetter2 (const PUNGraph &Graph, const int k)
 Returns centrality Maximum k group. More...
 
TIntH TSnap::MaxCPGreedyBetter3 (const PUNGraph &Graph, const int k)
 Returns centrality Maximum k group. More...
 
TIntFltH TSnap::EventImportance (const PNGraph &Graph, const int k)
 Event importance. More...
 
int TSnap::Intersect (TUNGraph::TNodeI Node, TIntH NNodes)
 Intersect. More...
 
int TSnap::Intersect (TUNGraph::TNodeI Node, TStr NNodes)
 Intersect. More...
 
int TSnap::Intersect (TUNGraph::TNodeI Node, int *NNodes, int NNodes_br)
 Intersect. More...
 
int TSnap::Intersect1 (TUNGraph::TNodeI Node, TStr NNodes)
 
TIntH TSnap::LoadNodeList (TStr InFNmNodes)
 
template<class PGraph >
double TSnap::GetFarnessCentr (const PGraph &Graph, const int &NId, const bool &IsDir, const bool &Normalized=true)
 
template<class PGraph >
double TSnap::GetFarnessCentrMP (const PGraph &Graph, const int &NId, const bool &IsDir, const bool &Normalized=true)
 
double TSnap::GetWeightedFarnessCentr (const PNEANet Graph, const int &NId, const bool &IsDir, const TFltV &Attr, const bool &Normalized)
 
template<class PGraph >
double TSnap::GetClosenessCentr (const PGraph &Graph, const int &NId, const bool &IsDir, const bool &Normalized=true)
 
template<class PGraph >
double TSnap::GetClosenessCentrMP (const PGraph &Graph, const int &NId, const bool &IsDir, const bool &Normalized=true)
 
double TSnap::GetWeightedClosenessCentr (const PNEANet Graph, const int &NId, const bool &IsDir, const TFltV &Attr, const bool &Normalized)
 
template<class PGraph >
int TSnap::GetNodeEcc (const PGraph &Graph, const int &NId, const bool &IsDir=false)
 
template<class PGraph >
void TSnap::GetBetweennessCentr (const PGraph &Graph, TIntFltH &NIdBtwH, const bool &IsDir=false, const double &NodeFrac=1.0)
 
void TSnap::GetWeightedBetweennessCentr (const PNEANet Graph, TIntFltH &NodeBtwH, const TFltV &Attr, const bool &IsDir, const double &NodeFrac)
 
template<class PGraph >
void TSnap::GetBetweennessCentr (const PGraph &Graph, TIntPrFltH &EdgeBtwH, const bool &IsDir=false, const double &NodeFrac=1.0)
 
void TSnap::GetWeightedBetweennessCentr (const PNEANet Graph, TIntPrFltH &EdgeBtwH, const TFltV &Attr, const bool &IsDir, const double &NodeFrac)
 
template<class PGraph >
void TSnap::GetBetweennessCentr (const PGraph &Graph, TIntFltH &NIdBtwH, TIntPrFltH &EdgeBtwH, const bool &IsDir=false, const double &NodeFrac=1.0)
 
void TSnap::GetWeightedBetweennessCentr (const PNEANet Graph, TIntFltH &NodeBtwH, TIntPrFltH &EdgeBtwH, const TFltV &Attr, const bool &IsDir, const double &NodeFrac)
 
template<class PGraph >
void TSnap::GetBetweennessCentr (const PGraph &Graph, const TIntV &BtwNIdV, TIntFltH &NodeBtwH, const bool &IsDir, const bool &DoNodeCent, TIntPrFltH &EdgeBtwH, const bool &DoEdgeCent)
 
void TSnap::GetWeightedBetweennessCentr (const PNEANet Graph, const TIntV &BtwNIdV, TIntFltH &NodeBtwH, const bool &IsDir, const bool &DoNodeCent, TIntPrFltH &EdgeBtwH, const bool &DoEdgeCent, const TFltV &Attr)
 Computes (approximate) weighted Beetweenness Centrality of all nodes and all edges of the network. More...
 
void TSnap::GetEigenVectorCentr (const PUNGraph &Graph, TIntFltH &NIdEigenH, const double &Eps, const int &MaxIter)
 
template<class PGraph >
void TSnap::GetPageRank (const PGraph &Graph, TIntFltH &PRankH, const double &C=0.85, const double &Eps=1e-4, const int &MaxIter=100)
 
template<class PGraph >
void TSnap::GetPageRank_v1 (const PGraph &Graph, TIntFltH &PRankH, const double &C=0.85, const double &Eps=1e-4, const int &MaxIter=100)
 
template<class PGraph >
void TSnap::GetPageRankMP (const PGraph &Graph, TIntFltH &PRankH, const double &C=0.85, const double &Eps=1e-4, const int &MaxIter=100)
 
int TSnap::GetWeightedPageRank (const PNEANet Graph, TIntFltH &PRankH, const TStr &Attr, const double &C=0.85, const double &Eps=1e-4, const int &MaxIter=100)
 Weighted PageRank (TODO: Use template) More...
 
int TSnap::GetWeightedPageRankMP (const PNEANet Graph, TIntFltH &PRankH, const TStr &Attr, const double &C, const double &Eps, const int &MaxIter)
 
template<class PGraph >
void TSnap::GetHits (const PGraph &Graph, TIntFltH &NIdHubH, TIntFltH &NIdAuthH, const int &MaxIter=20)
 
template<class PGraph >
void TSnap::GetHitsMP (const PGraph &Graph, TIntFltH &NIdHubH, TIntFltH &NIdAuthH, const int &MaxIter=20)
 
int TSnap::GetWeightedShortestPath (const PNEANet Graph, const int &SrcNId, TIntFltH &NIdDistH, const TFltV &Attr)