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
|
Go to the source code of this file.
Functions | |
MotifType | ParseMotifType (const TStr &motif, const bool &IsDirected) |
void | printMotifType (const MotifType &type) |
int | getCliqueSize (const MotifType &type) |
bool | higherDeg (PUNGraph &G, TUNGraph::TNodeI &NI1, int nodeID2) |
bool | higherDeg (PUNGraph &G, int nodeID1, int nodeID2) |
int | checkEdge (PNGraph &G, long nodeID, long nbrID) |
int | checkTriadMotif (PNGraph &G, long nodeID, long srcNId, long dstNId) |
bool | higherDeg (PNGraph &G, TNGraph::TNodeI &NI1, int nodeID2) |
bool | higherDeg (PNGraph &G, int nodeID1, int nodeID2) |
int checkEdge | ( | PNGraph & | G, |
long | nodeID, | ||
long | nbrID | ||
) |
Definition at line 259 of file localmotifcluster.cpp.
References TNGraph::IsEdge().
Referenced by checkTriadMotif().
int checkTriadMotif | ( | PNGraph & | G, |
long | nodeID, | ||
long | srcNId, | ||
long | dstNId | ||
) |
Definition at line 273 of file localmotifcluster.cpp.
References checkEdge(), and TNGraph::IsEdge().
Referenced by ProcessedGraph::countDirTriadMotif().
int getCliqueSize | ( | const MotifType & | type | ) |
Definition at line 88 of file localmotifcluster.cpp.
References clique3, clique4, clique5, clique6, clique7, clique8, clique9, TExcept::Throw(), and UEdge.
Referenced by ProcessedGraph::assignWeights_undir().
bool higherDeg | ( | PUNGraph & | G, |
TUNGraph::TNodeI & | NI1, | ||
int | nodeID2 | ||
) |
Definition at line 125 of file localmotifcluster.cpp.
References TUNGraph::TNodeI::GetId(), and TUNGraph::TNodeI::GetOutDeg().
Referenced by ProcessedGraph::countClique(), ProcessedGraph::countDirTriadMotif(), and higherDeg().
bool higherDeg | ( | PUNGraph & | G, |
int | nodeID1, | ||
int | nodeID2 | ||
) |
Definition at line 135 of file localmotifcluster.cpp.
References higherDeg().
bool higherDeg | ( | PNGraph & | G, |
TNGraph::TNodeI & | NI1, | ||
int | nodeID2 | ||
) |
Definition at line 382 of file localmotifcluster.cpp.
References TNGraph::TNodeI::GetId(), TNGraph::GetNI(), and TNGraph::TNodeI::GetOutDeg().
bool higherDeg | ( | PNGraph & | G, |
int | nodeID1, | ||
int | nodeID2 | ||
) |
Definition at line 392 of file localmotifcluster.cpp.
References TNGraph::GetNI(), and higherDeg().
Definition at line 20 of file localmotifcluster.cpp.
References BiDE, clique3, clique4, clique5, clique6, clique7, clique8, clique9, cycle, DE, DE_any, FFLoop, TStr::GetLc(), M1, M2, M3, M4, M5, M6, M7, TExcept::Throw(), triad, UEdge, and UniDE.
void printMotifType | ( | const MotifType & | type | ) |
Definition at line 56 of file localmotifcluster.cpp.
References BiDE, clique3, clique4, clique5, clique6, clique7, clique8, clique9, cycle, DE, DE_any, FFLoop, M1, M2, M3, M4, M5, M6, M7, TExcept::Throw(), triad, UEdge, and UniDE.