library: libTMVA #include "BinarySearchTreeNode.h" |
Node for the BinarySearch or Decision Trees
for the binary search tree, it basically consists of the EVENT, and
pointers to the parent and daughters
in case of the Decision Tree, it specifies parent and daughters, as
well as "which variable is used" in the selection of this node, including
the respective cut value.
______________________________________________________________________
check if the event fed into the node goes/decends to the right daughter
check if the event fed into the node goes/decends to the left daughter
check if the event fed into the node actually equals the event that forms the node (in case of a search tree)
recursively read the node and its daughters (--> print the 'tree')
constructor of a node for the search tree
{}
constructor of a daughter node as a daughter of 'p'
{}
set index of variable used for discrimination at this node return index of variable used for discrimination at this node
{ fSelector = i; }
return true/false if the EVENT* that forms the node is owned by the node or not set if the EVENT* that forms the node is owned by the node or not
{ return fEventOwnership; }