ROOT 6.08/07 Reference Guide |
Public Member Functions | |
Node () | |
Node (Node *p, char pos) | |
constructor of a daughter node as a daughter of 'p' More... | |
Node (const Node &n) | |
copy constructor, make sure you don't just copy the poiter to the node, but that the parents/daugthers are initialized to 0 (and set by the copy constructors of the derived classes More... | |
virtual | ~Node () |
node destructor More... | |
virtual void | AddAttributesToNode (void *node) const =0 |
virtual void | AddContentToNode (std::stringstream &s) const =0 |
void * | AddXMLTo (void *parent) const |
add attributes to XML More... | |
Int_t | CountMeAndAllDaughters () const |
recursively go through the part of the tree below this node and count all daughters More... | |
virtual Node * | CreateNode () const =0 |
int | GetCount () |
retuns the global number of instantiated nodes More... | |
UInt_t | GetDepth () const |
virtual Node * | GetLeft () const |
virtual Node * | GetParent () const |
virtual TMVA::BinaryTree * | GetParentTree () const |
char | GetPos () const |
virtual Node * | GetRight () const |
virtual Bool_t | GoesLeft (const Event &) const =0 |
virtual Bool_t | GoesRight (const Event &) const =0 |
virtual void | Print (std::ostream &os) const =0 |
virtual void | PrintRec (std::ostream &os) const =0 |
virtual void | ReadAttributes (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)=0 |
virtual void | ReadContent (std::stringstream &s)=0 |
virtual Bool_t | ReadDataRecord (std::istream &, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)=0 |
void | ReadXML (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE) |
read attributes from XML More... | |
void | SetDepth (UInt_t d) |
virtual void | SetLeft (Node *l) |
virtual void | SetParent (Node *p) |
virtual void | SetParentTree (TMVA::BinaryTree *t) |
void | SetPos (char s) |
virtual void | SetRight (Node *r) |
Protected Attributes | |
UInt_t | fDepth |
Node * | fLeft |
Node * | fParent |
BinaryTree * | fParentTree |
char | fPos |
Node * | fRight |
Static Private Attributes | |
static Int_t | fgCount = 0 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Node &node) |
std::ostream & | operator<< (std::ostream &os, const Node *node) |
#include <TMVA/Node.h>
TMVA::Node::Node | ( | Node * | p, |
char | pos | ||
) |
TMVA::Node::Node | ( | const Node & | n | ) |
Implemented in TMVA::DecisionTreeNode, TMVA::CCTreeWrapper::CCTreeNode, and TMVA::BinarySearchTreeNode.
|
pure virtual |
Implemented in TMVA::DecisionTreeNode, TMVA::CCTreeWrapper::CCTreeNode, and TMVA::BinarySearchTreeNode.
Int_t TMVA::Node::CountMeAndAllDaughters | ( | ) | const |
|
pure virtual |
Implemented in TMVA::DecisionTreeNode, TMVA::BinarySearchTreeNode, and TMVA::CCTreeWrapper::CCTreeNode.
int TMVA::Node::GetCount | ( | ) |
Reimplemented in TMVA::DecisionTreeNode.
|
inlinevirtual |
Reimplemented in TMVA::DecisionTreeNode.
|
inlinevirtual |
Reimplemented in TMVA::DecisionTreeNode.
Implemented in TMVA::DecisionTreeNode, TMVA::CCTreeWrapper::CCTreeNode, and TMVA::BinarySearchTreeNode.
Implemented in TMVA::DecisionTreeNode, TMVA::CCTreeWrapper::CCTreeNode, and TMVA::BinarySearchTreeNode.
|
pure virtual |
Implemented in TMVA::DecisionTreeNode, TMVA::CCTreeWrapper::CCTreeNode, and TMVA::BinarySearchTreeNode.
|
pure virtual |
Implemented in TMVA::DecisionTreeNode, TMVA::CCTreeWrapper::CCTreeNode, and TMVA::BinarySearchTreeNode.
|
pure virtual |
Implemented in TMVA::DecisionTreeNode, TMVA::CCTreeWrapper::CCTreeNode, and TMVA::BinarySearchTreeNode.
|
pure virtual |
Implemented in TMVA::DecisionTreeNode, TMVA::CCTreeWrapper::CCTreeNode, and TMVA::BinarySearchTreeNode.
|
pure virtual |
Implemented in TMVA::DecisionTreeNode, TMVA::CCTreeWrapper::CCTreeNode, and TMVA::BinarySearchTreeNode.
void TMVA::Node::ReadXML | ( | void * | node, |
UInt_t | tmva_Version_Code = TMVA_VERSION_CODE |
||
) |
Reimplemented in TMVA::DecisionTreeNode.
Reimplemented in TMVA::DecisionTreeNode.
|
inlinevirtual |
Reimplemented in TMVA::DecisionTreeNode.
|
friend |
|
friend |
|
protected |