Logo ROOT   6.08/07
Reference Guide
List of all members | 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 71 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)
 
const T & GetEvent () const
 
UInt_t GetMod () const
 
const NodeGetNodeL () const
 
const NodeGetNodeP () const
 
const NodeGetNodeR () const
 
Float_t GetVarDis () const
 
Float_t GetVarMax () const
 
Float_t GetVarMin () const
 
Double_t GetWeight () const
 
void Print () const
 
void Print (std::ostream &os, const std::string &offset="") const
 
void SetNodeL (Node *node)
 
void SetNodeR (Node *node)
 

Private Member Functions

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

Private Attributes

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

#include <TMVA/NodekNN.h>

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 229 of file NodekNN.h.

◆ ~Node()

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

Definition at line 242 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 250 of file NodekNN.h.

◆ GetEvent()

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

Definition at line 161 of file NodekNN.h.

◆ GetMod()

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

Definition at line 209 of file NodekNN.h.

◆ GetNodeL()

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

Definition at line 167 of file NodekNN.h.

◆ GetNodeP()

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

Definition at line 179 of file NodekNN.h.

◆ GetNodeR()

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

Definition at line 173 of file NodekNN.h.

◆ GetVarDis()

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

Definition at line 191 of file NodekNN.h.

◆ GetVarMax()

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

Definition at line 203 of file NodekNN.h.

◆ GetVarMin()

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

Definition at line 197 of file NodekNN.h.

◆ GetWeight()

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

Definition at line 185 of file NodekNN.h.

◆ 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 289 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 296 of file NodekNN.h.

◆ SetNodeL()

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

Definition at line 149 of file NodekNN.h.

◆ SetNodeR()

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

Definition at line 155 of file NodekNN.h.

Member Data Documentation

◆ fEvent

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

Definition at line 116 of file NodekNN.h.

◆ fMod

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

Definition at line 123 of file NodekNN.h.

◆ fNodeL

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

Definition at line 113 of file NodekNN.h.

◆ fNodeP

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

Definition at line 111 of file NodekNN.h.

◆ fNodeR

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

Definition at line 114 of file NodekNN.h.

◆ fVarDis

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

Definition at line 118 of file NodekNN.h.

◆ fVarMax

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

Definition at line 121 of file NodekNN.h.

◆ fVarMin

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

Definition at line 120 of file NodekNN.h.


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