#include <result_set.h>
Inherits cvflann::ResultSet< DistanceType >.
Public Member Functions | |
| KNNResultSet (int capacity_) | |
| void | init (int *indices_, DistanceType *dists_) |
| size_t | size () const |
| bool | full () const |
| void | addPoint (DistanceType dist, int index) |
| DistanceType | worstDist () const |
K-Nearest neighbour result set. Ensures that the elements inserted are unique
| cvflann::KNNResultSet< DistanceType >::KNNResultSet | ( | int | capacity_ | ) |
| void cvflann::KNNResultSet< DistanceType >::init | ( | int * | indices_, |
| DistanceType * | dists_ | ||
| ) |
| size_t cvflann::KNNResultSet< DistanceType >::size | ( | ) | const |
| bool cvflann::KNNResultSet< DistanceType >::full | ( | ) | const [virtual] |
Implements cvflann::ResultSet< DistanceType >.
| void cvflann::KNNResultSet< DistanceType >::addPoint | ( | DistanceType | dist, |
| int | index | ||
| ) | [virtual] |
Implements cvflann::ResultSet< DistanceType >.
| DistanceType cvflann::KNNResultSet< DistanceType >::worstDist | ( | ) | const [virtual] |
Implements cvflann::ResultSet< DistanceType >.