|
GALib-Parallel
Header-only C++ library for parallel evolutionary algorithms
|
Interface for choosing individuals to migrate out of the island. More...
#include <DemeSelector.h>
Public Member Functions | |
| virtual | ~DemeSelector ()=default |
| virtual std::vector< Individual< GeneType > > | selectDeme (const Population< GeneType > &population, std::size_t count) const =0 |
| Selects individuals for migration. | |
Interface for choosing individuals to migrate out of the island.
Implementations define which members of the local population are selected to be sent to neighboring islands.
| GeneType | The gene type of the individuals. |
Definition at line 21 of file DemeSelector.h.
|
virtualdefault |
|
pure virtual |
Selects individuals for migration.
| population | The local population to select from. |
| count | The number of individuals to select. |
Implemented in galib::ElitismSelector< GeneType >.