|
knncolle_hnsw
knncolle bindings for HNSW
|
Prebuilt index for an Hnsw search. More...
#include <knncolle_hnsw.hpp>
Public Member Functions | |
| std::size_t | num_dimensions () const |
| Index_ | num_observations () const |
| std::unique_ptr< knncolle::Searcher< Index_, Data_, Distance_ > > | initialize () const |
Public Member Functions inherited from knncolle::Prebuilt< Index_, Data_, Distance_ > | |
Friends | |
| class | HnswSearcher< Index_, Data_, Distance_, HnswData_ > |
Prebuilt index for an Hnsw search.
Instances of this class are usually constructed using HnswBuilder::build_raw(). The initialize() method will create an instance of the HnswSearcher class.
| 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 |
Creates a HnswSearcher instance.
Implements knncolle::Prebuilt< Index_, Data_, Distance_ >.
|
inlinevirtual |
Implements knncolle::Prebuilt< Index_, Data_, Distance_ >.
|
inlinevirtual |
Implements knncolle::Prebuilt< Index_, Data_, Distance_ >.