pub struct SimulatedBinaryCrossover { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<A, G, C> Crossover<C> for SimulatedBinaryCrossover
impl<A, G, C> Crossover<C> for SimulatedBinaryCrossover
fn name(&self) -> String
fn rate(&self) -> Rate
fn cross_chromosomes( &self, chrom_one: &mut C, chrom_two: &mut C, _: f32, ) -> AlterResult
fn alterer(self) -> Alterer<C>where
Self: Sized + 'static,
fn crossover( &self, population: &mut Population<C>, generation: usize, rate: f32, ) -> AlterResult
fn cross( &self, population: &mut Population<C>, parent_indexes: &[usize], generation: usize, rate: f32, ) -> AlterResult
Auto Trait Implementations§
impl Freeze for SimulatedBinaryCrossover
impl RefUnwindSafe for SimulatedBinaryCrossover
impl Send for SimulatedBinaryCrossover
impl Sync for SimulatedBinaryCrossover
impl Unpin for SimulatedBinaryCrossover
impl UnsafeUnpin for SimulatedBinaryCrossover
impl UnwindSafe for SimulatedBinaryCrossover
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