Interface SelectionPolicy
- All Known Implementing Classes:
TournamentSelection
public interface SelectionPolicy
Algorithm used to select a chromosome pair from a population.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionselect
(Population population) Select two chromosomes from the population.
-
Method Details
-
select
Select two chromosomes from the population.- Parameters:
population
- the population from which the chromosomes are choosen.- Returns:
- the selected chromosomes.
- Throws:
MathIllegalArgumentException
- if the population is not compatible with thisSelectionPolicy
-