knncolle_annoy
Annoy nearest neighbors in knncolle
Loading...
Searching...
No Matches
utils.hpp File Reference

Utilities for the Annoy wrappers. More...

#include <fstream>
#include <string>
#include <cstdint>
#include <cstddef>
#include <stdexcept>
#include <type_traits>
#include "knncolle/knncolle.hpp"

Go to the source code of this file.

Classes

struct  knncolle_annoy::PrebuiltSaveConfig
 Configuration of a saved Annoy index. More...
 

Namespaces

namespace  knncolle_annoy
 Approximate nearest neighbor search with Annoy.
 

Enumerations

enum class  knncolle_annoy::NumericType : char {
  UINT8_T , INT8_T , UINT16_T , INT16_T ,
  UINT32_T , INT32_T , UINT64_T , INT64_T ,
  UNSIGNED_CHAR , SIGNED_CHAR , CHAR , UNSIGNED_SHORT ,
  SHORT , UNSIGNED_INT , INT , UNSIGNED_LONG ,
  LONG , UNSIGNED_LONG_LONG , LONG_LONG , SIZE_T ,
  PTRDIFF_T , FLOAT , DOUBLE , UNKNOWN
}
 

Functions

template<typename AnnoyDistance_ >
const char * knncolle_annoy::get_distance_name ()
 
template<typename Type_ >
NumericType knncolle_annoy::get_numeric_type ()
 
PrebuiltSaveConfig knncolle_annoy::scan_prebuilt_save_config (const std::string &prefix)
 

Detailed Description

Utilities for the Annoy wrappers.