SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <motifcluster.h>
Public Member Functions | |
ChibaNishizekiWeighter (PUNGraph graph) | |
void | Run (int k) |
WeightVH & | weights () |
Private Member Functions | |
void | SubgraphDegreeOrder (int k, const TIntV &U, TIntV &order) |
void | UpdateWeights (const TIntV &clique) |
void | FlushCliques (const TIntV &U) |
void | CliqueEnum (int k, const TIntV &U) |
void | AdjustLabels (int kcurr, int klast, const TIntV &U) |
void | Initialize (int k) |
Private Attributes | |
TVec< TVec< TIntV > > | graph_ |
TIntV | labels_ |
TIntV | C_ |
int | k_ |
PUNGraph | orig_graph_ |
WeightVH | weights_ |
Definition at line 155 of file motifcluster.h.
|
inline |
Definition at line 157 of file motifcluster.h.
|
private |
Definition at line 644 of file motifcluster.cpp.
References TVec< TVal, TSizeTy >::Add(), graph_, labels_, and TVec< TVal, TSizeTy >::Len().
Referenced by CliqueEnum().
|
private |
Definition at line 662 of file motifcluster.cpp.
References TVec< TVal, TSizeTy >::Add(), AdjustLabels(), C_, TVec< TVal, TSizeTy >::DelLast(), FlushCliques(), graph_, labels_, TVec< TVal, TSizeTy >::Len(), and SubgraphDegreeOrder().
Referenced by Run().
|
private |
Definition at line 624 of file motifcluster.cpp.
References C_, graph_, TVec< TVal, TSizeTy >::Len(), and UpdateWeights().
Referenced by CliqueEnum().
|
private |
Definition at line 549 of file motifcluster.cpp.
References TUNGraph::AddNode(), C_, TVec< TVal, TSizeTy >::Clr(), TSnap::DelSelfEdges(), edge, TUNGraph::TNodeI::GetDeg(), TSnap::GetKCore(), TUNGraph::GetMxNId(), TUNGraph::TNodeI::GetNbrNId(), TUNGraph::GetNI(), TUNGraph::GetNodes(), graph_, TUNGraph::IsNode(), k_, labels_, orig_graph_, TVec< TVal, TSizeTy >::PutAll(), and weights_.
Referenced by Run().
void ChibaNishizekiWeighter::Run | ( | int | k | ) |
Definition at line 584 of file motifcluster.cpp.
References CliqueEnum(), graph_, Initialize(), and TVec< TVal, TSizeTy >::Len().
Referenced by MotifCluster::CliqueMotifAdjacency().
Definition at line 593 of file motifcluster.cpp.
References graph_, TVec< TVal, TSizeTy >::Len(), and TVec< TVal, TSizeTy >::Trunc().
Referenced by CliqueEnum().
|
private |
Definition at line 616 of file motifcluster.cpp.
References IncrementWeight(), TVec< TVal, TSizeTy >::Len(), and weights_.
Referenced by FlushCliques().
|
inline |
Definition at line 163 of file motifcluster.h.
References weights_.
Referenced by MotifCluster::CliqueMotifAdjacency().
|
private |
Definition at line 185 of file motifcluster.h.
Referenced by CliqueEnum(), FlushCliques(), and Initialize().
Definition at line 183 of file motifcluster.h.
Referenced by AdjustLabels(), CliqueEnum(), FlushCliques(), Initialize(), Run(), and SubgraphDegreeOrder().
|
private |
Definition at line 186 of file motifcluster.h.
Referenced by Initialize().
|
private |
Definition at line 184 of file motifcluster.h.
Referenced by AdjustLabels(), CliqueEnum(), and Initialize().
|
private |
Definition at line 187 of file motifcluster.h.
Referenced by Initialize().
|
private |
Definition at line 188 of file motifcluster.h.
Referenced by Initialize(), UpdateWeights(), and weights().