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 | 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 940 of file graph.h.
|
inline |
Definition at line 941 of file graph.h.
|
inline |
|
inline |
Definition at line 946 of file graph.h.
References TVec< TVal, TSizeTy >::Len(), and NIdV.
Referenced by TBPGraph::Dump(), GetInDeg(), and GetOutDeg().
|
inline |
Definition at line 945 of file graph.h.
References Id.
Referenced by TBPGraph::DelNode(), and TBPGraph::Dump().
|
inline |
|
inline |
Definition at line 949 of file graph.h.
References GetNbrNId().
|
inline |
Definition at line 951 of file graph.h.
References NIdV.
Referenced by TBPGraph::Dump(), GetInNId(), and GetOutNId().
|
inline |
Definition at line 948 of file graph.h.
References GetDeg().
Referenced by TBPGraph::DelNode().
|
inline |
Definition at line 950 of file graph.h.
References GetNbrNId().
Referenced by TBPGraph::DelNode().
|
inline |
Definition at line 953 of file graph.h.
References IsNbrNId().
|
inline |
Definition at line 952 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by IsInNId(), and IsOutNId().
|
inline |
Definition at line 954 of file graph.h.
References IsNbrNId().
|
inline |
Definition at line 956 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 955 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 944 of file graph.h.
References Id, NIdV, NodeTy, TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
private |
|
private |
Definition at line 937 of file graph.h.
Referenced by TBPGraph::DelNode(), GetDeg(), GetNbrNId(), IsNbrNId(), PackNIdV(), PackOutNIdV(), and Save().
|
private |