1.2.1
CCC
 
KNN Class Reference

#include <KNN.hpp>

Public Member Functions

 KNN ()
 
 KNN (const KNN &p)
 
KNNoperator= (const KNN &p)
 
virtual ~KNN ()
 
void setDistances (double **distances)
 
void setIndices (int **indices)
 
void setNNeighbors (int n_neighbors)
 
void setNSamples (int n_samples)
 
int btree_query (t_btree *tree, const double **x, int n_samples, int n_features, int n_neigh)
 
VectorInt getIndices (int rank=0) const
 
int getIndex (int rank=0, int ineigh=0) const
 
VectorDouble getDistance (int rank=0) const
 

Constructor & Destructor Documentation

KNN::KNN ( )
KNN::KNN ( const KNN p)
KNN::~KNN ( )
virtual

Member Function Documentation

int KNN::btree_query ( t_btree tree,
const double **  x,
int  n_samples,
int  n_features,
int  n_neigh 
)
VectorDouble KNN::getDistance ( int  rank = 0) const
int KNN::getIndex ( int  rank = 0,
int  ineigh = 0 
) const
VectorInt KNN::getIndices ( int  rank = 0) const
KNN & KNN::operator= ( const KNN p)
void KNN::setDistances ( double **  distances)
inline
void KNN::setIndices ( int **  indices)
inline
void KNN::setNNeighbors ( int  n_neighbors)
inline
void KNN::setNSamples ( int  n_samples)
inline

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