strusPython  0.14
Public Member Functions | Friends | List of all members
strus::VectorStorageSearcher Class Reference

#include <bindingObjects.hpp>

Public Member Functions

 VectorStorageSearcher (const VectorStorageSearcher &o)
 Copy constructor. More...
 
 ~VectorStorageSearcher ()
 Destructor. More...
 
VecRankVector findSimilar (const FloatVector &vec, unsigned int maxNofResults) const
 Find the most similar vectors to vector. More...
 
VecRankVector 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. More...
 
void close ()
 Controlled close to free resources (forcing free resources in interpreter context with garbage collector) More...
 

Friends

class VectorStorageClient
 

Constructor & Destructor Documentation

strus::VectorStorageSearcher::VectorStorageSearcher ( const VectorStorageSearcher o)

Copy constructor.

strus::VectorStorageSearcher::~VectorStorageSearcher ( )
inline

Destructor.

Member Function Documentation

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]vecvector to search for
[in]maxNofResultsmaximum 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]featidxlistlist of candidate indices
[in]vecvector to search for
[in]maxNofResultsmaximum number of results to return return the list of most similar vectors

Friends And Related Function Documentation

friend class VectorStorageClient
friend

The documentation for this class was generated from the following file: