SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
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 | LoadShM (TShMIn &ShMIn) |
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 | IsNbrNId (const int &NId) const |
bool | IsInNId (const int &NId) const |
bool | IsOutNId (const int &NId) const |
void | PackOutNIdV () |
void | PackNIdV () |
void | SortNIdV () |
Private Attributes | |
TInt | Id |
TIntV | NIdV |
Friends | |
class | TUNGraph |
class | TUNGraphMtx |
|
inline |
Definition at line 52 of file graph.h.
References TVec< TVal, TSizeTy >::Len().
Referenced by TUNGraph::AddNode(), TUNGraph::DelNode(), TUNGraph::Dump(), GetInDeg(), GetOutDeg(), and TUNGraph::IsOk().
|
inline |
Definition at line 51 of file graph.h.
References Id.
Referenced by TUNGraph::DelNode(), TUNGraph::Dump(), and TUNGraph::IsOk().
|
inline |
|
inline |
Definition at line 55 of file graph.h.
References GetNbrNId().
|
inline |
Definition at line 57 of file graph.h.
Referenced by TUNGraph::DelNode(), TUNGraph::Dump(), GetInNId(), GetOutNId(), and TUNGraph::IsOk().
|
inline |
|
inline |
Definition at line 56 of file graph.h.
References GetNbrNId().
|
inline |
Definition at line 59 of file graph.h.
References IsNbrNId().
|
inline |
Definition at line 58 of file graph.h.
References TVec< TVal, TSizeTy >::SearchBin().
Referenced by TUNGraph::IsEdge(), IsInNId(), and IsOutNId().
|
inline |
Definition at line 60 of file graph.h.
References IsNbrNId().
|
inline |
Definition at line 46 of file graph.h.
References TVec< TVal, TSizeTy >::LoadShM().
Referenced by TUNGraph::TLoadTNodeInitializer::operator()().
|
inline |
Definition at line 62 of file graph.h.
References TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 61 of file graph.h.
References TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 50 of file graph.h.
References TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
inline |
Definition at line 63 of file graph.h.
References TVec< TVal, TSizeTy >::Sort().
|
friend |
|
private |
Definition at line 39 of file graph.h.
Referenced by TUNGraph::AddNode(), and GetId().
|
private |
Definition at line 40 of file graph.h.
Referenced by TUNGraph::AddEdge(), TUNGraph::AddEdge2(), TUNGraph::AddEdgeUnchecked(), TUNGraph::AddNode(), TUNGraph::DelEdge(), TUNGraph::DelNode(), TUNGraph::IsOk(), and TUNGraph::ReserveNIdDeg().