pub trait SampleGen {
// Required method
fn sample(&mut self) -> Option<Sample>;
}Required Methods§
Implementors§
impl<Input: Clone + Debug, EditSt, Output: Eq + Debug, Editor: Generate<Input> + Edit<Input, EditSt>, Archivist: ComputeDemand<Input, Output>> SampleGen for LabState<StdRng, Input, EditSt, Output, Editor, Archivist>
Advances the LabState forward by one sample of each engine. For each engine, we process the current input (either generating it, or editing it) and we compute a new output over this processed input. Optionally, we compare the outputs of the engines for equality.