metaheuristic_designer.parent_selection.parent_selection_functions#
Core parent selection functions (tournament, roulette, SUS, best, …) and fitness scaling helpers.
Functions
|
Create a callable that computes normalized selection weights. |
|
Exponential ranking: weight decays exponentially with rank. |
|
Fitness proportional scaling. |
|
Flat ranking: every individual receives equal weight. |
|
Linear ranking: weight proportional to rank. |
|
Selects the parents for the next generation by tournament. |
|
Chooses the entire population repeated in order duplicated enough times to reach the specified amount. |
|
Fitness proportionate parent selection. |
|
Selects the best parent of the population as parents. |
|
Chooses a number of individuals from the population at random without replacement if amount < population_size. |
|
Sigma scaling: weight based on standard deviations above the mean. |
|
Stochastic universal sampling parent selection method. |
|
Chooses a number of individuals from the population at random with replacement. |