MetricKnn API
Fast Similarity Search using the Metric Space Approach
Public Attributes | List of all members
MknnResultQuery Struct Reference

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...
 

Detailed Description

The result of a single query.

Member Data Documentation

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.


The documentation for this struct was generated from the following file:
Powered by Download MetricKnn