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 <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 |
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 469 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::NodeDat.
|
inline |
Definition at line 470 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::NodeDat.
|
inline |
Definition at line 466 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetInDeg(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetOutDeg().
|
inline |
Definition at line 465 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::Id.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::IsOk().
|
inline |
Definition at line 467 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 471 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 473 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 468 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 474 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::OutNIdV.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::GetEDat().
|
inline |
Definition at line 475 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::OutNIdV.
|
inline |
Definition at line 472 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 476 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 478 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::IsInNId(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::IsOutNId().
|
inline |
Definition at line 477 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 479 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TNode::NodeDat.
|
inline |
Definition at line 464 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 454 of file network.h.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetId(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::Save().
|
private |
Definition at line 456 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(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::Save().
|
private |
Definition at line 455 of file network.h.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetDat(), TNodeEDatNet< TStr, TFltFltH >::GetNDat(), TNodeEDatNet< TNodeData, TEdgeData >::TNode::operator<(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::Save().
|
private |
Definition at line 457 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(), and TNodeEDatNet< TNodeData, TEdgeData >::TNode::Save().