SNAP Library 2.0, User Reference
2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <graphcounter.h>
Public Member Functions | |
TDGHashGraphCounter () | |
void | operator() (const PNGraph &G, const TIntV &sg) |
TGHash< TUInt64 > & | Graphs () |
Private Attributes | |
TGHash< TUInt64 > | m_graphs |
Definition at line 37 of file graphcounter.h.
TDGHashGraphCounter::TDGHashGraphCounter | ( | ) | [inline] |
Definition at line 39 of file graphcounter.h.
: m_graphs(false) {}
TGHash<TUInt64>& TDGHashGraphCounter::Graphs | ( | ) | [inline] |
Definition at line 42 of file graphcounter.h.
{ return m_graphs; }
Definition at line 136 of file graphcounter.cpp.
{ PNGraph indG = TNGraph::New(); TGraphEnumUtils::GetIndGraph(G, sg, indG); // if(m_graphs.IsKey(indG)) m_graphs.GetDat(indG)++; else m_graphs.AddDat(indG, 1); }
TGHash<TUInt64> TDGHashGraphCounter::m_graphs [private] |
Definition at line 44 of file graphcounter.h.