virtual | ~BinaryTree() |
virtual void* | AddXMLTo(void* parent) const |
static TClass* | Class() |
virtual const char* | ClassName() const |
UInt_t | CountNodes(TMVA::Node* n = NULL) |
static TMVA::BinaryTree* | CreateFromXML(void* node, UInt_t tmva_Version_Code = TMVA_VERSION_CODE) |
virtual TMVA::Node* | CreateNode(UInt_t size = 0) const |
virtual TMVA::BinaryTree* | CreateTree() const |
TMVA::Node* | GetLeftDaughter(TMVA::Node* n) |
UInt_t | GetNNodes() const |
TMVA::Node* | GetRightDaughter(TMVA::Node* n) |
TMVA::Node* | GetRoot() const |
UInt_t | GetTotalTreeDepth() const |
virtual TClass* | IsA() const |
TMVA::BinaryTree& | operator=(const TMVA::BinaryTree&) |
virtual void | Print(ostream& os) const |
virtual void | Read(istream& istr, UInt_t tmva_Version_Code = TMVA_VERSION_CODE) |
virtual void | ReadXML(void* node, UInt_t tmva_Version_Code = TMVA_VERSION_CODE) |
void | SetRoot(TMVA::Node* r) |
void | SetTotalTreeDepth(Int_t depth) |
void | SetTotalTreeDepth(TMVA::Node* n = NULL) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
protected, recursive, function used by the class destructor and when Pruning
return the number of nodes in the tree. (make a new count --> takes time)
re-create a new tree (decision tree or search tree) from XML
Read the binary tree from an input stream. The input stream format depends on the tree type, it is defined be the node of the tree
descend a tree to find all its leaf nodes, fill max depth reached in the tree at the same time.
get number of Nodes in the Tree as counted while booking the nodes;
{ return fNNodes; }