SNAP Library 2.3, User Reference
2014-06-16 11:58:46
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <cncom.h>
Public Member Functions | |
TCnCom () | |
TCnCom (const TIntV &NodeIdV) | |
TCnCom (const TCnCom &CC) | |
TCnCom (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
TCnCom & | operator= (const TCnCom &CC) |
bool | operator== (const TCnCom &CC) const |
bool | operator< (const TCnCom &CC) const |
int | Len () const |
bool | Empty () const |
void | Clr () |
void | Add (const int &NodeId) |
const TInt & | operator[] (const int &NIdN) const |
const TIntV & | operator() () const |
TIntV & | operator() () |
const TInt & | GetVal (const int &NIdN) const |
void | Sort (const bool &Asc=true) |
bool | IsNIdIn (const int &NId) const |
const TInt & | GetRndNId () const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
Static Public Member Functions | |
static void | Dump (const TCnComV &CnComV, const TStr &Desc=TStr()) |
static void | SaveTxt (const TCnComV &CnComV, const TStr &FNm, const TStr &Desc=TStr()) |
template<class PGraph , class TVisitor > | |
static void | GetDfsVisitor (const PGraph &Graph, TVisitor &Visitor) |
Public Attributes | |
TIntV | NIdV |
Connected Component. Connected component is defined by a vector of its node IDs.
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |