| 
    SNAP Library 2.3, Developer Reference
    2014-06-16 11:58:46
    
   SNAP, a general purpose, high performance system for analysis and manipulation of large networks 
   | 
 
#include <ds.h>

Public Member Functions | |
| TTree () | |
| TTree (const TTree &Tree) | |
| TTree (TSIn &SIn) | |
| void | Save (TSOut &SOut) const | 
| void | LoadXml (const PXmlTok &XmlTok, const TStr &Nm="") | 
| void | SaveXml (TSOut &SOut, const TStr &Nm) const | 
| TTree & | operator= (const TTree &Tree) | 
| bool | operator== (const TTree &Tree) const | 
| bool | operator< (const TTree &Tree) const | 
| int | GetPrimHashCd () const | 
| int | GetSecHashCd () const | 
| int | GetMemUsed () const | 
| void | Clr () | 
| int | AddNode (const int &ParentNodeId, const TVal &NodeVal=TVal()) | 
| int | AddRoot (const TVal &NodeVal=TVal()) | 
| int | GetNodes () const | 
| void | GetNodeIdV (TIntV &NodeIdV, const int &NodeId=0) | 
| int | GetParentNodeId (const int &NodeId) const | 
| int | GetChildren (const int &NodeId) const | 
| int | GetChildNodeId (const int &NodeId, const int &ChildN) const | 
| TVal & | GetNodeVal (const int &NodeId) | 
| void | GenRandomTree (const int &Nodes, TRnd &Rnd) | 
| void | DelNode (const int &NodeId) | 
| void | CopyTree (const int &SrcNodeId, TTree &DstTree, const int &DstParentNodeId=-1) | 
| void | WrTree (const int &NodeId=0, const int &Lev=0) | 
Private Attributes | |
| TVec< TTriple< TInt, TIntV,  TVal > >  | NodeV | 
      
  | 
  inline | 
Definition at line 3360 of file ds.h.
References IAssert, and TTree< TVal >::NodeV.
Referenced by TTree< TVal >::AddRoot(), and TTree< TVal >::CopyTree().

      
  | 
  inline | 
Definition at line 3364 of file ds.h.
References TTree< TVal >::AddNode().

      
  | 
  inline | 
| void TTree< TVal >::CopyTree | ( | const int & | SrcNodeId, | 
| TTree< TVal > & | DstTree, | ||
| const int & | DstParentNodeId = -1  | 
        ||
| ) | 
Definition at line 3419 of file ds.h.
References TTree< TVal >::AddNode().

| void TTree< TVal >::DelNode | ( | const int & | NodeId | ) | 
Definition at line 3408 of file ds.h.
References TVec< TVal, TSizeTy >::SearchForw().

Definition at line 3396 of file ds.h.
References TRnd::GetUniDevInt().

      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 3383 of file ds.h.
References TVec< TVal, TSizeTy >::Add(), and TVec< TVal, TSizeTy >::Clr().

      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
| void TTree< TVal >::WrTree | ( | const int & | NodeId = 0,  | 
        
| const int & | Lev = 0  | 
        ||
| ) | 
Definition at line 3340 of file ds.h.
Referenced by TTree< TVal >::AddNode(), TTree< TVal >::Clr(), TTree< TVal >::GetChildNodeId(), TTree< TVal >::GetChildren(), TTree< TVal >::GetMemUsed(), TTree< TVal >::GetNodes(), TTree< TVal >::GetNodeVal(), TTree< TVal >::GetParentNodeId(), TTree< TVal >::GetPrimHashCd(), TTree< TVal >::GetSecHashCd(), TTree< TVal >::operator=(), TTree< TVal >::operator==(), and TTree< TVal >::Save().