/*
 * 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 statistics;
pub use statistics::{get_mean_stats, get_percentile_stats, get_sum_stats, QueryStatistics};
