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 |
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 |
Private Attributes | |
TInt | Id |
TIntV | InEIdV |
TIntV | OutEIdV |
TNodeData | NodeDat |
Friends | |
class | TNodeEdgeNet< TNodeData, TEdgeData > |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1005 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::NodeDat.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TNodeI::IsOutNId().
|
inline |
Definition at line 1006 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::NodeDat.
|
inline |
Definition at line 1002 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetInDeg(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetOutDeg().
|
inline |
Definition at line 1001 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Id.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::IsOk().
|
inline |
Definition at line 1003 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 1007 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 1009 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 1004 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 1008 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 1010 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 1012 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::IsInEId(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::IsOutEId().
|
inline |
Definition at line 1011 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 1000 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TNode::NodeDat.
|
inline |
Definition at line 999 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 990 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetId(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Save().
|
private |
Definition at line 991 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(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Save().
|
private |
Definition at line 992 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TNode::GetDat(), TNodeEdgeNet< TSecTm, TSecTm >::GetNDat(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::operator<(), TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Save(), and TNodeEdgeNet< TNodeData, TEdgeData >::SetNDat().
|
private |
Definition at line 991 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(), and TNodeEdgeNet< TNodeData, TEdgeData >::TNode::Save().