_selector
Module Contents
Classes
A Selector object that enables selection of individuals in an evolutionary process. |
Attributes
- TPopulation
- KWArgs
- class Selector
Bases:
abc.ABC
A Selector object that enables selection of individuals in an evolutionary process.
- abstract select(population: TPopulation, **kwargs: Any) tuple[TPopulation, KWArgs]
Select individuals from a population.
- Parameters:
population – The population for selection.
kwargs – Possible metrics for selection.
- Returns:
The selected subset of the population and additional kwargs.