|
SNAP Library 3.0, Developer Reference
2016-07-20 17:56:49
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 () |
| void | SortNIdV () |
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().

|
inline |
Definition at line 59 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::Sort().

|
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::AddEdge2(), TUNGraph::AddEdgeUnchecked(), TUNGraph::AddNode(), TUNGraph::DelEdge(), TUNGraph::DelNode(), GetDeg(), GetNbrNId(), IsNbrNId(), TUNGraph::IsOk(), PackNIdV(), PackOutNIdV(), TUNGraph::ReserveNIdDeg(), Save(), and SortNIdV().