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 | IsNbrNId (const int &NId) const |
bool | IsInNId (const int &NId) const |
bool | IsOutNId (const int &NId) const |
void | PackOutNIdV () |
void | PackNIdV () |
Private Attributes | |
TInt | Id |
TIntV | NIdV |
Friends | |
class | TUNGraph |
class | TUNGraphMtx |
|
inline |
Definition at line 48 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 47 of file graph.h.
References Id.
Referenced by TUNGraph::DelNode(), TUNGraph::Dump(), and TUNGraph::IsOk().
|
inline |
|
inline |
Definition at line 51 of file graph.h.
References GetNbrNId().
|
inline |
Definition at line 53 of file graph.h.
References NIdV.
Referenced by TUNGraph::DelNode(), TUNGraph::Dump(), GetInNId(), GetOutNId(), and TUNGraph::IsOk().
|
inline |
|
inline |
Definition at line 52 of file graph.h.
References GetNbrNId().
|
inline |
Definition at line 55 of file graph.h.
References IsNbrNId().
|
inline |
Definition at line 54 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by TUNGraph::IsEdge(), IsInNId(), and IsOutNId().
|
inline |
Definition at line 56 of file graph.h.
References IsNbrNId().
|
inline |
Definition at line 58 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 57 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 46 of file graph.h.
References Id, NIdV, TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
friend |
|
private |
Definition at line 39 of file graph.h.
Referenced by TUNGraph::AddNode(), GetId(), and Save().
|
private |
Definition at line 40 of file graph.h.
Referenced by TUNGraph::AddEdge(), TUNGraph::AddNode(), TUNGraph::DelEdge(), TUNGraph::DelNode(), GetDeg(), GetNbrNId(), IsNbrNId(), TUNGraph::IsOk(), PackNIdV(), PackOutNIdV(), TUNGraph::ReserveNIdDeg(), and Save().