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 <graphcounter.h>
Public Member Functions | |
TD34GraphCounter (int GraphSz) | |
void | operator() (const PNGraph &G, const TIntV &sg) |
int | Len () const |
int | GetId (const int &i) const |
uint64 | GetCnt (const int &GraphId) const |
PNGraph | GetGraph (const int &GraphId) const |
Private Attributes | |
THash< TInt, TInt > | m_graphMaps |
THash< TInt, TUInt64 > | m_graphCounters |
int | m_subGraphSize |
Definition at line 8 of file graphcounter.h.
TD34GraphCounter::TD34GraphCounter | ( | int | GraphSz | ) |
Definition at line 71 of file graphcounter.cpp.
References THash< TKey, TDat, THashFunc >::AddDat(), TGraphEnumUtils::GetIsoGraphs(), TGraphEnumUtils::GetMinAndGraphIds(), IAssert, TVec< TVal, TSizeTy >::Len(), m_graphCounters, TD3Graph::m_graphIds, TD4Graph::m_graphIds, m_graphMaps, TD3Graph::m_numOfGraphs, TD4Graph::m_numOfGraphs, and m_subGraphSize.
|
inline |
Definition at line 16 of file graphcounter.h.
References THash< TKey, TDat, THashFunc >::GetDat(), and m_graphCounters.
PNGraph TD34GraphCounter::GetGraph | ( | const int & | GraphId | ) | const |
Definition at line 107 of file graphcounter.cpp.
References TGraphEnumUtils::GetGraph(), m_subGraphSize, and TNGraph::New().
|
inline |
Definition at line 15 of file graphcounter.h.
References THash< TKey, TDat, THashFunc >::GetKey(), and m_graphCounters.
|
inline |
Definition at line 14 of file graphcounter.h.
References THash< TKey, TDat, THashFunc >::Len(), and m_graphCounters.
Definition at line 96 of file graphcounter.cpp.
References THash< TKey, TDat, THashFunc >::GetDat(), TD3Graph::getId(), TD4Graph::getId(), THash< TKey, TDat, THashFunc >::IsKey(), m_graphCounters, m_graphMaps, and m_subGraphSize.
Definition at line 20 of file graphcounter.h.
Referenced by GetCnt(), GetId(), Len(), operator()(), and TD34GraphCounter().
Definition at line 19 of file graphcounter.h.
Referenced by operator()(), and TD34GraphCounter().
|
private |
Definition at line 21 of file graphcounter.h.
Referenced by GetGraph(), operator()(), and TD34GraphCounter().