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