OpenCV
4.0.0-alpha
Open Source Computer Vision
|
#include "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 |
Public Member Functions inherited from cvflann::ResultSet< DistanceType > | |
virtual | ~ResultSet () |
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 |
|
inline |
|
inlinevirtual |
Implements cvflann::ResultSet< DistanceType >.