Interface FitnessNormalizer
- All Known Implementing Classes:
DefaultFitnessNormalizer,ReverseFitnessNormalizer
public interface FitnessNormalizer
The normalizer will ensure that all evaluated fitness values are adjusted in order to be measured on a common scale.
By default, we use 100 as the scale.
-
Method Summary
-
Method Details
-
normalize
Normalize the fitness out of 100.- Parameters:
fitness- - the evaluated fitness value orDouble.NaNif undefinedtotal- - the sum of all evaluated fitness values for a given sourcing factor orDouble.NaNif undefined; must be greater than 0- Returns:
- the normalized fitness or zero if the fitness is
Double.NaN
-