desdeo_emo.recombination.evodn2_xover_mutation
Module Contents
Classes
Functions
|
Swap nodes between two partners and mutate based on standard deviation. |
- desdeo_emo.recombination.evodn2_xover_mutation.mate(mating_pop, individuals: list, params, crossover_type=None, mutation_type=None)[source]
Swap nodes between two partners and mutate based on standard deviation.
- Parameters:
mating_pop (list) – List of indices of individuals to mate. If None, choose from population randomly. Each entry should contain two indices, one for each parent.
individuals (list) – List of all individuals.
params (dict) – Parameters for evolution. If None, use defaults.
- Returns:
offspring – The offsprings produced as a result of crossover and mutation.
- Return type:
list