#include <linear_index.h>
|
| LinearIndex (const Matrix< ElementType > &inputData, const IndexParams ¶ms=LinearIndexParams(), Distance d=Distance()) |
|
| LinearIndex (const LinearIndex &) |
|
LinearIndex & | operator= (const LinearIndex &) |
|
flann_algorithm_t | getType () const |
|
size_t | size () const |
|
size_t | veclen () const |
|
int | usedMemory () const |
|
void | addIndex (const Matrix< ElementType > &, const Matrix< ElementType > &) |
|
void | buildIndex () |
| Builds the index. More...
|
|
void | saveIndex (FILE *) |
| Saves the index to a stream. More...
|
|
void | loadIndex (FILE *) |
| Loads the index from a stream. More...
|
|
void | findNeighbors (ResultSet< DistanceType > &resultSet, const ElementType *vec, const SearchParams &) |
| Method that searches for nearest-neighbours. More...
|
|
IndexParams | getParameters () const |
|
virtual | ~NNIndex () |
|
virtual void | knnSearch (const Matrix< ElementType > &queries, Matrix< int > &indices, Matrix< DistanceType > &dists, int knn, const SearchParams ¶ms) |
| Perform k-nearest neighbor search. More...
|
|
virtual int | radiusSearch (const Matrix< ElementType > &query, Matrix< int > &indices, Matrix< DistanceType > &dists, float radius, const SearchParams ¶ms) |
| Perform radius search. More...
|
|
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
The documentation for this class was generated from the following file: