|
knncolle_hnsw
knncolle bindings for HNSW
|
Distance configuration for the HNSW index. More...
#include <distances.hpp>
Public Attributes | |
| std::function< hnswlib::SpaceInterface< HnswData_ > *(std::size_t)> | create |
| std::function< HnswData_(HnswData_)> | normalize |
Distance configuration for the HNSW index.
| HnswData_ | Floating-point type for data in the HNSW index. |
| std::function<hnswlib::SpaceInterface<HnswData_>*(std::size_t)> knncolle_hnsw::DistanceConfig< HnswData_ >::create |
Create a hnswlib::SpaceInterface object, given the number of dimensions.
| std::function<HnswData_(HnswData_)> knncolle_hnsw::DistanceConfig< HnswData_ >::normalize |
Normalization function to convert distance measures from hnswlib::SpaceInterface::get_dist_func() into actual distances. If not provided , this defaults to a no-op.