TMVA::BinarySearchTreeNode Class Reference

#include <BinarySearchTreeNode.h>

Inheritance diagram for TMVA::BinarySearchTreeNode:

TMVA::Node TMVA::Node List of all members.

Public Member Functions

 BinarySearchTreeNode (const Event *e=NULL)
 BinarySearchTreeNode (BinarySearchTreeNode *parent, char pos)
 BinarySearchTreeNode (const BinarySearchTreeNode &n, BinarySearchTreeNode *parent=NULL)
virtual ~BinarySearchTreeNode ()
virtual NodeCreateNode () 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 NodeCreateNode () 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_tfEventV
std::vector< Float_tfTargets
Float_t fWeight
UInt_t fClass
Short_t fSelector
std::vector< Float_tfEventV
std::vector< Float_tfTargets

Detailed Description

Definition at line 57 of file BinarySearchTreeNode.h.


Constructor & Destructor Documentation

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]


Member Function Documentation

virtual Node* TMVA::BinarySearchTreeNode::CreateNode (  )  const [inline, virtual]

Implements TMVA::Node.

Definition at line 74 of file BinarySearchTreeNode.h.

References BinarySearchTreeNode().

Bool_t TMVA::BinarySearchTreeNode::GoesRight ( const Event  )  const [virtual]

Implements TMVA::Node.

Definition at line 110 of file BinarySearchTreeNode.cxx.

References fSelector, GetEventV(), and TMVA::Event::GetValue().

Bool_t TMVA::BinarySearchTreeNode::GoesLeft ( const Event  )  const [virtual]

Implements TMVA::Node.

Definition at line 118 of file BinarySearchTreeNode.cxx.

References fSelector, GetEventV(), and TMVA::Event::GetValue().

Bool_t TMVA::BinarySearchTreeNode::EqualsMe ( const Event  )  const [virtual]

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]

Definition at line 88 of file BinarySearchTreeNode.h.

References fSelector.

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]

Definition at line 94 of file BinarySearchTreeNode.h.

References fTargets.

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]

Implements TMVA::Node.

Definition at line 234 of file BinarySearchTreeNode.cxx.

References fEventV, fTargets, and i.

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]

Implements TMVA::Node.

Definition at line 244 of file BinarySearchTreeNode.cxx.

References fEventV, fTargets, and i.

virtual Node* TMVA::BinarySearchTreeNode::CreateNode (  )  const [inline, virtual]

Implements TMVA::Node.

Definition at line 74 of file BinarySearchTreeNode.h.

References BinarySearchTreeNode().

virtual Bool_t TMVA::BinarySearchTreeNode::GoesRight ( const Event  )  const [virtual]

Implements TMVA::Node.

virtual Bool_t TMVA::BinarySearchTreeNode::GoesLeft ( const Event  )  const [virtual]

Implements TMVA::Node.

virtual Bool_t TMVA::BinarySearchTreeNode::EqualsMe ( const Event  )  const [virtual]

void TMVA::BinarySearchTreeNode::SetSelector ( Short_t  i  )  [inline]

Definition at line 86 of file BinarySearchTreeNode.h.

References fSelector.

Short_t TMVA::BinarySearchTreeNode::GetSelector (  )  const [inline]

Definition at line 88 of file BinarySearchTreeNode.h.

References fSelector.

const std::vector<Float_t>& TMVA::BinarySearchTreeNode::GetEventV (  )  const [inline]

Definition at line 90 of file BinarySearchTreeNode.h.

References fEventV.

Float_t TMVA::BinarySearchTreeNode::GetWeight (  )  const [inline]

Definition at line 91 of file BinarySearchTreeNode.h.

References fWeight.

Bool_t TMVA::BinarySearchTreeNode::IsSignal (  )  const [inline]

Definition at line 92 of file BinarySearchTreeNode.h.

References fClass.

const std::vector<Float_t>& TMVA::BinarySearchTreeNode::GetTargets (  )  const [inline]

Definition at line 94 of file BinarySearchTreeNode.h.

References fTargets.

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.


Member Data Documentation

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]

Definition at line 114 of file BinarySearchTreeNode.h.

Referenced by GetWeight().

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.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 17:01:04 2011 for ROOT_528-00b_version by  doxygen 1.5.1