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 <network.h>
Public Member Functions | |
TNode () | |
TNode (const int &NId) | |
TNode (const int &NId, const TNodeData &NodeData) | |
TNode (const TNode &Node) | |
TNode (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
int | GetId () const |
int | GetDeg () const |
int | GetInDeg () const |
int | GetOutDeg () const |
const TNodeData & | GetDat () const |
TNodeData & | GetDat () |
int | GetInNId (const int &NodeN) const |
int | GetOutNId (const int &NodeN) const |
int | GetNbrNId (const int &NodeN) const |
bool | IsInNId (const int &NId) const |
bool | IsOutNId (const int &NId) const |
bool | IsNbrNId (const int &NId) const |
void | LoadShM (TShMIn &MStream) |
bool | operator< (const TNode &Node) const |
Private Attributes | |
TInt | Id |
TNodeData | NodeDat |
TIntV | InNIdV |
TIntV | OutNIdV |
Friends | |
class | TNodeNet< TNodeData > |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 36 of file network.h.
References TNodeNet< TNodeData >::TNode::GetInDeg(), and TNodeNet< TNodeData >::TNode::GetOutDeg().
|
inline |
Definition at line 35 of file network.h.
References TNodeNet< TNodeData >::TNode::Id.
Referenced by TNodeNet< TNodeData >::IsOk().
|
inline |
Definition at line 37 of file network.h.
References TNodeNet< TNodeData >::TNode::InNIdV, and TVec< TVal, TSizeTy >::Len().
Referenced by TNodeNet< TNodeData >::DelNode(), TNodeNet< TNodeData >::TNode::GetDeg(), and TNodeNet< TNodeData >::IsOk().
|
inline |
Definition at line 41 of file network.h.
References TNodeNet< TNodeData >::TNode::InNIdV.
Referenced by TNodeNet< TNodeData >::DelNode(), TNodeNet< TNodeData >::TNode::GetNbrNId(), and TNodeNet< TNodeData >::IsOk().
|
inline |
Definition at line 43 of file network.h.
References TNodeNet< TNodeData >::TNode::GetInNId(), TNodeNet< TNodeData >::TNode::GetOutDeg(), and TNodeNet< TNodeData >::TNode::GetOutNId().
|
inline |
Definition at line 38 of file network.h.
References TVec< TVal, TSizeTy >::Len(), and TNodeNet< TNodeData >::TNode::OutNIdV.
Referenced by TNodeNet< TNodeData >::DelNode(), TNodeNet< TNodeData >::TNode::GetDeg(), TNodeNet< TNodeData >::TNode::GetNbrNId(), and TNodeNet< TNodeData >::IsOk().
|
inline |
Definition at line 42 of file network.h.
References TNodeNet< TNodeData >::TNode::OutNIdV.
Referenced by TNodeNet< TNodeData >::DelNode(), TNodeNet< TNodeData >::TNode::GetNbrNId(), and TNodeNet< TNodeData >::IsOk().
|
inline |
Definition at line 44 of file network.h.
References TNodeNet< TNodeData >::TNode::InNIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by TNodeNet< TNodeData >::TNode::IsNbrNId().
|
inline |
Definition at line 46 of file network.h.
References TNodeNet< TNodeData >::TNode::IsInNId(), and TNodeNet< TNodeData >::TNode::IsOutNId().
|
inline |
Definition at line 45 of file network.h.
References TNodeNet< TNodeData >::TNode::OutNIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by TNodeNet< TNodeData >::TNode::IsNbrNId().
Definition at line 47 of file network.h.
References TNodeNet< TNodeData >::TNode::Id, TNodeNet< TNodeData >::TNode::InNIdV, TVec< TVal, TSizeTy >::LoadShM(), TNodeNet< TNodeData >::TNode::NodeDat, and TNodeNet< TNodeData >::TNode::OutNIdV.
Referenced by TNodeNet< TNodeData >::TNodeFunctor::operator()().
|
inline |
Definition at line 34 of file network.h.
References TNodeNet< TNodeData >::TNode::Id, TNodeNet< TNodeData >::TNode::InNIdV, TNodeNet< TNodeData >::TNode::NodeDat, TNodeNet< TNodeData >::TNode::OutNIdV, TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
friend |
Definition at line 25 of file network.h.
Referenced by TNodeNet< TNodeData >::TNode::GetId(), TNodeNet< TNodeData >::TNode::LoadShM(), and TNodeNet< TNodeData >::TNode::Save().
Definition at line 27 of file network.h.
Referenced by TNodeNet< TNodeData >::Defrag(), TNodeNet< TNodeData >::DelNode(), TNodeNet< TNodeData >::TNode::GetInDeg(), TNodeNet< TNodeData >::TNode::GetInNId(), TNodeNet< TNodeData >::TNode::IsInNId(), TNodeNet< TNodeData >::IsOk(), TNodeNet< TNodeData >::TNode::LoadShM(), and TNodeNet< TNodeData >::TNode::Save().
|
private |
Definition at line 26 of file network.h.
Referenced by TNodeNet< TNodeData >::TNode::GetDat(), TNodeNet< TSecTm >::GetNDat(), TNodeNet< TNodeData >::TNode::LoadShM(), TNodeNet< TNodeData >::TNode::operator<(), and TNodeNet< TNodeData >::TNode::Save().
Definition at line 27 of file network.h.
Referenced by TNodeNet< TNodeData >::Defrag(), TNodeNet< TNodeData >::DelNode(), TNodeNet< TNodeData >::TNode::GetOutDeg(), TNodeNet< TNodeData >::TNode::GetOutNId(), TNodeNet< TNodeData >::IsOk(), TNodeNet< TNodeData >::TNode::IsOutNId(), TNodeNet< TNodeData >::TNode::LoadShM(), and TNodeNet< TNodeData >::TNode::Save().