VaneDB 0.1.0
Embeddable vector database for edge AI
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
hnsw_index.h File Reference
#include "distance_strategy.h"
#include "detail/file_utils.h"
#include <algorithm>
#include <atomic>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <fstream>
#include <limits>
#include <mutex>
#include <queue>
#include <random>
#include <shared_mutex>
#include <sstream>
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

struct  vanedb::HNSWSearchResult
 
class  vanedb::HNSWIndex
 

Namespaces

namespace  vanedb
 
namespace  vanedb::detail
 

Functions

template<typename T >
void vanedb::detail::write_bin (std::ofstream &f, const T &v)
 
template<typename T >
void vanedb::detail::read_bin (std::ifstream &f, T &v)
 
template<typename T >
void vanedb::detail::write_vec (std::ofstream &f, const std::vector< T > &v)
 
template<typename T >
void vanedb::detail::read_vec (std::ifstream &f, std::vector< T > &v)
 

Variables

constexpr size_t vanedb::detail::MAX_VEC_SIZE = 100000000ULL
 
constexpr size_t vanedb::detail::MAX_RNG_STATE_SIZE = 10000