Package smile.gap
Interface Fitness<T extends Chromosome<T>>
- Type Parameters:
T
- the type ofChromosome
.
public interface Fitness<T extends Chromosome<T>>
A measure to evaluate the fitness of chromosomes.
-
Method Summary
-
Method Details
-
score
Returns the non-negative fitness value of a chromosome. Large values indicate better fitness.- Parameters:
chromosome
- the chromosome.- Returns:
- the fitness score.
-