| 
    SNAP Library 2.0, Developer Reference
    2013-05-13 16:33:57
    
   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 838 of file graph.h.
References TVec< TVal, TSizeTy >::Len(), and NIdV.
Referenced by TBPGraph::Dump(), GetInDeg(), and GetOutDeg().


| int TBPGraph::TNode::GetId | ( | ) |  const [inline] | 
        
Definition at line 837 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 841 of file graph.h.
References GetNbrNId().
{ return GetNbrNId(NodeN); }

| int TBPGraph::TNode::GetNbrNId | ( | const int & | NodeN | ) |  const [inline] | 
        
Definition at line 843 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 840 of file graph.h.
References GetDeg().
Referenced by TBPGraph::DelNode().
{ return GetDeg(); }


| int TBPGraph::TNode::GetOutNId | ( | const int & | NodeN | ) |  const [inline] | 
        
Definition at line 842 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 845 of file graph.h.
References IsNbrNId().
{ return IsNbrNId(NId); }

| bool TBPGraph::TNode::IsNbrNId | ( | const int & | NId | ) |  const [inline] | 
        
Definition at line 844 of file graph.h.
References NIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by IsInNId(), and IsOutNId().


| bool TBPGraph::TNode::IsOutNId | ( | const int & | NId | ) |  const [inline] | 
        
Definition at line 846 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 829 of file graph.h.
Referenced by TBPGraph::DelNode(), GetDeg(), GetNbrNId(), IsNbrNId(), PackNIdV(), PackOutNIdV(), and Save().
TNodeTy TBPGraph::TNode::NodeTy [private] |