SNAP Library , Developer Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <graph.h>
Public Member Functions | |
TNode () | |
TNode (const int &NId) | |
TNode (const TNode &Node) | |
TNode (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
int | GetId () const |
int | GetDeg () const |
int | GetInDeg () const |
int | GetOutDeg () const |
int | GetInNId (const int &NodeN) const |
int | GetOutNId (const int &NodeN) const |
int | GetNbrNId (const int &NodeN) const |
bool | IsNbrNId (const int &NId) const |
bool | IsInNId (const int &NId) const |
bool | IsOutNId (const int &NId) const |
void | PackOutNIdV () |
void | PackNIdV () |
Private Attributes | |
TInt | Id |
TIntV | NIdV |
TNodeTy | NodeTy |
Friends | |
class | TBPGraph |
TBPGraph::TNode::TNode | ( | ) | [inline] |
TBPGraph::TNode::TNode | ( | const int & | NId | ) | [inline] |
TBPGraph::TNode::TNode | ( | const TNode & | Node | ) | [inline] |
TBPGraph::TNode::TNode | ( | TSIn & | SIn | ) | [inline] |
int TBPGraph::TNode::GetDeg | ( | ) | const [inline] |
Definition at line 837 of file graph.h.
References TVec< TVal >::Len(), and NIdV.
Referenced by TBPGraph::Dump(), GetInDeg(), and GetOutDeg().
int TBPGraph::TNode::GetId | ( | ) | const [inline] |
Definition at line 836 of file graph.h.
References Id.
Referenced by TBPGraph::DelNode(), and TBPGraph::Dump().
{ return Id; }
int TBPGraph::TNode::GetInDeg | ( | ) | const [inline] |
int TBPGraph::TNode::GetInNId | ( | const int & | NodeN | ) | const [inline] |
Definition at line 840 of file graph.h.
References GetNbrNId().
{ return GetNbrNId(NodeN); }
int TBPGraph::TNode::GetNbrNId | ( | const int & | NodeN | ) | const [inline] |
Definition at line 842 of file graph.h.
References NIdV.
Referenced by TBPGraph::Dump(), GetInNId(), and GetOutNId().
{ return NIdV[NodeN]; }
int TBPGraph::TNode::GetOutDeg | ( | ) | const [inline] |
Definition at line 839 of file graph.h.
References GetDeg().
Referenced by TBPGraph::DelNode().
{ return GetDeg(); }
int TBPGraph::TNode::GetOutNId | ( | const int & | NodeN | ) | const [inline] |
Definition at line 841 of file graph.h.
References GetNbrNId().
Referenced by TBPGraph::DelNode().
{ return GetNbrNId(NodeN); }
bool TBPGraph::TNode::IsInNId | ( | const int & | NId | ) | const [inline] |
Definition at line 844 of file graph.h.
References IsNbrNId().
{ return IsNbrNId(NId); }
bool TBPGraph::TNode::IsNbrNId | ( | const int & | NId | ) | const [inline] |
Definition at line 843 of file graph.h.
References NIdV, and TVec< TVal >::SearchBin().
Referenced by IsInNId(), and IsOutNId().
bool TBPGraph::TNode::IsOutNId | ( | const int & | NId | ) | const [inline] |
Definition at line 845 of file graph.h.
References IsNbrNId().
{ return IsNbrNId(NId); }
void TBPGraph::TNode::PackNIdV | ( | ) | [inline] |
void TBPGraph::TNode::PackOutNIdV | ( | ) | [inline] |
void TBPGraph::TNode::Save | ( | TSOut & | SOut | ) | const [inline] |
TInt TBPGraph::TNode::Id [private] |
TIntV TBPGraph::TNode::NIdV [private] |
Definition at line 828 of file graph.h.
Referenced by TBPGraph::DelNode(), GetDeg(), GetNbrNId(), IsNbrNId(), PackNIdV(), PackOutNIdV(), and Save().
TNodeTy TBPGraph::TNode::NodeTy [private] |