1.1.0
CCC
 
Ball Class Reference

#include <Ball.hpp>

Public Member Functions

 Ball (const double **data=nullptr, int n_samples=0, int n_features=0, int leaf_size=30, int dist_type=1)
 
 Ball (const VectorVectorDouble &data, int leaf_size=10, int dist_type=1)
 
 Ball (const Db *db, int leaf_size=30, int dist_type=1, bool useSel=false)
 
 Ball (const Ball &p)=delete
 
Balloperator= (const Ball &p)=delete
 
virtual ~Ball ()
 
KNN query (const double **test, int n_samples, int n_features, int n_neighbors=1)
 
KNN queryAsVVD (const VectorVectorDouble &test, int n_neighbors=1)
 
KNN queryOne (const double *test, int n_features, int n_neighbors=1)
 
KNN queryOneAsVD (const VectorDouble &test, int n_neighbors=1)
 
int queryClosest (const VectorDouble &test)
 
void display (int level=-1) const
 

Constructor & Destructor Documentation

Ball::Ball ( const double **  data = nullptr,
int  n_samples = 0,
int  n_features = 0,
int  leaf_size = 30,
int  dist_type = 1 
)
Ball::Ball ( const VectorVectorDouble data,
int  leaf_size = 10,
int  dist_type = 1 
)
Ball::Ball ( const Db db,
int  leaf_size = 30,
int  dist_type = 1,
bool  useSel = false 
)
Ball::Ball ( const Ball p)
delete
Ball::~Ball ( )
virtual

Member Function Documentation

void Ball::display ( int  level = -1) const
Ball& Ball::operator= ( const Ball p)
delete
KNN Ball::query ( const double **  test,
int  n_samples,
int  n_features,
int  n_neighbors = 1 
)
KNN Ball::queryAsVVD ( const VectorVectorDouble test,
int  n_neighbors = 1 
)
int Ball::queryClosest ( const VectorDouble test)
KNN Ball::queryOne ( const double *  test,
int  n_features,
int  n_neighbors = 1 
)
KNN Ball::queryOneAsVD ( const VectorDouble test,
int  n_neighbors = 1 
)

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