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

Manhattan distance. More...

#include <distances.hpp>

Inheritance diagram for knncolle_hnsw::ManhattanDistance< InternalData_ >:

Public Member Functions

 ManhattanDistance (size_t dim)
 

Detailed Description

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

Manhattan distance.

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

Constructor & Destructor Documentation

◆ ManhattanDistance()

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