selection Tournament
fun <V, F> selectionTournament(source: Array<Chromosome<V, F>>, tournamentSize: Int, random: Random): Chromosome<V, F>
Executes tournament selection:
Randomly select tournamentSize chromosome for tournament between them. After that the best Chromosome is selected.
Parameters
source
the population of Chromosomes
tournament Size
the size of tournament (number selected chromosomes)