SNAP Library 2.2, Developer Reference
2014-03-11 19:15:55
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 TNode &Node) | |
TNode (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
int | GetId () const |
int | GetDeg () const |
int | GetInDeg () const |
int | GetOutDeg () const |
int | GetInEId (const int &EdgeN) const |
int | GetOutEId (const int &EdgeN) const |
int | GetNbrEId (const int &EdgeN) const |
bool | IsInEId (const int &EId) const |
bool | IsOutEId (const int &EId) const |
Private Attributes | |
TInt | Id |
TIntV | InEIdV |
TIntV | OutEIdV |
Friends | |
class | TNEANet |
TNEANet::TNode::TNode | ( | ) | [inline] |
TNEANet::TNode::TNode | ( | const int & | NId | ) | [inline] |
TNEANet::TNode::TNode | ( | const TNode & | Node | ) | [inline] |
TNEANet::TNode::TNode | ( | TSIn & | SIn | ) | [inline] |
int TNEANet::TNode::GetDeg | ( | ) | const [inline] |
int TNEANet::TNode::GetId | ( | ) | const [inline] |
Definition at line 1602 of file network.h.
Referenced by TNEANet::DelNode(), and TNEANet::IsOk().
{ return Id; }
int TNEANet::TNode::GetInDeg | ( | ) | const [inline] |
Definition at line 1604 of file network.h.
Referenced by TNEANet::DelNode(), TNEANet::IsEdge(), TNEANet::TNodeI::IsInNId(), and TNEANet::IsOk().
int TNEANet::TNode::GetInEId | ( | const int & | EdgeN | ) | const [inline] |
Definition at line 1606 of file network.h.
Referenced by TNEANet::DelNode(), TNEANet::IsEdge(), TNEANet::TNodeI::IsInNId(), and TNEANet::IsOk().
{ return InEIdV[EdgeN]; }
int TNEANet::TNode::GetNbrEId | ( | const int & | EdgeN | ) | const [inline] |
int TNEANet::TNode::GetOutDeg | ( | ) | const [inline] |
Definition at line 1605 of file network.h.
Referenced by TNEANet::DelNode(), TNEANet::IsEdge(), TNEANet::IsOk(), and TNEANet::TNodeI::IsOutNId().
int TNEANet::TNode::GetOutEId | ( | const int & | EdgeN | ) | const [inline] |
Definition at line 1607 of file network.h.
Referenced by TNEANet::DelNode(), TNEANet::IsEdge(), TNEANet::IsOk(), and TNEANet::TNodeI::IsOutNId().
{ return OutEIdV[EdgeN]; }
bool TNEANet::TNode::IsInEId | ( | const int & | EId | ) | const [inline] |
bool TNEANet::TNode::IsOutEId | ( | const int & | EId | ) | const [inline] |
void TNEANet::TNode::Save | ( | TSOut & | SOut | ) | const [inline] |
TInt TNEANet::TNode::Id [private] |
TIntV TNEANet::TNode::InEIdV [private] |
Definition at line 1595 of file network.h.
Referenced by TNEANet::AddEdge(), TNEANet::Defrag(), TNEANet::DelEdge(), and TNEANet::IsOk().
TIntV TNEANet::TNode::OutEIdV [private] |
Definition at line 1595 of file network.h.
Referenced by TNEANet::AddEdge(), TNEANet::Defrag(), TNEANet::DelEdge(), and TNEANet::IsOk().