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 &EdgeN) const |
int | GetOutNId (const int &EdgeN) const |
int | GetNbrNId (const int &EdgeN) const |
TEdgeData & | GetOutEDat (const int &EdgeN) |
const TEdgeData & | GetOutEDat (const int &EdgeN) 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 |
TNIdDatPrV | OutNIdV |
Friends | |
class | TNodeEDatNet< TNodeData, TEdgeData > |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 516 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::NodeDat.
|
inline |
Definition at line 517 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::NodeDat.
|
inline |
Definition at line 513 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetInDeg(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetOutDeg().
|
inline |
Definition at line 512 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::Id.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::IsOk().
|
inline |
Definition at line 514 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::InNIdV, and TVec< TVal, TSizeTy >::Len().
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::DelNode(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetDeg(), and TNodeEDatNet< TNodeData, TEdgeData >::IsOk().
|
inline |
Definition at line 518 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::InNIdV.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::DelNode(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetNbrNId(), and TNodeEDatNet< TNodeData, TEdgeData >::IsOk().
|
inline |
Definition at line 520 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetInNId(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetOutDeg(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetOutNId().
|
inline |
Definition at line 515 of file network.h.
References TVec< TVal, TSizeTy >::Len(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::OutNIdV.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::DelNode(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetDeg(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetNbrNId(), and TNodeEDatNet< TNodeData, TEdgeData >::IsOk().
|
inline |
Definition at line 521 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::OutNIdV.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::GetEDat().
|
inline |
Definition at line 522 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::OutNIdV.
|
inline |
Definition at line 519 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::OutNIdV.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::DelNode(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetNbrNId(), and TNodeEDatNet< TNodeData, TEdgeData >::IsOk().
|
inline |
Definition at line 523 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::InNIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::TNode::IsNbrNId().
|
inline |
Definition at line 525 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::IsInNId(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::IsOutNId().
|
inline |
Definition at line 524 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::GetNIdPos(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::OutNIdV.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::TNode::IsNbrNId().
|
inline |
Definition at line 526 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::Id, TNodeEDatNet< TNodeData, TEdgeData >::TNode::InNIdV, TVec< TVal, TSizeTy >::LoadShM(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::NodeDat, and TNodeEDatNet< TNodeData, TEdgeData >::TNode::OutNIdV.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::TNodeFunctor::operator()().
|
inline |
Definition at line 532 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::NodeDat.
|
inline |
Definition at line 511 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::Id, TNodeEDatNet< TNodeData, TEdgeData >::TNode::InNIdV, TNodeEDatNet< TNodeData, TEdgeData >::TNode::NodeDat, TNodeEDatNet< TNodeData, TEdgeData >::TNode::OutNIdV, TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
friend |
|
private |
Definition at line 501 of file network.h.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetId(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::LoadShM(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::Save().
|
private |
Definition at line 503 of file network.h.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::Defrag(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetInDeg(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetInNId(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::IsInNId(), TNodeEDatNet< TNodeData, TEdgeData >::IsOk(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::LoadShM(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::Save().
|
private |
Definition at line 502 of file network.h.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetDat(), TNodeEDatNet< TStr, TFltFltH >::GetNDat(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::LoadShM(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::operator<(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::Save().
|
private |
Definition at line 504 of file network.h.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::Defrag(), TNodeEDatNet< TNodeData, TEdgeData >::GetEDat(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetOutDeg(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetOutEDat(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetOutNId(), TNodeEDatNet< TNodeData, TEdgeData >::IsOk(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::IsOutNId(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::LoadShM(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::Save().