Template Class NearestNeighborIndex
Defined in File Index.hpp
Class Documentation
-
template<NearestNeighborBackendConcept Backend>
class NearestNeighborIndex -
Public Functions
-
NearestNeighborIndex() = default
-
inline NearestNeighborIndex(NearestNeighborIndex &&other) noexcept
-
inline NearestNeighborIndex &operator=(NearestNeighborIndex &&other) noexcept
-
NearestNeighborIndex(const NearestNeighborIndex&) = delete
-
NearestNeighborIndex &operator=(const NearestNeighborIndex&) = delete
-
inline ~NearestNeighborIndex()
-
inline bool is_open() const noexcept
-
inline common::Result<std::vector<SearchHit>> search(std::span<const float> query, SearchOptions options = {}) const
-
inline backend_type &backend() noexcept
-
inline const backend_type &backend() const noexcept
Public Static Functions
-
static inline common::Result<void> create(const config_type &cfg)
-
static inline common::Result<void> destroy(const config_type &cfg)
-
static inline common::Result<NearestNeighborIndex> open(const config_type &cfg)
-
NearestNeighborIndex() = default