[][src]Trait oxigen::niches_beta_rate::NichesBetaRate

pub trait NichesBetaRate: Send + Sync {
    fn rate(&self, generation: u64, progress: f64, n_solutions: usize) -> f64;
}

This trait defines the niches beta rate function used to compute the beta value.

Required methods

fn rate(&self, generation: u64, progress: f64, n_solutions: usize) -> f64

Returns the niches beta rate according to the generation, the progress in the last generations, and the number of solutions found.

Loading content...

Implementors

impl NichesBetaRate for NichesBetaRates[src]

Loading content...