SNAP Library 4.1, Developer Reference
2018-07-26 16:30:42
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 |
bool | operator< (const TNode &Node) const |
int | GetId () const |
int | GetDeg () const |
int | GetInDeg () const |
int | GetOutDeg () const |
const TNodeData & | GetDat () const |
TNodeData & | GetDat () |
int | GetInEId (const int &NodeN) const |
int | GetOutEId (const int &NodeN) const |
int | GetNbrEId (const int &EdgeN) const |
bool | IsInEId (const int &EId) const |
bool | IsOutEId (const int &EId) const |
bool | IsNbrEId (const int &EId) const |
void | LoadShM (TShMIn &MStream) |
Private Attributes | |
TInt | Id |
TIntV | InEIdV |
TIntV | OutEIdV |
TNodeData | NodeDat |
Friends | |
class | TNodeEdgeNet< TNodeData, TEdgeData > |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1098 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::NodeDat.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TNodeI::IsOutNId().
|
inline |
Definition at line 1099 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::NodeDat.
|
inline |
Definition at line 1095 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetInDeg(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetOutDeg().
|
inline |
Definition at line 1094 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Id.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::IsOk().
|
inline |
Definition at line 1096 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::InEIdV, and TVec< TVal, TSizeTy >::Len().
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::DelNode(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetDeg(), TNodeEdgeNet< TNodeData, TEdgeData >::IsEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::TNodeI::IsInNId(), and TNodeEdgeNet< TNodeData, TEdgeData >::IsOk().
|
inline |
Definition at line 1100 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::InEIdV.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::DelNode(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetNbrEId(), TNodeEdgeNet< TNodeData, TEdgeData >::IsEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::TNodeI::IsInNId(), and TNodeEdgeNet< TNodeData, TEdgeData >::IsOk().
|
inline |
Definition at line 1102 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetInEId(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetOutDeg(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetOutEId().
|
inline |
Definition at line 1097 of file network.h.
References TVec< TVal, TSizeTy >::Len(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::OutEIdV.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::DelNode(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetDeg(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetNbrEId(), TNodeEdgeNet< TNodeData, TEdgeData >::IsEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::IsOk(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNodeI::IsOutNId().
|
inline |
Definition at line 1101 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::OutEIdV.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::DelNode(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetNbrEId(), TNodeEdgeNet< TNodeData, TEdgeData >::IsEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::IsOk(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNodeI::IsOutNId().
|
inline |
Definition at line 1103 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::InEIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TNode::IsNbrEId().
|
inline |
Definition at line 1105 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::IsInEId(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::IsOutEId().
|
inline |
Definition at line 1104 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::OutEIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TNode::IsNbrEId().
|
inline |
Definition at line 1106 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Id, TNodeEdgeNet< TNodeData, TEdgeData >::TNode::InEIdV, TVec< TVal, TSizeTy >::LoadShM(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::NodeDat, and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::OutEIdV.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::LoadTNodeFunctor::operator()().
|
inline |
Definition at line 1093 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::NodeDat.
|
inline |
Definition at line 1092 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Id, TNodeEdgeNet< TNodeData, TEdgeData >::TNode::InEIdV, TNodeEdgeNet< TNodeData, TEdgeData >::TNode::NodeDat, TNodeEdgeNet< TNodeData, TEdgeData >::TNode::OutEIdV, TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
friend |
|
private |
Definition at line 1083 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetId(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::LoadShM(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Save().
|
private |
Definition at line 1084 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::AddEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::Defrag(), TNodeEdgeNet< TNodeData, TEdgeData >::DelEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetInDeg(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetInEId(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::IsInEId(), TNodeEdgeNet< TNodeData, TEdgeData >::IsOk(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::LoadShM(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Save().
|
private |
Definition at line 1085 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetDat(), TNodeEdgeNet< TSecTm, TSecTm >::GetNDat(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::LoadShM(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::operator<(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Save(), and TNodeEdgeNet< TNodeData, TEdgeData >::SetNDat().
|
private |
Definition at line 1084 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::AddEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::Defrag(), TNodeEdgeNet< TNodeData, TEdgeData >::DelEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetOutDeg(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetOutEId(), TNodeEdgeNet< TNodeData, TEdgeData >::IsOk(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::IsOutEId(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::LoadShM(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Save().