SNAP Library, User Reference
2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
|
Public Member Functions | |
TSimpleGraph () | |
TSimpleGraph (const TIntPrV &GEdgeV) | |
bool | operator== (const TSimpleGraph &Graph) const |
bool | operator< (const TSimpleGraph &Graph) const |
int | GetEdges () const |
void | AddEdge (const int &SrcNId, const int &DstNId) |
bool | Join (const TSimpleGraph &G1, const TSimpleGraph &G2) |
TIntPrV & | GetEdgeV () |
TIntPrV & | operator() () |
void | Dump (const TStr &Desc=TStr()) const |
Simple directed/undirected graph defined by its edges.
TSimpleGraph::TSimpleGraph | ( | ) | [inline] |
TSimpleGraph::TSimpleGraph | ( | const TIntPrV & | GEdgeV | ) | [inline] |
void TSimpleGraph::AddEdge | ( | const int & | SrcNId, |
const int & | DstNId | ||
) | [inline] |
void TSimpleGraph::Dump | ( | const TStr & | Desc = TStr() | ) | const |
int TSimpleGraph::GetEdges | ( | ) | const [inline] |
TIntPrV& TSimpleGraph::GetEdgeV | ( | ) | [inline] |
bool TSimpleGraph::Join | ( | const TSimpleGraph & | G1, |
const TSimpleGraph & | G2 | ||
) |
TIntPrV& TSimpleGraph::operator() | ( | ) | [inline] |
bool TSimpleGraph::operator< | ( | const TSimpleGraph & | Graph | ) | const [inline] |
bool TSimpleGraph::operator== | ( | const TSimpleGraph & | Graph | ) | const [inline] |