MetricKnn API
Fast Similarity Search using the Metric Space Approach
|
The result of a single query. More...
#include <mknn_result.hpp>
Public Attributes | |
long long | num_nns |
number of nearest neighbors. More... | |
double * | nn_distance |
the distance of each nearest neighbor to the query object. More... | |
long long * | nn_position |
the position in the search dataset of each nearest neighbor. More... | |
long long | num_distance_evaluations |
amount of distances evaluated for resolving this query. More... | |
The result of a single query.
double* mknn::ResultQuery::nn_distance |
the distance of each nearest neighbor to the query object.
long long* mknn::ResultQuery::nn_position |
the position in the search dataset of each nearest neighbor.
The actual object can be retrieved by calling Dataset::getObject.
long long mknn::ResultQuery::num_distance_evaluations |
amount of distances evaluated for resolving this query.
long long mknn::ResultQuery::num_nns |
number of nearest neighbors.