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 <graphmp.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 () |
void | SortNIdV () |
Private Attributes | |
TInt | Id |
TIntV | InNIdV |
TIntV | OutNIdV |
Friends | |
class | TNGraphMP |
|
inline |
Definition at line 43 of file graphmp.h.
References GetInDeg(), and GetOutDeg().
|
inline |
Definition at line 42 of file graphmp.h.
References Id.
Referenced by TNGraphMP::DelNode(), TNGraphMP::Dump(), and TNGraphMP::IsOk().
|
inline |
Definition at line 44 of file graphmp.h.
References InNIdV, and TVec< TVal, TSizeTy >::Len().
Referenced by TNGraphMP::DelNode(), TNGraphMP::Dump(), GetDeg(), and TNGraphMP::IsOk().
|
inline |
Definition at line 46 of file graphmp.h.
References InNIdV.
Referenced by TNGraphMP::DelNode(), TNGraphMP::Dump(), GetNbrNId(), and TNGraphMP::IsOk().
|
inline |
Definition at line 48 of file graphmp.h.
References GetInNId(), GetOutDeg(), and GetOutNId().
|
inline |
Definition at line 45 of file graphmp.h.
References TVec< TVal, TSizeTy >::Len(), and OutNIdV.
Referenced by TNGraphMP::DelNode(), TNGraphMP::Dump(), GetDeg(), GetNbrNId(), and TNGraphMP::IsOk().
|
inline |
Definition at line 47 of file graphmp.h.
References OutNIdV.
Referenced by TNGraphMP::DelNode(), TNGraphMP::Dump(), GetNbrNId(), and TNGraphMP::IsOk().
|
inline |
Definition at line 49 of file graphmp.h.
References InNIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by IsNbrNId().
|
inline |
Definition at line 51 of file graphmp.h.
References IsInNId(), and IsOutNId().
|
inline |
Definition at line 50 of file graphmp.h.
References OutNIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by TNGraphMP::IsEdge(), and IsNbrNId().
|
inline |
Definition at line 53 of file graphmp.h.
References InNIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 52 of file graphmp.h.
References OutNIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 41 of file graphmp.h.
References Id, InNIdV, OutNIdV, TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
inline |
Definition at line 54 of file graphmp.h.
References InNIdV, OutNIdV, and TVec< TVal, TSizeTy >::Sort().
|
private |
Definition at line 34 of file graphmp.h.
Referenced by TNGraphMP::AddNode(), GetId(), and Save().
|
private |
Definition at line 35 of file graphmp.h.
Referenced by TNGraphMP::AddEdge(), TNGraphMP::AddEdgeUnchecked(), TNGraphMP::AddNode(), TNGraphMP::Defrag(), TNGraphMP::DelEdge(), TNGraphMP::DelNode(), GetInDeg(), GetInNId(), IsInNId(), TNGraphMP::IsOk(), PackNIdV(), TNGraphMP::ReserveNIdInDeg(), Save(), and SortNIdV().
|
private |
Definition at line 35 of file graphmp.h.
Referenced by TNGraphMP::AddEdge(), TNGraphMP::AddEdgeUnchecked(), TNGraphMP::AddNode(), TNGraphMP::Defrag(), TNGraphMP::DelEdge(), TNGraphMP::DelNode(), GetOutDeg(), GetOutNId(), TNGraphMP::IsOk(), IsOutNId(), PackOutNIdV(), TNGraphMP::ReserveNIdOutDeg(), Save(), and SortNIdV().