diskann-disk 0.50.1

DiskANN is a fast approximate nearest neighbor search library for high dimensional data
Documentation
/*
 * Copyright (c) Microsoft Corporation.
 * Licensed under the MIT license.
 */

//! Disk-specific utilities and helper functions.
//!
//! This module contains utility functions and helpers
//! specific to disk index operations.

pub mod partition;
pub use partition::partition_with_ram_budget;

pub mod math_util;
pub use math_util::{compute_closest_centers, compute_closest_centers_in_block, compute_vecs_l2sq};

pub mod kmeans;
pub use kmeans::{k_means_clustering, k_meanspp_selecting_pivots, run_lloyds};

pub mod instrumentation;

pub mod aligned_file_reader;
pub use aligned_file_reader::AlignedFileReaderFactory;
#[cfg(any(feature = "virtual_storage", test))]
pub use aligned_file_reader::VirtualAlignedReaderFactory;

pub mod statistics;
pub use statistics::{get_mean_stats, get_percentile_stats, get_sum_stats, QueryStatistics};