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 <graphcounter.h>
Static Public Member Functions | |
static bool | IsEdge (const PNGraph &G, int SrcNId, int DstNId) |
static void | GetEdges (uint64 graphId, int nodes, TVec< TPair< int, int > > &edges) |
static void | GetNormalizedGraph (const PNGraph &G, PNGraph &nG) |
static void | GetIndGraph (const PNGraph &G, const TIntV &sg, PNGraph &indG) |
static void | GetGraph (uint64 graphId, int nodes, PNGraph &G) |
static void | GetIsoGraphs (uint64 graphId, int nodes, TVec< PNGraph > &isoG) |
static void | GetIsoGraphs (const PNGraph &G, TVec< PNGraph > &isoG) |
static uint64 | GraphId (const PNGraph &G) |
static uint64 | GraphId (const PNGraph &G, const TIntV &sg) |
static uint64 | GetMinAndGraphIds (const TVec< PNGraph > &isoG, TVec< uint64 > &graphIds) |
Static Private Member Functions | |
static void | GetNormalizedMap (const PNGraph &G, THash< TInt, TInt > &map) |
static void | GetPermutations (TIntV &v, int start, TVec< TIntV > &perms) |
Definition at line 79 of file graphcounter.h.
|
static |
Definition at line 190 of file graphcounter.cpp.
Referenced by GetIsoGraphs().
Definition at line 269 of file graphcounter.cpp.
References TNGraph::AddEdge(), TNGraph::AddNode(), and TNGraph::Clr().
Referenced by TD34GraphCounter::GetGraph().
Definition at line 251 of file graphcounter.cpp.
References TNGraph::AddEdge(), TNGraph::AddNode(), TNGraph::TNodeI::GetNbrNId(), TNGraph::GetNI(), TNGraph::TNodeI::GetOutDeg(), TNGraph::IsNode(), and TVec< TVal, TSizeTy >::Len().
Referenced by TDGHashGraphCounter::operator()().
Definition at line 202 of file graphcounter.cpp.
References TVec< TVal, TSizeTy >::Gen(), GetEdges(), GetPermutations(), TVec< TVal, TSizeTy >::Len(), and TNGraph::New().
Referenced by TDGraphCounter::operator()(), and TD34GraphCounter::TD34GraphCounter().
Definition at line 227 of file graphcounter.cpp.
References TNGraph::BegEI(), TNGraph::EndEI(), TVec< TVal, TSizeTy >::Gen(), TNGraph::GetNodes(), GetPermutations(), TVec< TVal, TSizeTy >::Len(), and TNGraph::New().
|
static |
Definition at line 311 of file graphcounter.cpp.
References TVec< TVal, TSizeTy >::Add(), GraphId(), IAssert, and TVec< TVal, TSizeTy >::Len().
Referenced by TDGraphCounter::operator()(), and TD34GraphCounter::TD34GraphCounter().
Definition at line 172 of file graphcounter.cpp.
References TNGraph::AddEdge(), TNGraph::AddNode(), TNGraph::BegEI(), TNGraph::EndEI(), THash< TKey, TDat, THashFunc >::GetDat(), TNGraph::GetNodes(), and GetNormalizedMap().
|
staticprivate |
Definition at line 147 of file graphcounter.cpp.
References THash< TKey, TDat, THashFunc >::AddDat(), TNGraph::BegNI(), and TNGraph::EndNI().
Referenced by GetNormalizedGraph().
Definition at line 156 of file graphcounter.cpp.
References TVec< TVal, TSizeTy >::Add(), and TVec< TVal, TSizeTy >::Len().
Referenced by GetIsoGraphs().
Definition at line 285 of file graphcounter.cpp.
References TNGraph::BegEI(), TNGraph::EndEI(), TNGraph::GetNodes(), and TMath::Pow2().
Referenced by GetMinAndGraphIds(), and TDGraphCounter::operator()().
Definition at line 298 of file graphcounter.cpp.
References IsEdge(), TVec< TVal, TSizeTy >::Len(), and TMath::Pow2().
|
inlinestatic |
Definition at line 84 of file graphcounter.h.
References TNGraph::IsEdge().
Referenced by TD3Graph::getId(), TD4Graph::getId(), and GraphId().