Skip to main content

handled_mutate_trace

Function handled_mutate_trace 

Source
pub fn handled_mutate_trace<G, S, H, R>(
    genome: &G,
    selector: &S,
    mutation_fn: impl Fn(&Address, &ChoiceValue, &mut R) -> ChoiceValue,
    handler: &H,
    generation: usize,
    rng: &mut R,
) -> Result<G, GenomeError>
Expand description

Handled mutation operator that integrates with effect handlers