MetricKnn API
Fast Similarity Search using the Metric Space Approach
|
A Resolver represents the parameters of a similarity search. More...
#include <mknn_resolver.hpp>
Public Member Functions | |
ResolverParams & | getParameters () |
Return the parameters used to create the resolver. More... | |
Index & | getIndex () |
Returns the index used to create the resolver. More... | |
Result | search (Dataset &query_dataset) |
Performs the configured similarity search. More... | |
Resolver () | |
Default constructor. | |
virtual | ~Resolver () |
Default destructor. | |
Resolver (const Resolver &other) | |
Copy constructor. | |
Resolver & | operator= (const Resolver &other) |
Assignment operator. | |
Protected Attributes | |
std::unique_ptr< Impl > | pimpl |
Internal opaque class. | |
Friends | |
class | Index |
A Resolver represents the parameters of a similarity search.
The constructor needs the search parameters and the index.
A similarity search is performed by calling method Resolver::search. The results of a search is stored in the object Result.
Index& mknn::Resolver::getIndex | ( | ) |
Returns the index used to create the resolver.
ResolverParams& mknn::Resolver::getParameters | ( | ) |
Return the parameters used to create the resolver.
Performs the configured similarity search.
delete_resolver_on_result_release | binds the lifetime of current resolver to the new result. |
query_dataset | the set of query objects to resolve |
delete_query_dataset_on_result_release | binds the lifetime of query_dataset to the new result. |