ROOT  6.06/08
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TMVA::kNN::Node< T > Class Template Reference

template<class T>
class TMVA::kNN::Node< T >

Definition at line 70 of file NodekNN.h.

Public Member Functions

 Node (const Node *parent, const T &event, Int_t mod)
 
 ~Node ()
 
const NodeAdd (const T &event, UInt_t depth)
 
void SetNodeL (Node *node)
 
void SetNodeR (Node *node)
 
const T & GetEvent () const
 
const NodeGetNodeL () const
 
const NodeGetNodeR () const
 
const NodeGetNodeP () const
 
Double_t GetWeight () const
 
Float_t GetVarDis () const
 
Float_t GetVarMin () const
 
Float_t GetVarMax () const
 
UInt_t GetMod () const
 
void Print () const
 
void Print (std::ostream &os, const std::string &offset="") const
 

Private Member Functions

 Node ()
 
 Node (const Node &)
 
const Nodeoperator= (const Node &)
 

Private Attributes

const NodefNodeP
 
NodefNodeL
 
NodefNodeR
 
const T fEvent
 
const Float_t fVarDis
 
Float_t fVarMin
 
Float_t fVarMax
 
const UInt_t fMod
 

#include <TMVA/NodekNN.h>

+ Collaboration diagram for TMVA::kNN::Node< T >:

Constructor & Destructor Documentation

§ Node() [1/3]

template<class T>
TMVA::kNN::Node< T >::Node ( const Node< T > *  parent,
const T &  event,
Int_t  mod 
)

Definition at line 228 of file NodekNN.h.

§ ~Node()

template<class T >
TMVA::kNN::Node< T >::~Node ( )

Definition at line 241 of file NodekNN.h.

§ Node() [2/3]

template<class T>
TMVA::kNN::Node< T >::Node ( )
private

§ Node() [3/3]

template<class T>
TMVA::kNN::Node< T >::Node ( const Node< T > &  )
private

Member Function Documentation

§ Add()

template<class T>
const TMVA::kNN::Node< T > * TMVA::kNN::Node< T >::Add ( const T &  event,
UInt_t  depth 
)

Definition at line 249 of file NodekNN.h.

Referenced by TMVA::kNN::Node< TMVA::kNN::Event >::Add().

§ GetEvent()

template<class T >
const T & TMVA::kNN::Node< T >::GetEvent ( ) const
inline

§ GetMod()

template<class T >
UInt_t TMVA::kNN::Node< T >::GetMod ( ) const
inline

Definition at line 208 of file NodekNN.h.

Referenced by TMVA::kNN::Node< TMVA::kNN::Event >::Print().

§ GetNodeL()

template<class T >
const Node< T > * TMVA::kNN::Node< T >::GetNodeL ( ) const
inline

Definition at line 166 of file NodekNN.h.

Referenced by TMVA::kNN::Node< TMVA::kNN::Event >::Print().

§ GetNodeP()

template<class T >
const Node< T > * TMVA::kNN::Node< T >::GetNodeP ( ) const
inline

Definition at line 178 of file NodekNN.h.

Referenced by TMVA::kNN::Depth().

§ GetNodeR()

template<class T >
const Node< T > * TMVA::kNN::Node< T >::GetNodeR ( ) const
inline

Definition at line 172 of file NodekNN.h.

Referenced by TMVA::kNN::Node< TMVA::kNN::Event >::Print().

§ GetVarDis()

template<class T >
Float_t TMVA::kNN::Node< T >::GetVarDis ( ) const
inline

Definition at line 190 of file NodekNN.h.

§ GetVarMax()

template<class T >
Float_t TMVA::kNN::Node< T >::GetVarMax ( ) const
inline

Definition at line 202 of file NodekNN.h.

Referenced by TMVA::kNN::Node< TMVA::kNN::Event >::Print().

§ GetVarMin()

template<class T >
Float_t TMVA::kNN::Node< T >::GetVarMin ( ) const
inline

Definition at line 196 of file NodekNN.h.

Referenced by TMVA::kNN::Node< TMVA::kNN::Event >::Print().

§ GetWeight()

template<class T >
Double_t TMVA::kNN::Node< T >::GetWeight ( ) const
inline

§ operator=()

template<class T>
const Node& TMVA::kNN::Node< T >::operator= ( const Node< T > &  )
private

§ Print() [1/2]

template<class T >
void TMVA::kNN::Node< T >::Print ( ) const

Definition at line 288 of file NodekNN.h.

§ Print() [2/2]

template<class T >
void TMVA::kNN::Node< T >::Print ( std::ostream &  os,
const std::string &  offset = "" 
) const

Definition at line 295 of file NodekNN.h.

§ SetNodeL()

template<class T >
void TMVA::kNN::Node< T >::SetNodeL ( Node< T > *  node)
inline

Definition at line 148 of file NodekNN.h.

Referenced by TMVA::kNN::ModulekNN::Optimize().

§ SetNodeR()

template<class T >
void TMVA::kNN::Node< T >::SetNodeR ( Node< T > *  node)
inline

Definition at line 154 of file NodekNN.h.

Referenced by TMVA::kNN::ModulekNN::Optimize().

Member Data Documentation

§ fEvent

template<class T>
const T TMVA::kNN::Node< T >::fEvent
private

§ fMod

template<class T>
const UInt_t TMVA::kNN::Node< T >::fMod
private

Definition at line 122 of file NodekNN.h.

Referenced by TMVA::kNN::Node< TMVA::kNN::Event >::GetMod().

§ fNodeL

template<class T>
Node* TMVA::kNN::Node< T >::fNodeL
private

§ fNodeP

template<class T>
const Node* TMVA::kNN::Node< T >::fNodeP
private

Definition at line 110 of file NodekNN.h.

Referenced by TMVA::kNN::Node< TMVA::kNN::Event >::GetNodeP().

§ fNodeR

template<class T>
Node* TMVA::kNN::Node< T >::fNodeR
private

§ fVarDis

template<class T>
const Float_t TMVA::kNN::Node< T >::fVarDis
private

Definition at line 117 of file NodekNN.h.

Referenced by TMVA::kNN::Node< TMVA::kNN::Event >::GetVarDis().

§ fVarMax

template<class T>
Float_t TMVA::kNN::Node< T >::fVarMax
private

Definition at line 120 of file NodekNN.h.

Referenced by TMVA::kNN::Node< TMVA::kNN::Event >::GetVarMax().

§ fVarMin

template<class T>
Float_t TMVA::kNN::Node< T >::fVarMin
private

Definition at line 119 of file NodekNN.h.

Referenced by TMVA::kNN::Node< TMVA::kNN::Event >::GetVarMin().


The documentation for this class was generated from the following file: