Skip to main content

ExperimentObservation

Trait ExperimentObservation 

Source
pub trait ExperimentObservation {
    type Key: Eq + Hash + Clone;

    // Required methods
    fn comparison_key(&self) -> Self::Key;
    fn winner_label(&self) -> &'static str;
    fn ratio_value(&self) -> f64;
    fn coverage_ratio(&self) -> f64;
}

Required Associated Types§

Required Methods§

Source

fn comparison_key(&self) -> Self::Key

Source

fn winner_label(&self) -> &'static str

Source

fn ratio_value(&self) -> f64

Source

fn coverage_ratio(&self) -> f64

Implementors§