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 () |
Private Attributes | |
TInt | Id |
TIntV | NIdV |
TNodeTy | NodeTy |
Friends | |
class | TBPGraph |
|
inline |
Definition at line 868 of file graph.h.
|
inline |
Definition at line 869 of file graph.h.
|
inline |
|
inline |
Definition at line 874 of file graph.h.
References TVec< TVal, TSizeTy >::Len(), and NIdV.
Referenced by TBPGraph::Dump(), GetInDeg(), and GetOutDeg().
|
inline |
Definition at line 873 of file graph.h.
References Id.
Referenced by TBPGraph::DelNode(), and TBPGraph::Dump().
|
inline |
|
inline |
Definition at line 877 of file graph.h.
References GetNbrNId().
|
inline |
Definition at line 879 of file graph.h.
References NIdV.
Referenced by TBPGraph::Dump(), GetInNId(), and GetOutNId().
|
inline |
Definition at line 876 of file graph.h.
References GetDeg().
Referenced by TBPGraph::DelNode().
|
inline |
Definition at line 878 of file graph.h.
References GetNbrNId().
Referenced by TBPGraph::DelNode().
|
inline |
Definition at line 881 of file graph.h.
References IsNbrNId().
|
inline |
Definition at line 880 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by IsInNId(), and IsOutNId().
|
inline |
Definition at line 882 of file graph.h.
References IsNbrNId().
|
inline |
Definition at line 884 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 883 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 872 of file graph.h.
References Id, NIdV, NodeTy, TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
private |
|
private |
Definition at line 865 of file graph.h.
Referenced by TBPGraph::DelNode(), GetDeg(), GetNbrNId(), IsNbrNId(), PackNIdV(), PackOutNIdV(), and Save().
|
private |