knncolle_hnsw
knncolle bindings for HNSW
Loading...
Searching...
No Matches
Public Member Functions | List of all members
knncolle_hnsw::SquaredEuclideanDistance< InternalData_ > Class Template Reference

Squared Euclidean distance. More...

#include <distances.hpp>

Inheritance diagram for knncolle_hnsw::SquaredEuclideanDistance< InternalData_ >:

Public Member Functions

 SquaredEuclideanDistance (size_t dim)
 

Detailed Description

template<typename InternalData_>
class knncolle_hnsw::SquaredEuclideanDistance< InternalData_ >

Squared Euclidean distance.

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

Constructor & Destructor Documentation

◆ SquaredEuclideanDistance()

template<typename InternalData_ >
knncolle_hnsw::SquaredEuclideanDistance< InternalData_ >::SquaredEuclideanDistance ( 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: