102 virtual void Print( std::ostream& os )
const = 0;
105 virtual void PrintRec ( std::ostream& os )
const = 0;
#define ClassDef(name, id)
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
#define TMVA_VERSION_CODE
Base class for BinarySearch and Decision Trees.
Node for the BinarySearch or Decision Trees.
virtual void ReadContent(std::stringstream &s)=0
virtual void ReadAttributes(void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)=0
virtual void Print(std::ostream &os) const =0
virtual Node * GetLeft() const
virtual Node * GetParent() const
virtual TMVA::BinaryTree * GetParentTree() const
virtual void PrintRec(std::ostream &os) const =0
virtual Node * CreateNode() const =0
virtual void SetRight(Node *r)
virtual Bool_t GoesLeft(const Event &) const =0
virtual void SetLeft(Node *l)
virtual void AddContentToNode(std::stringstream &s) const =0
virtual void SetParentTree(TMVA::BinaryTree *t)
void * AddXMLTo(void *parent) const
add attributes to XML
virtual Bool_t ReadDataRecord(std::istream &, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)=0
int GetCount()
returns the global number of instantiated nodes
Int_t CountMeAndAllDaughters() const
recursively go through the part of the tree below this node and count all daughters
virtual void SetParent(Node *p)
virtual Bool_t GoesRight(const Event &) const =0
virtual ~Node()
node destructor
friend std::ostream & operator<<(std::ostream &os, const Node &node)
virtual void AddAttributesToNode(void *node) const =0
virtual Node * GetRight() const
void ReadXML(void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
read attributes from XML
create variable transformations