evomatic.fitness.calculate_crowding(alloys: DataFrame, targets: dict, target_normalisation: dict)[source]

Calculates the crowding distance, enabling comparison of candidates in the same Pareto rank. See Section 2.2 of https://doi.org/10.1145/1068009.1068047.

Parameters
alloys: DataFrame

The current population of alloy candidates

targets: dict

Dict of targets for maximisation and minimisation.

target_normalisation: dict

Dict of normalisation factors for each target.


Last update: Dec 07, 2022