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 <localmotifcluster.h>
Public Member Functions | |
ProcessedGraph () | |
ProcessedGraph (PUNGraph graph, MotifType mt) | |
ProcessedGraph (PNGraph graph, MotifType mt) | |
void | assignWeights_undir (MotifType mt) |
void | assignWeights_dir (MotifType mt) |
PUNGraph | getOriginalGraph () const |
PUNGraph | getTransformedGraph () const |
CountVH | getCounts () const |
const WeightVH & | getWeights () const |
float | getTotalVolume () const |
void | printCounts () |
void | printWeights () |
Private Member Functions | |
void | countClique (PUNGraph &G, int KSize, TIntV &PrevNodes, int level) |
void | countDirTriadMotif (PNGraph graph) |
Private Attributes | |
PUNGraph | Graph_org |
PUNGraph | Graph_trans |
CountVH | Counts |
WeightVH | Weights |
float | TotalVol |
Definition at line 56 of file localmotifcluster.h.
|
inline |
Definition at line 96 of file localmotifcluster.h.
Definition at line 117 of file localmotifcluster.cpp.
References assignWeights_undir(), and Graph_org.
Definition at line 247 of file localmotifcluster.cpp.
References assignWeights_dir(), countDirTriadMotif(), and Graph_org.
void ProcessedGraph::assignWeights_dir | ( | MotifType | mt | ) |
Definition at line 457 of file localmotifcluster.cpp.
References TVec< TVal, TSizeTy >::Add(), TUNGraph::BegNI(), BiDE, Counts, cycle, DE, DE_any, TUNGraph::DelEdge(), TUNGraph::EndNI(), FFLoop, TUNGraph::GetMxNId(), Graph_org, Graph_trans, TVec< TVal, TSizeTy >::Len(), M1, M2, M3, M4, M5, M6, M7, TExcept::Throw(), TotalVol, triad, UniDE, and Weights.
Referenced by ProcessedGraph().
void ProcessedGraph::assignWeights_undir | ( | MotifType | mt | ) |
Definition at line 195 of file localmotifcluster.cpp.
References THash< TKey, TDat, THashFunc >::BegI(), TVec< TVal, TSizeTy >::BegI(), TUNGraph::BegNI(), countClique(), Counts, THashKeyDat< TKey, TDat >::Dat, TUNGraph::EndNI(), getCliqueSize(), TUNGraph::GetEdges(), TUNGraph::GetMxNId(), Graph_org, Graph_trans, THash< TKey, TDat, THashFunc >::Len(), TVec< TVal, TSizeTy >::Len(), TotalVol, and Weights.
Referenced by ProcessedGraph().
Definition at line 146 of file localmotifcluster.cpp.
References TVec< TVal, TSizeTy >::Add(), TUNGraph::BegEI(), TUNGraph::BegNI(), Counts, TUNGraph::EndEI(), TUNGraph::EndNI(), TUNGraph::GetEdges(), TSnap::GetSubGraph(), and higherDeg().
Referenced by assignWeights_undir().
|
private |
Definition at line 398 of file localmotifcluster.cpp.
References TVec< TVal, TSizeTy >::Add(), TNGraph::BegEI(), TUNGraph::BegNI(), TNGraph::BegNI(), checkTriadMotif(), Counts, TNGraph::EndEI(), TUNGraph::EndNI(), TNGraph::EndNI(), TUNGraph::GetMxNId(), TSnap::GetSubGraph(), Graph_org, higherDeg(), and TNGraph::IsEdge().
Referenced by ProcessedGraph().
|
inline |
|
inline |
|
inline |
Definition at line 114 of file localmotifcluster.h.
References TotalVol.
Referenced by MAPPR::computeProfile().
|
inline |
Definition at line 111 of file localmotifcluster.h.
References Graph_trans.
Referenced by MAPPR::computeAPPR(), and MAPPR::computeProfile().
|
inline |
Definition at line 113 of file localmotifcluster.h.
References Weights.
Referenced by MAPPR::computeAPPR(), and MAPPR::computeProfile().
void ProcessedGraph::printCounts | ( | ) |
Definition at line 531 of file localmotifcluster.cpp.
References TUNGraph::BegNI(), Counts, TUNGraph::EndNI(), Graph_org, and TVec< TVal, TSizeTy >::Len().
void ProcessedGraph::printWeights | ( | ) |
Definition at line 547 of file localmotifcluster.cpp.
References TUNGraph::BegNI(), TUNGraph::Dump(), TUNGraph::EndNI(), Graph_org, Graph_trans, TotalVol, and Weights.
|
private |
Definition at line 66 of file localmotifcluster.h.
Referenced by assignWeights_dir(), assignWeights_undir(), countClique(), countDirTriadMotif(), getCounts(), and printCounts().
|
private |
Definition at line 58 of file localmotifcluster.h.
Referenced by assignWeights_dir(), assignWeights_undir(), countDirTriadMotif(), getOriginalGraph(), printCounts(), printWeights(), and ProcessedGraph().
|
private |
Definition at line 62 of file localmotifcluster.h.
Referenced by assignWeights_dir(), assignWeights_undir(), getTransformedGraph(), and printWeights().
|
private |
Definition at line 78 of file localmotifcluster.h.
Referenced by assignWeights_dir(), assignWeights_undir(), getTotalVolume(), and printWeights().
|
private |
Definition at line 74 of file localmotifcluster.h.
Referenced by assignWeights_dir(), assignWeights_undir(), getWeights(), and printWeights().