pub struct Repeat<O> { /* private fields */ }Expand description
Applies an operator n times and collects all results into one population.
§Examples
use evolve::operators::sequential::combinator::Repeat;
use evolve::operators::sequential::mutation::RandomReset;
// Run mutation 5 times and merge the results
let op = Repeat::new(RandomReset::<u8>::new(), 5);Implementations§
Trait Implementations§
Source§impl<G, F, Fe, R, C, O> GeneticOperator<G, F, Fe, R, C> for Repeat<O>where
O: GeneticOperator<G, F, Fe, R, C>,
impl<G, F, Fe, R, C, O> GeneticOperator<G, F, Fe, R, C> for Repeat<O>where
O: GeneticOperator<G, F, Fe, R, C>,
Auto Trait Implementations§
impl<O> Freeze for Repeat<O>where
O: Freeze,
impl<O> RefUnwindSafe for Repeat<O>where
O: RefUnwindSafe,
impl<O> Send for Repeat<O>where
O: Send,
impl<O> Sync for Repeat<O>where
O: Sync,
impl<O> Unpin for Repeat<O>where
O: Unpin,
impl<O> UnsafeUnpin for Repeat<O>where
O: UnsafeUnpin,
impl<O> UnwindSafe for Repeat<O>where
O: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more