|
Krotos Modules 3
|
#include <bruteforce.h>
Public Member Functions | |
| BruteforceSearch (SpaceInterface< dist_t > *) | |
| BruteforceSearch (SpaceInterface< dist_t > *s, const std::string &location) | |
| BruteforceSearch (SpaceInterface< dist_t > *s, size_t maxElements) | |
| ~BruteforceSearch () | |
| void | addPoint (const void *datapoint, labeltype label) |
| void | removePoint (labeltype cur_external) |
| std::priority_queue< std::pair< dist_t, labeltype > > | searchKnn (const void *query_data, size_t k) const |
| void | saveIndex (const std::string &location) |
| void | loadIndex (const std::string &location, SpaceInterface< dist_t > *s) |
Public Member Functions inherited from hnswlib::AlgorithmInterface< dist_t > | |
| virtual std::vector< std::pair< dist_t, labeltype > > | searchKnnCloserFirst (const void *query_data, size_t k) const |
| virtual | ~AlgorithmInterface () |
Public Attributes | |
| char * | data_ |
| size_t | maxelements_ |
| size_t | cur_element_count |
| size_t | size_per_element_ |
| size_t | data_size_ |
| DISTFUNC< dist_t > | fstdistfunc_ |
| void * | dist_func_param_ |
| std::mutex | index_lock |
| std::unordered_map< labeltype, size_t > | dict_external_to_internal |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements hnswlib::AlgorithmInterface< dist_t >.
|
inline |
|
inline |
|
inlinevirtual |
Implements hnswlib::AlgorithmInterface< dist_t >.
|
inlinevirtual |
Implements hnswlib::AlgorithmInterface< dist_t >.
| size_t hnswlib::BruteforceSearch< dist_t >::cur_element_count |
| char* hnswlib::BruteforceSearch< dist_t >::data_ |
| size_t hnswlib::BruteforceSearch< dist_t >::data_size_ |
| std::unordered_map<labeltype,size_t > hnswlib::BruteforceSearch< dist_t >::dict_external_to_internal |
| void* hnswlib::BruteforceSearch< dist_t >::dist_func_param_ |
| DISTFUNC<dist_t> hnswlib::BruteforceSearch< dist_t >::fstdistfunc_ |
| std::mutex hnswlib::BruteforceSearch< dist_t >::index_lock |
| size_t hnswlib::BruteforceSearch< dist_t >::maxelements_ |
| size_t hnswlib::BruteforceSearch< dist_t >::size_per_element_ |