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 <subgraphenum.h>
Classes | |
class | TSSet |
class | TSVec |
Public Member Functions | |
TSubGraphEnum () | |
void | GetSubGraphs (PNGraph &Graph, int SubGraphSz, TGraphCounter &Counter) |
void | GetSubGraphs (PNGraph &Graph, int NId, int SubGraphSz, TGraphCounter &Counter) |
Private Member Functions | |
void | GetSubGraphs_recursive (TSVec &sg, const TSSet &sgNbrs, TSSet &ext, int vId) |
void | GetSubGraphs_recursive (TSVec &sg, const TSSet &sgNbrs, TSSet &ext) |
Private Attributes | |
PNGraph | m_graph |
int | m_nodes |
int | m_subGraphSz |
TGraphCounter * | m_functor |
Definition at line 15 of file subgraphenum.h.
|
inline |
Definition at line 69 of file subgraphenum.h.
void TSubGraphEnum< TGraphCounter >::GetSubGraphs | ( | PNGraph & | Graph, |
int | SubGraphSz, | ||
TGraphCounter & | Counter | ||
) |
Definition at line 112 of file subgraphenum.h.
References TSubGraphEnum< TGraphCounter >::TSSet::Add(), TNGraph::GetNodes(), and TSubGraphEnum< TGraphCounter >::TSVec::Push().
void TSubGraphEnum< TGraphCounter >::GetSubGraphs | ( | PNGraph & | Graph, |
int | NId, | ||
int | SubGraphSz, | ||
TGraphCounter & | Counter | ||
) |
Definition at line 171 of file subgraphenum.h.
References TSubGraphEnum< TGraphCounter >::TSSet::Add(), TNGraph::TNodeI::GetDeg(), TNGraph::TNodeI::GetNbrNId(), TNGraph::GetNodes(), TExeTm::GetSecs(), and TSubGraphEnum< TGraphCounter >::TSVec::Push().
|
private |
Definition at line 81 of file subgraphenum.h.
References TSubGraphEnum< TGraphCounter >::TSSet::Add(), TSubGraphEnum< TGraphCounter >::TSSet::Capacity(), TSubGraphEnum< TGraphCounter >::TSVec::Contains(), TNGraph::TNodeI::GetDeg(), TNGraph::TNodeI::GetNbrNId(), TSubGraphEnum< TGraphCounter >::TSVec::getVec(), TSubGraphEnum< TGraphCounter >::TSSet::IsKey(), TSubGraphEnum< TGraphCounter >::TSVec::Pop(), TSubGraphEnum< TGraphCounter >::TSVec::Push(), TSubGraphEnum< TGraphCounter >::TSSet::Remove(), and TSubGraphEnum< TGraphCounter >::TSVec::Size().
|
private |
Definition at line 140 of file subgraphenum.h.
References TSubGraphEnum< TGraphCounter >::TSSet::Add(), TSubGraphEnum< TGraphCounter >::TSSet::Capacity(), TSubGraphEnum< TGraphCounter >::TSVec::Contains(), TNGraph::TNodeI::GetDeg(), TNGraph::TNodeI::GetNbrNId(), TSubGraphEnum< TGraphCounter >::TSVec::getVec(), TSubGraphEnum< TGraphCounter >::TSSet::IsKey(), TSubGraphEnum< TGraphCounter >::TSVec::Pop(), TSubGraphEnum< TGraphCounter >::TSVec::Push(), TSubGraphEnum< TGraphCounter >::TSSet::Remove(), and TSubGraphEnum< TGraphCounter >::TSVec::Size().
|
private |
Definition at line 64 of file subgraphenum.h.
|
private |
Definition at line 61 of file subgraphenum.h.
|
private |
Definition at line 62 of file subgraphenum.h.
|
private |
Definition at line 63 of file subgraphenum.h.