| 
    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 
   | 
  
  
  
 
Node container class. More...
#include <bignet.h>

Public Member Functions | |
| TNode () | |
| TNode (const int &InVecId, const int &OutVecId) | |
| TNode (const int &InVecId, const int &OutVecId, const TNodeDat &NodeDat) | |
| TNode (const TNode &Node) | |
| TNode (TSIn &SIn) | |
| void | Save (TSOut &SOut) const | 
| bool | IsUnused () const | 
| Tests whether the node is deleted then it is unused (and its InVId==OutVId==-1)   | |
Public Attributes | |
| TInt | InVId | 
| Id of the vector storing nodes that point to the current node.   | |
| TInt | OutVId | 
| Id of the vector storing nodes that the current node points to.   | |
| TNodeDat | Dat | 
| Data associated with the node.   | |
Node container class.
For memory efficiency we store edge lists in a vector pool.
| TBigNet< TNodeData, IsDir >::TNode::TNode | ( | ) |  [inline] | 
        
| TBigNet< TNodeData, IsDir >::TNode::TNode | ( | const int & | InVecId, | 
| const int & | OutVecId | ||
| ) |  [inline] | 
        
| TBigNet< TNodeData, IsDir >::TNode::TNode | ( | const int & | InVecId, | 
| const int & | OutVecId, | ||
| const TNodeDat & | NodeDat | ||
| ) |  [inline] | 
        
| TBigNet< TNodeData, IsDir >::TNode::TNode | ( | const TNode & | Node | ) |  [inline] | 
        
| TBigNet< TNodeData, IsDir >::TNode::TNode | ( | TSIn & | SIn | ) |  [inline] | 
        
| bool TBigNet< TNodeData, IsDir >::TNode::IsUnused | ( | ) |  const [inline] | 
        
Tests whether the node is deleted then it is unused (and its InVId==OutVId==-1)
Definition at line 45 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNode::InVId, and TBigNet< TNodeData, IsDir >::TNode::OutVId.
Referenced by TBigNet< TNodeData, IsDir >::AddNode(), and TBigNet< TNodeData, IsDir >::AddUndirNode().

| void TBigNet< TNodeData, IsDir >::TNode::Save | ( | TSOut & | SOut | ) |  const [inline] | 
        
Definition at line 43 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNode::Dat, TBigNet< TNodeData, IsDir >::TNode::InVId, TBigNet< TNodeData, IsDir >::TNode::OutVId, and TSOut::Save().

| TNodeDat TBigNet< TNodeData, IsDir >::TNode::Dat | 
Data associated with the node.
Definition at line 35 of file bignet.h.
Referenced by TBigNet< TNodeData, IsDir >::AddNode(), TBigNet< TNodeData, IsDir >::AddUndirNode(), TBigNet< TNodeData, IsDir >::GetNDat(), and TBigNet< TNodeData, IsDir >::TNode::Save().
| TInt TBigNet< TNodeData, IsDir >::TNode::InVId | 
Id of the vector storing nodes that point to the current node.
Definition at line 29 of file bignet.h.
Referenced by TBigNet< TNodeData, IsDir >::AddEdge(), TBigNet< TNodeData, IsDir >::AddNode(), TBigNet< TNodeData, IsDir >::AddUndirNode(), TBigNet< TNodeData, IsDir >::GetInNIdV(), TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV(), TBigNet< TNodeData, IsDir >::InvertFromSources(), TBigNet< TNodeData, IsDir >::IsolateNode(), TBigNet< TNodeData, IsDir >::TNode::IsUnused(), TBigNet< TNodeData, IsDir >::TNode::Save(), and TBigNet< TNodeData, IsDir >::SetInNIdV().
| TInt TBigNet< TNodeData, IsDir >::TNode::OutVId | 
Id of the vector storing nodes that the current node points to.
If the graph is undirected (IsDir=false) then InVId==OutVId.
Definition at line 33 of file bignet.h.
Referenced by TBigNet< TNodeData, IsDir >::AddEdge(), TBigNet< TNodeData, IsDir >::AddNode(), TBigNet< TNodeData, IsDir >::AddUndirNode(), TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV(), TBigNet< TNodeData, IsDir >::GetOutNIdV(), TBigNet< TNodeData, IsDir >::IsEdge(), TBigNet< TNodeData, IsDir >::IsolateNode(), TBigNet< TNodeData, IsDir >::TNode::IsUnused(), TBigNet< TNodeData, IsDir >::TNode::Save(), and TBigNet< TNodeData, IsDir >::SetOutNIdV().