Selectors – selection methods module
This module have the selection methods, like roulette wheel, tournament, ranking, etc.
-
Selectors.GRankSelector(population, **args)
- The Rank Selector
-
Selectors.GRouletteWheel(population, **args)
- The Roulette Wheel selector
-
Selectors.GRouletteWheel_PrepareWheel(population)
- A preparation for Roulette Wheel selection
-
Selectors.GTournamentSelector(population, **args)
The Tournament Selector
Parameter: | args – accepts the poolSize parameter |
Note
the Tournament Selector uses the Roulette Wheel to
pick individuals for the pool
-
Selectors.GUniformSelector(population, **args)
- The Uniform Selector