[−][src]Enum oxigen::population_refitness::PopulationRefitnessFunctions
Provided PopulationRefitness functions.
Variants
Remains the fitness unmodified.
Niches(NichesAlpha, Box<NichesBetaRates>, NichesSigma)
Scales the fitness using the formula f' = f^beta / m
, where m
is
the sum of (1 - distance / sigma) for each individual in the population.
Trait Implementations
impl<T: PartialEq + Send + Sync, G: Genotype<T>> PopulationRefitness<T, G> for PopulationRefitnessFunctions
[src]
fn population_refitness(
&self,
individual_index: usize,
population: &[IndWithFitness<T, G>],
generation: u64,
progress: f64,
n_solutions: usize
) -> f64
[src]
&self,
individual_index: usize,
population: &[IndWithFitness<T, G>],
generation: u64,
progress: f64,
n_solutions: usize
) -> f64
Auto Trait Implementations
impl RefUnwindSafe for PopulationRefitnessFunctions
impl Send for PopulationRefitnessFunctions
impl Sync for PopulationRefitnessFunctions
impl Unpin for PopulationRefitnessFunctions
impl UnwindSafe for PopulationRefitnessFunctions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,