Trait spdkit::fitness::EvaluateFitness
source · pub trait EvaluateFitness<G>: Clonewhere
G: Genome,{
// Required method
fn evaluate(&mut self, indvs: &[Individual<G>]) -> Vec<f64> ⓘ;
}
Expand description
Evaluate the fitness of individual in population based on objective_value of individual.
Fitness is a measure of quality of a solution (individual). A larger value of fitness indicates a better individual in population.
Fitness evaluation should not be an expensive operation.