library: libTMVA #include "TMVA_BinaryTree.h" |
TMVA_BinaryTree
class description - source file - inheritance tree (.pdf)
private:
void DeleteNode(TMVA_Node*)
void Insert(TMVA_Event*, TMVA_Node*, Bool_t eventOwnership = kFALSE)
ostream& PrintOrdered(ostream& os, TMVA_Node* n) const
TMVA_Node* Search(TMVA_Event*, TMVA_Node*) const
public:
TMVA_BinaryTree()
TMVA_BinaryTree(const TMVA_BinaryTree&)
virtual ~TMVA_BinaryTree()
static TClass* Class()
Int_t CountNodes()
Int_t GetNNodes()
Int_t GetPeriode() const
TMVA_Node* GetRoot() const
Double_t GetSumOfWeights()
void Insert(TMVA_Event*, Bool_t eventOwnership = kFALSE)
virtual TClass* IsA() const
TMVA_BinaryTree& operator=(const TMVA_BinaryTree&)
void Print(ostream& os) const
TMVA_Node* Search(TMVA_Event* event) const
void SetPeriode(Int_t p)
void SetRoot(TMVA_Node* r)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TMVA_Node* fRoot
Int_t fPeriode
Int_t fCurrentDepth
protected:
Int_t fNNodes
Double_t fSumOfWeights
Base class for BinarySearch and Decision Trees
_______________________________________________________________________
TMVA_BinaryTree( void )
: fNNodes ( 0 ),
fSumOfWeights( 0 ),
fRoot ( NULL ),
fPeriode ( 1 )
~TMVA_BinaryTree( void )
void DeleteNode( TMVA_Node* node )
Private, recursive, function used by the class destructor.
void Insert( TMVA_Event* event, Bool_t eventOwnership )
void Insert( TMVA_Event *event, TMVA_Node *node, Bool_t eventOwnership )
TMVA_Node* Search( TMVA_Event* event ) const
TMVA_Node* Search(TMVA_Event* event, TMVA_Node* node) const
Private, recursive, function for searching.
Double_t GetSumOfWeights( void )
Int_t GetNNodes( void )
Int_t CountNodes()
ostream& PrintOrdered( ostream & os, TMVA_Node* n ) const
void Print(ostream & os) const
Inline Functions
void SetRoot(TMVA_Node* r)
TMVA_Node* GetRoot() const
void SetPeriode(Int_t p)
Int_t GetPeriode() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TMVA_BinaryTree TMVA_BinaryTree(const TMVA_BinaryTree&)
TMVA_BinaryTree& operator=(const TMVA_BinaryTree&)
Author: Andreas Hoecker, Helge Voss, Kai Voss
Last update: root/tmva $Id: TMVA_BinaryTree.cxx,v 1.2 2006/05/09 08:37:06 brun Exp $
Copyright (c) 2005: *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.