template class cvflann::KNNResultSet
K-Nearest neighbour result set. Ensures that the elements inserted are unique
#include <result_set.h> template <typename DistanceType> class KNNResultSet: public cvflann::ResultSet { public: // construction KNNResultSet(int capacity_); // methods virtual void addPoint( DistanceType dist, int index ); virtual bool full() const; void init( int* indices_, DistanceType* dists_ ); size_t size() const; virtual DistanceType worstDist() const; };