MetricKnn API
Fast Similarity Search using the Metric Space Approach
Public Attributes | List of all members
mknn::ResultQuery Class Reference

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

Detailed Description

The result of a single query.

Member Data Documentation

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.


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