K-Nearest neighbour result set. More...
#include "result_set.h"
Public Member Functions | |
KNNResultSet (int capacity_) | |
void | addPoint (DistanceType dist, int index) |
bool | full () const |
void | init (int *indices_, DistanceType *dists_) |
size_t | size () const |
DistanceType | worstDist () const |
K-Nearest neighbour result set.
Ensures that the elements inserted are unique
|
inline |
|
inlinevirtual |
Implements cvflann::ResultSet< DistanceType >.
|
inlinevirtual |
Implements cvflann::ResultSet< DistanceType >.
|
inline |
References cv::max().
Referenced by cvflann::NNIndex< cv::L1< ElementType > >::knnSearch(), and cvflann::search_with_ground_truth().
|
inline |
|
inlinevirtual |
Implements cvflann::ResultSet< DistanceType >.