#include <bindingObjects.hpp>
strus::VectorStorageSearcher::~VectorStorageSearcher |
( |
| ) |
|
|
inline |
void strus::VectorStorageSearcher::close |
( |
| ) |
|
Controlled close to free resources (forcing free resources in interpreter context with garbage collector)
VecRankVector strus::VectorStorageSearcher::findSimilar |
( |
const FloatVector & |
vec, |
|
|
unsigned int |
maxNofResults |
|
) |
| const |
Find the most similar vectors to vector.
- Parameters
-
[in] | vec | vector to search for |
[in] | maxNofResults | maximum number of results to return return the list of most similar vectors |
VecRankVector strus::VectorStorageSearcher::findSimilarFromSelection |
( |
const IndexVector & |
featidxlist, |
|
|
const FloatVector & |
vec, |
|
|
unsigned int |
maxNofResults |
|
) |
| const |
Find the most similar vectors to vector in a selection of features addressed by index.
- Parameters
-
[in] | featidxlist | list of candidate indices |
[in] | vec | vector to search for |
[in] | maxNofResults | maximum number of results to return return the list of most similar vectors |
The documentation for this class was generated from the following file: