Logo ROOT   master
Reference Guide
TMVA::kNN Namespace Reference

Classes

class  Event
 
class  ModulekNN
 
class  Node
 This file contains binary tree and global function template that searches tree for k-nearest neigbors. More...
 

Functions

template<class T >
UInt_t Depth (const Node< T > *node)
 
template<class T >
UInt_t Find (std::list< std::pair< const Node< T > *, Float_t > > &nlist, const Node< T > *node, const T &event, UInt_t nfind)
 
template<class T >
UInt_t Find (std::list< std::pair< const Node< T > *, Float_t > > &nlist, const Node< T > *node, const T &event, Double_t nfind, Double_t ncurr)
 
std::ostream & operator<< (std::ostream &os, const Event &event)
 

Function Documentation

◆ Depth()

template<class T >
UInt_t TMVA::kNN::Depth ( const Node< T > *  node)

Definition at line 213 of file NodekNN.h.

◆ Find() [1/2]

template<class T >
UInt_t TMVA::kNN::Find ( std::list< std::pair< const Node< T > *, Float_t > > &  nlist,
const Node< T > *  node,
const T &  event,
UInt_t  nfind 
)

◆ Find() [2/2]

template<class T >
UInt_t TMVA::kNN::Find ( std::list< std::pair< const Node< T > *, Float_t > > &  nlist,
const Node< T > *  node,
const T &  event,
Double_t  nfind,
Double_t  ncurr 
)

◆ operator<<()

std::ostream& TMVA::kNN::operator<< ( std::ostream &  os,
const Event event 
)