pub struct Memetic<L> {
pub local: L,
pub schedule: Schedule,
pub lamarckian: bool,
}Expand description
A memetic hybrid: a local searcher and its schedule.
Fields§
§local: LThe local searcher.
schedule: ScheduleHow often and how long it runs.
lamarckian: boolWrite the improved genome back (Lamarckian); otherwise only its cost is kept (Baldwinian).
Implementations§
Trait Implementations§
impl<L: PartialEq> StructuralPartialEq for Memetic<L>
Auto Trait Implementations§
impl<L> Forget for Memetic<L>
impl<L> Freeze for Memetic<L>where
L: Freeze,
impl<L> Move for Memetic<L>
impl<L> RefUnwindSafe for Memetic<L>where
L: RefUnwindSafe,
impl<L> Send for Memetic<L>where
L: Send,
impl<L> Sync for Memetic<L>where
L: Sync,
impl<L> Unpin for Memetic<L>where
L: Unpin,
impl<L> UnsafeUnpin for Memetic<L>where
L: UnsafeUnpin,
impl<L> UnwindSafe for Memetic<L>where
L: 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