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

Manhattan distance. More...

#include <distances.hpp>

Inheritance diagram for knncolle_hnsw::ManhattanDistance< HnswData_ >:

Public Member Functions

 ManhattanDistance (std::size_t dim)
 

Detailed Description

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

Manhattan distance.

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

Constructor & Destructor Documentation

◆ ManhattanDistance()

template<typename HnswData_ = float>
knncolle_hnsw::ManhattanDistance< HnswData_ >::ManhattanDistance ( 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: