Skip to main content

score_set/
lib.rs

1//! A small library for composing weighted scoring metrics into score sets.
2//!
3//! The crate provides:
4//! - `NormalizedEval32` / `NormalizedEval64` for combining a measure and normalization map.
5//! - `Weighted32` / `Weighted64` for weighting any evaluator.
6//! - `DynScoreSet32` / `DynScoreSet64` for storing heterogeneous metrics behind trait objects.
7
8#![no_std]
9
10extern crate alloc;
11
12mod dyn_score_set;
13mod metric;
14mod normalized_eval;
15pub mod traits;
16mod weighted;
17
18pub use dyn_score_set::{DynScoreSet32, DynScoreSet32Builder, DynScoreSet64, DynScoreSet64Builder};
19pub use metric::{metric32, metric64};
20pub use normalized_eval::{NormalizedEval32, NormalizedEval64};
21pub use traits::{V01Error, prove_v01_f32, prove_v01_f64};
22pub use weighted::{Weighted32, Weighted64, weight32, weight64};