[−][src]Trait stochastic_data_structures::StatisticalMethod
Required methods
fn add(&mut self, rate: f32, payload: T) -> Outcome<T>
fn delete(&mut self, outcome: Outcome<T>)
fn update(&mut self, outcome: Outcome<T>, new_rate: f32) -> Outcome<T>
fn extract<Random: Rng>(&self, rnd: &mut Random) -> (ExtractStats, T, f32)
Implementors
impl<T> StatisticalMethod<T> for CompositeRejectionMethod<T> where
T: Copy + Clone,
[src]
T: Copy + Clone,
fn add(&mut self, rate: f32, payload: T) -> Outcome<T>
[src]
fn delete(&mut self, outcome: Outcome<T>)
[src]
fn update(&mut self, outcome: Outcome<T>, new_rate: f32) -> Outcome<T>
[src]
fn extract<Random: Rng>(&self, rng: &mut Random) -> (ExtractStats, T, f32)
[src]
impl<T> StatisticalMethod<T> for RejectionMethod<T> where
T: Copy + Clone,
[src]
T: Copy + Clone,