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

Exception for unknown search algorithms in load_prebuilt_raw(). More...

#include <load_prebuilt.hpp>

Public Member Functions

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

Detailed Description

Exception for unknown search algorithms in load_prebuilt_raw().

This is thrown by load_prebuilt_raw() and related functions when they cannot find a function in the load_prebuilt_registry() for a particular algorithm.

Member Function Documentation

◆ get_algorithm()

const std::string & knncolle::LoadPrebuiltNotFoundError::get_algorithm ( ) const
inline
Returns
Name of the unknown neighbor search algorithm for the saved Prebuilt instance.

◆ get_path()

const std::filesystem::path & knncolle::LoadPrebuiltNotFoundError::get_path ( ) const
inline
Returns
Path to the ALGORITHM file containing the algorithm name for the saved Prebuilt instance.

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