SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
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 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.
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().
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.
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 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 TVec< TVal, TSizeTy >::SearchBin().
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TNode::IsNbrEId().
|
inline |
Definition at line 1106 of file network.h.
References TVec< TVal, TSizeTy >::LoadShM().
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 TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
friend |
|
private |
Definition at line 1083 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetId().
|
private |
Definition at line 1084 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::AddEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::Defrag(), TNodeEdgeNet< TNodeData, TEdgeData >::DelEdge(), and TNodeEdgeNet< TNodeData, TEdgeData >::IsOk().
|
private |
Definition at line 1085 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetDat(), TNodeEdgeNet< TSecTm, TSecTm >::GetNDat(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::operator<(), 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(), and TNodeEdgeNet< TNodeData, TEdgeData >::IsOk().