pub trait SimpleSample {
    fn randomize(&mut self);

    fn simple_sample<F>(&mut self, times: usize, f: F)
    where
        F: FnMut(&Self)
, { ... } fn simple_sample_vec<F, G>(&mut self, times: usize, f: F) -> Vec<G, Global>
    where
        F: FnMut(&Self) -> G
, { ... } }
Expand description

For easy sampling of your ensemble

Required Methods

Randomizes self according to model

Provided Methods

do the following times times:
  1. f(self)
  2. self.randomize()

Implementors