MetricKnn API
Fast Similarity Search using the Metric Space Approach
|
The result of a search for a set of queries. More...
#include <mknn_result.hpp>
Public Member Functions | |
long long | getNumQueries () |
double | getTotalSearchTime () |
long long | getTotalDistanceEvaluations () |
Resolver & | getResolver () |
Dataset & | getQueryDataset () |
ResultQuery | getResultQuery (long long num_query) |
Returns the result for each query in the query dataset. More... | |
Result () | |
Default constructor. | |
virtual | ~Result () |
Default destructor. | |
Result (const Result &other) | |
Copy constructor. | |
Result & | operator= (const Result &other) |
Assignment operator. | |
Protected Attributes | |
std::unique_ptr< Impl > | pimpl |
Internal opaque class. | |
Friends | |
class | Resolver |
The result of a search for a set of queries.
long long mknn::Result::getNumQueries | ( | ) |
Dataset& mknn::Result::getQueryDataset | ( | ) |
Resolver& mknn::Result::getResolver | ( | ) |
ResultQuery mknn::Result::getResultQuery | ( | long long | num_query | ) |
Returns the result for each query in the query dataset.
num_query | the number of query to return, between 0 and getNumQueries - 1. |
long long mknn::Result::getTotalDistanceEvaluations | ( | ) |
double mknn::Result::getTotalSearchTime | ( | ) |