pub struct DataShape<const D: usize> {
pub point_count: usize,
pub bbox: BBox<f64, D>,
pub skewness: [f64; D],
pub clustering_coef: f64,
pub overlap_ratio: f64,
pub effective_dim: f64,
pub query_mix: QueryMix,
}Expand description
Statistical snapshot of the current dataset and query workload.
Fields§
§point_count: usize§bbox: BBox<f64, D>§skewness: [f64; D]Per-axis skewness; statically sized to D.
clustering_coef: f64Ratio of observed to uniform nearest-neighbour distance.
overlap_ratio: f64Mean bounding-box overlap ratio.
effective_dim: f64Intrinsic dimensionality via correlation dimension.
query_mix: QueryMixTrait Implementations§
Auto Trait Implementations§
impl<const D: usize> Freeze for DataShape<D>
impl<const D: usize> RefUnwindSafe for DataShape<D>
impl<const D: usize> Send for DataShape<D>
impl<const D: usize> Sync for DataShape<D>
impl<const D: usize> Unpin for DataShape<D>
impl<const D: usize> UnsafeUnpin for DataShape<D>
impl<const D: usize> UnwindSafe for DataShape<D>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more