#include <BinarySearchTreeNode.h>
Inheritance diagram for TMVA::BinarySearchTreeNode:
Public Member Functions | |
BinarySearchTreeNode (const Event *e=NULL) | |
BinarySearchTreeNode (BinarySearchTreeNode *parent, char pos) | |
BinarySearchTreeNode (const BinarySearchTreeNode &n, BinarySearchTreeNode *parent=NULL) | |
virtual | ~BinarySearchTreeNode () |
virtual Node * | CreateNode () const |
virtual Bool_t | GoesRight (const Event &) const |
virtual Bool_t | GoesLeft (const Event &) const |
virtual Bool_t | EqualsMe (const Event &) const |
void | SetSelector (Short_t i) |
Short_t | GetSelector () const |
const std::vector< Float_t > & | GetEventV () const |
Float_t | GetWeight () const |
Bool_t | IsSignal () const |
const std::vector< Float_t > & | GetTargets () const |
virtual void | Print (std::ostream &os) const |
virtual void | PrintRec (std::ostream &os) const |
virtual void | AddAttributesToNode (void *node) const |
virtual void | AddContentToNode (std::stringstream &s) const |
BinarySearchTreeNode (const Event *e=NULL) | |
BinarySearchTreeNode (BinarySearchTreeNode *parent, char pos) | |
BinarySearchTreeNode (const BinarySearchTreeNode &n, BinarySearchTreeNode *parent=NULL) | |
virtual | ~BinarySearchTreeNode () |
virtual Node * | CreateNode () const |
virtual Bool_t | GoesRight (const Event &) const |
virtual Bool_t | GoesLeft (const Event &) const |
virtual Bool_t | EqualsMe (const Event &) const |
void | SetSelector (Short_t i) |
Short_t | GetSelector () const |
const std::vector< Float_t > & | GetEventV () const |
Float_t | GetWeight () const |
Bool_t | IsSignal () const |
const std::vector< Float_t > & | GetTargets () const |
virtual void | Print (std::ostream &os) const |
virtual void | PrintRec (std::ostream &os) const |
virtual void | AddAttributesToNode (void *node) const |
virtual void | AddContentToNode (std::stringstream &s) const |
Private Member Functions | |
virtual void | ReadAttributes (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE) |
virtual Bool_t | ReadDataRecord (std::istream &is, UInt_t tmva_Version_Code=TMVA_VERSION_CODE) |
virtual void | ReadContent (std::stringstream &s) |
virtual void | ReadAttributes (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE) |
virtual Bool_t | ReadDataRecord (std::istream &is, UInt_t tmva_Version_Code=TMVA_VERSION_CODE) |
virtual void | ReadContent (std::stringstream &s) |
Private Attributes | |
std::vector< Float_t > | fEventV |
std::vector< Float_t > | fTargets |
Float_t | fWeight |
UInt_t | fClass |
Short_t | fSelector |
std::vector< Float_t > | fEventV |
std::vector< Float_t > | fTargets |
Definition at line 57 of file BinarySearchTreeNode.h.
TMVA::BinarySearchTreeNode::BinarySearchTreeNode | ( | const Event * | e = NULL |
) |
Referenced by BinarySearchTreeNode(), and CreateNode().
TMVA::BinarySearchTreeNode::BinarySearchTreeNode | ( | BinarySearchTreeNode * | parent, | |
char | pos | |||
) |
Definition at line 71 of file BinarySearchTreeNode.cxx.
TMVA::BinarySearchTreeNode::BinarySearchTreeNode | ( | const BinarySearchTreeNode & | n, | |
BinarySearchTreeNode * | parent = NULL | |||
) |
Definition at line 83 of file BinarySearchTreeNode.cxx.
References BinarySearchTreeNode(), n, NULL, TMVA::Node::SetLeft(), TMVA::Node::SetParent(), and TMVA::Node::SetRight().
TMVA::BinarySearchTreeNode::~BinarySearchTreeNode | ( | ) | [virtual] |
Definition at line 104 of file BinarySearchTreeNode.cxx.
TMVA::BinarySearchTreeNode::BinarySearchTreeNode | ( | const Event * | e = NULL |
) |
TMVA::BinarySearchTreeNode::BinarySearchTreeNode | ( | BinarySearchTreeNode * | parent, | |
char | pos | |||
) |
TMVA::BinarySearchTreeNode::BinarySearchTreeNode | ( | const BinarySearchTreeNode & | n, | |
BinarySearchTreeNode * | parent = NULL | |||
) |
virtual TMVA::BinarySearchTreeNode::~BinarySearchTreeNode | ( | ) | [virtual] |
virtual Node* TMVA::BinarySearchTreeNode::CreateNode | ( | ) | const [inline, virtual] |
Implements TMVA::Node.
Definition at line 74 of file BinarySearchTreeNode.h.
References BinarySearchTreeNode().
Implements TMVA::Node.
Definition at line 110 of file BinarySearchTreeNode.cxx.
References fSelector, GetEventV(), and TMVA::Event::GetValue().
Implements TMVA::Node.
Definition at line 118 of file BinarySearchTreeNode.cxx.
References fSelector, GetEventV(), and TMVA::Event::GetValue().
Definition at line 126 of file BinarySearchTreeNode.cxx.
References GetEventV(), TMVA::Event::GetValue(), i, and result().
void TMVA::BinarySearchTreeNode::SetSelector | ( | Short_t | i | ) | [inline] |
Definition at line 86 of file BinarySearchTreeNode.h.
References fSelector.
Referenced by TMVA::BinarySearchTree::Insert().
Short_t TMVA::BinarySearchTreeNode::GetSelector | ( | ) | const [inline] |
const std::vector<Float_t>& TMVA::BinarySearchTreeNode::GetEventV | ( | ) | const [inline] |
Definition at line 90 of file BinarySearchTreeNode.h.
References fEventV.
Referenced by TMVA::BinarySearchTree::CalcStatistics(), EqualsMe(), TMVA::MethodPDERS::GetNormalizedDistance(), GoesLeft(), and GoesRight().
Float_t TMVA::BinarySearchTreeNode::GetWeight | ( | ) | const [inline] |
Definition at line 91 of file BinarySearchTreeNode.h.
References fWeight.
Referenced by TMVA::BinarySearchTree::CalcStatistics().
Bool_t TMVA::BinarySearchTreeNode::IsSignal | ( | ) | const [inline] |
Definition at line 92 of file BinarySearchTreeNode.h.
References fClass.
Referenced by AddAttributesToNode(), and TMVA::BinarySearchTree::CalcStatistics().
const std::vector<Float_t>& TMVA::BinarySearchTreeNode::GetTargets | ( | ) | const [inline] |
virtual void TMVA::BinarySearchTreeNode::Print | ( | std::ostream & | os | ) | const [virtual] |
Implements TMVA::Node.
virtual void TMVA::BinarySearchTreeNode::PrintRec | ( | std::ostream & | os | ) | const [virtual] |
Implements TMVA::Node.
void TMVA::BinarySearchTreeNode::AddAttributesToNode | ( | void * | node | ) | const [virtual] |
Implements TMVA::Node.
Definition at line 224 of file BinarySearchTreeNode.cxx.
References TMVA::Tools::AddAttr(), fEventV, fSelector, TMVA::gTools(), and IsSignal().
void TMVA::BinarySearchTreeNode::AddContentToNode | ( | std::stringstream & | s | ) | const [virtual] |
void TMVA::BinarySearchTreeNode::ReadAttributes | ( | void * | node, | |
UInt_t | tmva_Version_Code = TMVA_VERSION_CODE | |||
) | [private, virtual] |
Implements TMVA::Node.
Definition at line 209 of file BinarySearchTreeNode.cxx.
References fClass, fEventV, fSelector, TMVA::gTools(), and TMVA::Tools::ReadAttr().
virtual Bool_t TMVA::BinarySearchTreeNode::ReadDataRecord | ( | std::istream & | is, | |
UInt_t | tmva_Version_Code = TMVA_VERSION_CODE | |||
) | [private, virtual] |
Implements TMVA::Node.
void TMVA::BinarySearchTreeNode::ReadContent | ( | std::stringstream & | s | ) | [private, virtual] |
virtual Node* TMVA::BinarySearchTreeNode::CreateNode | ( | ) | const [inline, virtual] |
Implements TMVA::Node.
Definition at line 74 of file BinarySearchTreeNode.h.
References BinarySearchTreeNode().
Implements TMVA::Node.
Implements TMVA::Node.
void TMVA::BinarySearchTreeNode::SetSelector | ( | Short_t | i | ) | [inline] |
Short_t TMVA::BinarySearchTreeNode::GetSelector | ( | ) | const [inline] |
const std::vector<Float_t>& TMVA::BinarySearchTreeNode::GetEventV | ( | ) | const [inline] |
Float_t TMVA::BinarySearchTreeNode::GetWeight | ( | ) | const [inline] |
Bool_t TMVA::BinarySearchTreeNode::IsSignal | ( | ) | const [inline] |
const std::vector<Float_t>& TMVA::BinarySearchTreeNode::GetTargets | ( | ) | const [inline] |
virtual void TMVA::BinarySearchTreeNode::Print | ( | std::ostream & | os | ) | const [virtual] |
Implements TMVA::Node.
virtual void TMVA::BinarySearchTreeNode::PrintRec | ( | std::ostream & | os | ) | const [virtual] |
Implements TMVA::Node.
virtual void TMVA::BinarySearchTreeNode::AddAttributesToNode | ( | void * | node | ) | const [virtual] |
Implements TMVA::Node.
virtual void TMVA::BinarySearchTreeNode::AddContentToNode | ( | std::stringstream & | s | ) | const [virtual] |
Implements TMVA::Node.
virtual void TMVA::BinarySearchTreeNode::ReadAttributes | ( | void * | node, | |
UInt_t | tmva_Version_Code = TMVA_VERSION_CODE | |||
) | [private, virtual] |
Implements TMVA::Node.
virtual Bool_t TMVA::BinarySearchTreeNode::ReadDataRecord | ( | std::istream & | is, | |
UInt_t | tmva_Version_Code = TMVA_VERSION_CODE | |||
) | [private, virtual] |
Implements TMVA::Node.
virtual void TMVA::BinarySearchTreeNode::ReadContent | ( | std::stringstream & | s | ) | [private, virtual] |
Implements TMVA::Node.
std::vector<Float_t> TMVA::BinarySearchTreeNode::fEventV [private] |
Definition at line 111 of file BinarySearchTreeNode.h.
Referenced by AddAttributesToNode(), AddContentToNode(), GetEventV(), ReadAttributes(), and ReadContent().
std::vector<Float_t> TMVA::BinarySearchTreeNode::fTargets [private] |
Definition at line 112 of file BinarySearchTreeNode.h.
Referenced by AddContentToNode(), GetTargets(), and ReadContent().
Float_t TMVA::BinarySearchTreeNode::fWeight [private] |
UInt_t TMVA::BinarySearchTreeNode::fClass [private] |
Definition at line 116 of file BinarySearchTreeNode.h.
Referenced by IsSignal(), and ReadAttributes().
Short_t TMVA::BinarySearchTreeNode::fSelector [private] |
Definition at line 118 of file BinarySearchTreeNode.h.
Referenced by AddAttributesToNode(), GetSelector(), GoesLeft(), GoesRight(), ReadAttributes(), and SetSelector().
std::vector<Float_t> TMVA::BinarySearchTreeNode::fEventV [private] |
Definition at line 111 of file BinarySearchTreeNode.h.
std::vector<Float_t> TMVA::BinarySearchTreeNode::fTargets [private] |
Definition at line 112 of file BinarySearchTreeNode.h.