Package ec.parsimony

Class LexicographicTournamentSelection

All Implemented Interfaces:
Prototype, Setup, SteadyStateBSourceForm, RandomChoiceChooserD, Serializable, Cloneable

public class LexicographicTournamentSelection extends TournamentSelection
Does a simple tournament selection, limited to the subpopulation it's working in at the time.

Tournament selection works like this: first, size individuals are chosen at random from the population. Then of those individuals, the one with the best fitness is selected. If two individuals have the same fitness, the one with smaller size is prefered. The default tournament size is 7.

Typical Number of Individuals Produced Per produce(...) call
Always 1.

Parameters

base.size
int >= 1
(the tournament size)
base.pick-worst
bool = true or false (default)
(should we pick the worst individual in the tournament instead of the best?)

Default Base
select.lexicographic-tournament

See Also:
  • Field Details

  • Constructor Details

    • LexicographicTournamentSelection

      public LexicographicTournamentSelection()
  • Method Details