9 #ifndef MKNN_RESULT_HPP_
10 #define MKNN_RESULT_HPP_
12 #include "../metricknn_cpp.hpp"
81 std::unique_ptr<Impl>
pimpl;
ResultQuery getResultQuery(long long num_query)
Returns the result for each query in the query dataset.
std::unique_ptr< Impl > pimpl
Internal opaque class.
Definition: mknn_result.hpp:77
double getTotalSearchTime()
The result of a single query.
Definition: mknn_result.hpp:90
long long num_distance_evaluations
amount of distances evaluated for resolving this query.
Definition: mknn_result.hpp:95
Represents a set of objects of any type.
Definition: mknn_dataset.hpp:23
Result()
Default constructor.
long long * nn_position
the position in the search dataset of each nearest neighbor.
Definition: mknn_result.hpp:94
The result of a search for a set of queries.
Definition: mknn_result.hpp:22
Definition: mevaluation_answers.hpp:18
long long getNumQueries()
virtual ~Result()
Default destructor.
Dataset & getQueryDataset()
long long num_nns
number of nearest neighbors.
Definition: mknn_result.hpp:92
Result & operator=(const Result &other)
Assignment operator.
double * nn_distance
the distance of each nearest neighbor to the query object.
Definition: mknn_result.hpp:93
long long getTotalDistanceEvaluations()
A Resolver represents the parameters of a similarity search.
Definition: mknn_resolver.hpp:27