SNAP Library 2.4, Developer Reference
2015-05-11 19:40:56
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <graph.h>
Public Member Functions | |
TNode () | |
TNode (const int &NId) | |
TNode (const TNode &Node) | |
TNode (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
int | GetId () const |
int | GetDeg () const |
int | GetInDeg () const |
int | GetOutDeg () const |
int | GetInNId (const int &NodeN) const |
int | GetOutNId (const int &NodeN) const |
int | GetNbrNId (const int &NodeN) const |
bool | IsInNId (const int &NId) const |
bool | IsOutNId (const int &NId) const |
bool | IsNbrNId (const int &NId) const |
void | PackOutNIdV () |
void | PackNIdV () |
Private Attributes | |
TInt | Id |
TIntV | InNIdV |
TIntV | OutNIdV |
Friends | |
class | TNGraph |
class | TNGraphMtx |
|
inline |
Definition at line 312 of file graph.h.
References GetInDeg(), and GetOutDeg().
|
inline |
Definition at line 311 of file graph.h.
References Id.
Referenced by TNGraph::DelNode(), TNGraph::Dump(), and TNGraph::IsOk().
|
inline |
Definition at line 313 of file graph.h.
References InNIdV, and TVec< TVal, TSizeTy >::Len().
Referenced by TNGraph::DelNode(), TNGraph::Dump(), GetDeg(), and TNGraph::IsOk().
|
inline |
Definition at line 315 of file graph.h.
References InNIdV.
Referenced by TNGraph::DelNode(), TNGraph::Dump(), GetNbrNId(), and TNGraph::IsOk().
|
inline |
Definition at line 317 of file graph.h.
References GetInNId(), GetOutDeg(), and GetOutNId().
|
inline |
Definition at line 314 of file graph.h.
References TVec< TVal, TSizeTy >::Len(), and OutNIdV.
Referenced by TNGraph::DelNode(), TNGraph::Dump(), GetDeg(), GetNbrNId(), and TNGraph::IsOk().
|
inline |
Definition at line 316 of file graph.h.
References OutNIdV.
Referenced by TNGraph::DelNode(), TNGraph::Dump(), GetNbrNId(), and TNGraph::IsOk().
|
inline |
Definition at line 318 of file graph.h.
References InNIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by IsNbrNId().
|
inline |
Definition at line 320 of file graph.h.
References IsInNId(), and IsOutNId().
|
inline |
Definition at line 319 of file graph.h.
References OutNIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by TNGraph::IsEdge(), and IsNbrNId().
|
inline |
Definition at line 322 of file graph.h.
References InNIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 321 of file graph.h.
References OutNIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 310 of file graph.h.
References Id, InNIdV, OutNIdV, TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
friend |
|
private |
Definition at line 303 of file graph.h.
Referenced by TNGraph::AddNode(), GetId(), and Save().
|
private |
Definition at line 304 of file graph.h.
Referenced by TNGraph::AddEdge(), TNGraph::AddNode(), TNGraph::Defrag(), TNGraph::DelEdge(), TNGraph::DelNode(), GetInDeg(), GetInNId(), IsInNId(), TNGraph::IsOk(), PackNIdV(), TNGraph::ReserveNIdInDeg(), and Save().
|
private |
Definition at line 304 of file graph.h.
Referenced by TNGraph::AddEdge(), TNGraph::AddNode(), TNGraph::Defrag(), TNGraph::DelEdge(), TNGraph::DelNode(), GetOutDeg(), GetOutNId(), TNGraph::IsOk(), IsOutNId(), PackOutNIdV(), TNGraph::ReserveNIdOutDeg(), and Save().