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 <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(), and NIdV.
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.
References NIdV.
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 NIdV, and 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 Id, TVec< TVal, TSizeTy >::LoadShM(), and NIdV.
Referenced by TUNGraph::TLoadTNodeInitializer::operator()().
|
inline |
Definition at line 62 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 61 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 50 of file graph.h.
References Id, NIdV, TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
inline |
Definition at line 63 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::Sort().
|
friend |
|
private |
|
private |
Definition at line 40 of file graph.h.
Referenced by TUNGraph::AddEdge(), TUNGraph::AddEdge2(), TUNGraph::AddEdgeUnchecked(), TUNGraph::AddNode(), TUNGraph::DelEdge(), TUNGraph::DelNode(), GetDeg(), GetNbrNId(), IsNbrNId(), TUNGraph::IsOk(), LoadShM(), PackNIdV(), PackOutNIdV(), TUNGraph::ReserveNIdDeg(), Save(), and SortNIdV().