10 #define MKNN_RESULT_H_
16 #include "../metricknn_c.h"
int64_t num_nns
number of nearest neighbors.
Definition: mknn_result.h:77
MknnResolver * mknn_result_getResolver(MknnResult *result)
Definition: result.c:54
int64_t mknn_result_getTotalDistanceEvaluations(MknnResult *result)
Definition: result.c:49
double mknn_result_getTotalSearchTime(MknnResult *result)
Definition: result.c:44
int64_t num_distance_evaluations
amount of distances evaluated for resolving this query.
Definition: mknn_result.h:80
int64_t mknn_result_getNumQueries(MknnResult *result)
Definition: result.c:39
The result of a single query.
Definition: mknn_result.h:76
MknnResultQuery * mknn_result_getResultQuery(MknnResult *result, int64_t num_query)
Returns the result for each query in the query dataset.
Definition: result.c:64
Definition: resolver.c:11
double * nn_distance
the distance of each nearest neighbor to the query object.
Definition: mknn_result.h:78
MknnDataset * mknn_result_getQueryDataset(MknnResult *result)
Definition: result.c:59
int64_t * nn_position
the position in the search dataset of each nearest neighbor.
Definition: mknn_result.h:79
void mknn_result_release(MknnResult *result)
Releases the result of a search (including the result for each query) that may have been returned by ...
Definition: result.c:103