SNAP Library 4.1, Developer Reference
2018-07-26 16:30:42
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <agmdirected.h>
Public Member Functions | |
TCodaAnalyzer () | |
TCodaAnalyzer (TCoda &Coda, const double MemThres=-1.0) | |
void | GetAllCmtyVV (TVec< TIntV > &CmtyVV, const int MinSz) |
double | GetFrac2Mode (const double Thres2Mode=0.2, const int MinSzEach=2) |
void | Summary (const int TopK=10, const double Thres2Mode=0.2) |
int | GetNumComs () |
void | GetCmtyVAll (TIntV &CmtyVAll, const int CID) |
save bipartite community affiliation into gexf file More... | |
PNGraph | Net2ModeCommunities (const double MaxJac, const double JacEdge, const bool GetWcc=true) |
void | Dump2ModeCommunities (const TStr &OutFNm, const double MaxJac, const TIntStrH &NIDNameH) |
void | Draw2ModeCommunity (const int CID, const TStr &OutFNm, const TIntStrH &NIDNameH, const THash< TInt, TIntTr > &NIDColorH) |
Public Attributes | |
PNGraph | G |
TVec< TIntFltH > | InCmtyValHV |
TVec< TIntFltH > | OutCmtyValHV |
TVec< TIntFltH > | InOutCmtyValHV |
Definition at line 198 of file agmdirected.h.
|
inline |
Definition at line 204 of file agmdirected.h.
References G, and TNGraph::New().
|
inline |
Definition at line 205 of file agmdirected.h.
References G, TNGraph::GetEdges(), TCoda::GetGraphRawNID(), TCoda::GetNIDValH(), TNGraph::GetNodes(), TCoda::GetNumComs(), TCoda::GetTopCIDs(), InCmtyValHV, InOutCmtyValHV, OutCmtyValHV, and TCoda::PNoCom.
|
inline |
Plot bipartite graph for the 2-mode community
Definition at line 355 of file agmdirected.h.
References TNGraph::BegNI(), TStr::ChangeChAll(), TStr::CStr(), TVec< TVal, TSizeTy >::DelIfIn(), TNGraph::EndNI(), G, GetCmtyVAll(), THash< TKey, TDat, THashFunc >::GetDat(), TSnap::GetSubGraph(), InCmtyValHV, InOutCmtyValHV, THash< TKey, TDat, THashFunc >::IsKey(), TVec< TVal, TSizeTy >::Len(), OutCmtyValHV, TTriple< TVal1, TVal2, TVal3 >::Val1, TTriple< TVal1, TVal2, TVal3 >::Val2, and TTriple< TVal1, TVal2, TVal3 >::Val3.
|
inline |
Definition at line 317 of file agmdirected.h.
References TStr::CStr(), TVec< TVal, TSizeTy >::DelIfIn(), TStr::Fmt(), GetCmtyVAll(), THash< TKey, TDat, THashFunc >::GetDat(), InCmtyValHV, InOutCmtyValHV, THash< TKey, TDat, THashFunc >::IsKey(), TVec< TVal, TSizeTy >::Len(), and OutCmtyValHV.
Definition at line 221 of file agmdirected.h.
References TVec< TVal, TSizeTy >::Add(), InCmtyValHV, InOutCmtyValHV, and OutCmtyValHV.
|
inline |
save bipartite community affiliation into gexf file
Definition at line 263 of file agmdirected.h.
References TVec< TVal, TSizeTy >::Gen(), InCmtyValHV, TVec< TVal, TSizeTy >::Len(), OutCmtyValHV, TVec< TVal, TSizeTy >::Sort(), and TVec< TVal, TSizeTy >::Union().
Referenced by Draw2ModeCommunity(), and Dump2ModeCommunities().
|
inline |
Definition at line 234 of file agmdirected.h.
References InCmtyValHV, InOutCmtyValHV, and OutCmtyValHV.
|
inline |
|
inline |
Definition at line 273 of file agmdirected.h.
References TVec< TVal, TSizeTy >::Add(), TNGraph::AddEdge(), TNGraph::AddNode(), TNGraph::DelNode(), TNGraph::TNodeI::GetDeg(), TNGraph::GetEdges(), TNGraph::TNodeI::GetInDeg(), TNGraph::GetNI(), TNGraph::GetNIdV(), TNGraph::GetNodes(), TNGraph::TNodeI::GetOutDeg(), TNGraph::TNodeI::GetOutNId(), InCmtyValHV, InOutCmtyValHV, TAGMUtil::Intersection(), TNGraph::IsNode(), TVec< TVal, TSizeTy >::Len(), TNGraph::New(), and OutCmtyValHV.
|
inline |
Definition at line 246 of file agmdirected.h.
References InCmtyValHV, InOutCmtyValHV, and OutCmtyValHV.
PNGraph TCodaAnalyzer::G |
Definition at line 200 of file agmdirected.h.
Referenced by Draw2ModeCommunity(), and TCodaAnalyzer().
Definition at line 201 of file agmdirected.h.
Referenced by Draw2ModeCommunity(), Dump2ModeCommunities(), GetAllCmtyVV(), GetCmtyVAll(), GetFrac2Mode(), GetNumComs(), Net2ModeCommunities(), Summary(), and TCodaAnalyzer().
Definition at line 203 of file agmdirected.h.
Referenced by Draw2ModeCommunity(), Dump2ModeCommunities(), GetAllCmtyVV(), GetFrac2Mode(), Net2ModeCommunities(), Summary(), and TCodaAnalyzer().
Definition at line 202 of file agmdirected.h.
Referenced by Draw2ModeCommunity(), Dump2ModeCommunities(), GetAllCmtyVV(), GetCmtyVAll(), GetFrac2Mode(), Net2ModeCommunities(), Summary(), and TCodaAnalyzer().