knncolle
Collection of KNN methods in C++
Loading...
Searching...
No Matches
knncolle::LoadDistanceMetricNotFoundError Class Referencefinal

Exception for unknown distance metrics in load_distance_metric_raw(). More...

#include <distances.hpp>

Public Member Functions

const std::string & get_distance () const
 
const std::filesystem::path & get_path () const
 

Detailed Description

Exception for unknown distance metrics in load_distance_metric_raw().

This is thrown by load_distance_metric_raw() when it cannot find a function in the load_distance_metric_registry() for a particular distance metric.

Member Function Documentation

◆ get_distance()

const std::string & knncolle::LoadDistanceMetricNotFoundError::get_distance ( ) const
inline
Returns
Name of the unknown neighbor search distance for the saved Prebuilt instance.

◆ get_path()

const std::filesystem::path & knncolle::LoadDistanceMetricNotFoundError::get_path ( ) const
inline
Returns
Path to the DISTANCE file containing the distance name for the saved Prebuilt instance.

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