|
GALib-Parallel
Header-only C++ library for parallel evolutionary algorithms
|
Interface for selection operators. More...
#include <Selection.h>
Public Member Functions | |
| virtual | ~Selection ()=default |
| virtual const Individual< GeneType > & | select (const Population< GeneType > &population)=0 |
| Selects one individual from the population. | |
Interface for selection operators.
Selection operators choose individuals from a population to act as parents for the next generation, typically biasing towards more fit individuals.
| GeneType | The numeric type of the genes. |
Definition at line 20 of file Selection.h.
|
virtualdefault |
|
pure virtual |
Selects one individual from the population.
| population | The source population. |
Implemented in galib::TournamentSelection< GeneType >.