SNAP Library 2.0, User Reference
2013-05-13 16:33:57
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 > |
TNodeEDatNet< TNodeData, TEdgeData >::TNode::TNode | ( | ) | [inline] |
TNodeEDatNet< TNodeData, TEdgeData >::TNode::TNode | ( | const int & | NId | ) | [inline] |
TNodeEDatNet< TNodeData, TEdgeData >::TNode::TNode | ( | const int & | NId, |
const TNodeData & | NodeData | ||
) | [inline] |
TNodeEDatNet< TNodeData, TEdgeData >::TNode::TNode | ( | const TNode & | Node | ) | [inline] |
TNodeEDatNet< TNodeData, TEdgeData >::TNode::TNode | ( | TSIn & | SIn | ) | [inline] |
const TNodeData& TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetDat | ( | ) | const [inline] |
TNodeData& TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetDat | ( | ) | [inline] |
int TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetDeg | ( | ) | const [inline] |
int TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetId | ( | ) | const [inline] |
int TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetInDeg | ( | ) | const [inline] |
int TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetInNId | ( | const int & | EdgeN | ) | const [inline] |
int TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetNbrNId | ( | const int & | EdgeN | ) | const [inline] |
int TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetOutDeg | ( | ) | const [inline] |
TEdgeData& TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetOutEDat | ( | const int & | EdgeN | ) | [inline] |
const TEdgeData& TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetOutEDat | ( | const int & | EdgeN | ) | const [inline] |
int TNodeEDatNet< TNodeData, TEdgeData >::TNode::GetOutNId | ( | const int & | EdgeN | ) | const [inline] |
bool TNodeEDatNet< TNodeData, TEdgeData >::TNode::IsInNId | ( | const int & | NId | ) | const [inline] |
bool TNodeEDatNet< TNodeData, TEdgeData >::TNode::IsNbrNId | ( | const int & | NId | ) | const [inline] |
bool TNodeEDatNet< TNodeData, TEdgeData >::TNode::IsOutNId | ( | const int & | NId | ) | const [inline] |
Definition at line 474 of file network.h.
{ return TNodeEDatNet::GetNIdPos(OutNIdV, NId)!=-1; }
bool TNodeEDatNet< TNodeData, TEdgeData >::TNode::operator< | ( | const TNode & | Node | ) | const [inline] |
void TNodeEDatNet< TNodeData, TEdgeData >::TNode::Save | ( | TSOut & | SOut | ) | const [inline] |
friend class TNodeEDatNet< TNodeData, TEdgeData > [friend] |
TInt TNodeEDatNet< TNodeData, TEdgeData >::TNode::Id [private] |
TIntV TNodeEDatNet< TNodeData, TEdgeData >::TNode::InNIdV [private] |
TNodeData TNodeEDatNet< TNodeData, TEdgeData >::TNode::NodeDat [private] |
TNIdDatPrV TNodeEDatNet< TNodeData, TEdgeData >::TNode::OutNIdV [private] |