|
knncolle_hnsw
knncolle bindings for HNSW
|
Searcher on an Hnsw index. More...
#include <knncolle_hnsw.hpp>
Public Member Functions | |
| void | search (Index_ i, Index_ k, std::vector< Index_ > *output_indices, std::vector< Distance_ > *output_distances) |
| void | search (const Data_ *query, Index_ k, std::vector< Index_ > *output_indices, std::vector< Distance_ > *output_distances) |
Public Member Functions inherited from knncolle::Searcher< Index_, Data_, Distance_ > | |
| virtual bool | can_search_all () const |
| virtual Index_ | search_all (Index_ i, Distance_ distance, std::vector< Index_ > *output_indices, std::vector< Distance_ > *output_distances) |
| virtual Index_ | search_all (const Data_ *query, Distance_ distance, std::vector< Index_ > *output_indices, std::vector< Distance_ > *output_distances) |
Searcher on an Hnsw index.
Instances of this class are usually constructed using HnswPrebuilt::initialize().
| Index_ | Integer type for the observation indices. |
| Data_ | Numeric type for the input and query data. |
| Distance_ | Floating-point type for the distances. |
| HnswData_ | Type of data in the HNSW index, usually floating-point. |
|
inlinevirtual |
Implements knncolle::Searcher< Index_, Data_, Distance_ >.
|
inlinevirtual |
Implements knncolle::Searcher< Index_, Data_, Distance_ >.