knncolle_hnsw
knncolle bindings for HNSW
Loading...
Searching...
No Matches
knncolle_hnsw::SquaredEuclideanDistance< HnswData_ > Class Template Reference

Squared Euclidean distance. More...

#include <distances.hpp>

Inheritance diagram for knncolle_hnsw::SquaredEuclideanDistance< HnswData_ >:

Public Member Functions

 SquaredEuclideanDistance (std::size_t dim)
 

Detailed Description

template<typename HnswData_ = float>
class knncolle_hnsw::SquaredEuclideanDistance< HnswData_ >

Squared Euclidean distance.

Template Parameters
HnswData_Type of data in the HNSW index, usually floating-point.

Constructor & Destructor Documentation

◆ SquaredEuclideanDistance()

template<typename HnswData_ = float>
knncolle_hnsw::SquaredEuclideanDistance< HnswData_ >::SquaredEuclideanDistance ( std::size_t dim)
inline
Parameters
dimNumber of dimensions over which to compute the distance.

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