Tournament Selection
class TournamentSelection(tournamentSize: Int = defaultTournamentSize) : SelectionOperatorIfc(source)
Tournament selection: the default selection operator. To select each parent, tournamentSize competitors are drawn uniformly at random (with replacement) from the population, and the best competitor (according to the solver's GeneticAlgorithmSolver.compare, i.e. the minimization sense of the penalized objective) wins. Larger tournaments increase selection pressure.
Parameters
tournament Size
the number of competitors per tournament. Must be greater than 0. The default is defaultTournamentSize.