pub struct Seeded<G, I> { /* private fields */ }Expand description
An initialiser that yields caller-supplied seed genomes first (for example previous plans
or heuristic solutions), then falls back to inner.
Jakob (2021) advises seeding at most about 20 % of the initial population so it still
covers the search space; Seeded::new keeps at most max_fraction of
population_size seeds.
Implementations§
Trait Implementations§
Source§impl<G, I: Initializer<G>> Initializer<G> for Seeded<G, I>
impl<G, I: Initializer<G>> Initializer<G> for Seeded<G, I>
impl<G: PartialEq, I: PartialEq> StructuralPartialEq for Seeded<G, I>
Auto Trait Implementations§
impl<G, I> Forget for Seeded<G, I>
impl<G, I> Freeze for Seeded<G, I>
impl<G, I> Move for Seeded<G, I>
impl<G, I> RefUnwindSafe for Seeded<G, I>
impl<G, I> Send for Seeded<G, I>
impl<G, I> Sync for Seeded<G, I>
impl<G, I> Unpin for Seeded<G, I>
impl<G, I> UnsafeUnpin for Seeded<G, I>
impl<G, I> UnwindSafe for Seeded<G, I>
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