ROOT  6.06/09
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

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.

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

Definition at line 241 of file NodekNN.h.

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

Member Function Documentation

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< T >::Add().

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

Definition at line 208 of file NodekNN.h.

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

Definition at line 166 of file NodekNN.h.

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().

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

Definition at line 172 of file NodekNN.h.

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

Definition at line 190 of file NodekNN.h.

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

Definition at line 202 of file NodekNN.h.

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

Definition at line 196 of file NodekNN.h.

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

Definition at line 184 of file NodekNN.h.

Referenced by TMVA::MethodKNN::GetMvaValue().

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

Definition at line 288 of file NodekNN.h.

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.

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().

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

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

Definition at line 115 of file NodekNN.h.

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

Definition at line 122 of file NodekNN.h.

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

Definition at line 112 of file NodekNN.h.

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

Definition at line 110 of file NodekNN.h.

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

Definition at line 113 of file NodekNN.h.

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

Definition at line 117 of file NodekNN.h.

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

Definition at line 120 of file NodekNN.h.

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

Definition at line 119 of file NodekNN.h.


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