Class TournamentSelection

Tournament selection scheme. Each of the two selected chromosomes is selected
based on n-ary tournament -- this is done by drawing arity random
chromosomes without replacement from the population, and then selecting the
fittest chromosome among them.

Method Detail

select

Select two chromosomes from the population. Each of the two selected
chromosomes is selected based on n-ary tournament -- this is done by
drawing arity random chromosomes without replacement from the
population, and then selecting the fittest chromosome among them.