|
void | addPoints (const Matrix< ElementType > &points, float rebuild_threshold=2) |
| Incrementally add points to the index. More...
|
|
BaseClass * | clone () const |
|
void | findNeighbors (ResultSet< DistanceType > &resultSet, const ElementType *vec, const SearchParams &) const |
|
flann_algorithm_t | getType () const |
|
| LinearIndex (const IndexParams ¶ms=LinearIndexParams(), Distance d=Distance()) |
|
| LinearIndex (const LinearIndex &other) |
|
| LinearIndex (const Matrix< ElementType > &input_data, const IndexParams ¶ms=LinearIndexParams(), Distance d=Distance()) |
|
void | loadIndex (FILE *stream) |
|
LinearIndex & | operator= (LinearIndex other) |
|
void | saveIndex (FILE *stream) |
|
template<typename Archive > |
void | serialize (Archive &ar) |
|
int | usedMemory () const |
|
virtual | ~LinearIndex () |
|
virtual void | buildIndex () |
|
virtual void | buildIndex (const Matrix< ElementType > &dataset) |
|
IndexParams | getParameters () const |
|
virtual ElementType * | getPoint (size_t id) |
|
virtual int | knnSearch (const Matrix< ElementType > &queries, Matrix< size_t > &indices, Matrix< DistanceType > &dists, size_t knn, const SearchParams ¶ms) const |
| Perform k-nearest neighbor search. More...
|
|
int | knnSearch (const Matrix< ElementType > &queries, std::vector< std::vector< int > > &indices, std::vector< std::vector< DistanceType > > &dists, size_t knn, const SearchParams ¶ms) const |
|
virtual int | knnSearch (const Matrix< ElementType > &queries, std::vector< std::vector< size_t > > &indices, std::vector< std::vector< DistanceType > > &dists, size_t knn, const SearchParams ¶ms) const |
| Perform k-nearest neighbor search. More...
|
|
| NNIndex (const IndexParams ¶ms, Distance d) |
|
| NNIndex (const NNIndex &other) |
|
| NNIndex (Distance d) |
|
int | radiusSearch (const Matrix< ElementType > &queries, Matrix< int > &indices, Matrix< DistanceType > &dists, float radius, const SearchParams ¶ms) const |
|
virtual int | radiusSearch (const Matrix< ElementType > &queries, Matrix< size_t > &indices, Matrix< DistanceType > &dists, float radius, const SearchParams ¶ms) const |
| Perform radius search. More...
|
|
int | radiusSearch (const Matrix< ElementType > &queries, std::vector< std::vector< int > > &indices, std::vector< std::vector< DistanceType > > &dists, float radius, const SearchParams ¶ms) const |
|
virtual int | radiusSearch (const Matrix< ElementType > &queries, std::vector< std::vector< size_t > > &indices, std::vector< std::vector< DistanceType > > &dists, float radius, const SearchParams ¶ms) const |
| Perform radius search. More...
|
|
size_t | removedCount () const |
|
virtual void | removePoint (size_t id) |
|
template<typename Archive > |
void | serialize (Archive &ar) |
|
size_t | size () const |
|
size_t | sizeAtBuild () const |
|
size_t | veclen () const |
|
virtual | ~NNIndex () |
|
virtual | ~IndexBase () |
|
template<typename Distance>
class rtflann::LinearIndex< Distance >
Definition at line 77 of file linear_index.h.