KNNSimpleResultSet does not ensure that the element it holds are unique. More...
#include <opencv2/flann/result_set.h>
Public Member Functions | |
KNNSimpleResultSet (int capacity_) | |
void | addPoint (DistanceType dist, int index) CV_OVERRIDE |
bool | full () const CV_OVERRIDE |
void | init (int *indices_, DistanceType *dists_) |
size_t | size () const |
DistanceType | worstDist () const CV_OVERRIDE |
KNNSimpleResultSet does not ensure that the element it holds are unique.
Is used in those cases where the nearest neighbour algorithm used does not attempt to insert the same element multiple times.
|
inline |
|
inlinevirtual |
Implements cvflann::ResultSet< DistanceType >.
|
inlinevirtual |
Implements cvflann::ResultSet< DistanceType >.
|
inline |
References cv::max().
Referenced by cvflann::KDTreeSingleIndex< Distance >::knnSearch().
|
inline |
|
inlinevirtual |
Implements cvflann::ResultSet< DistanceType >.