selTournament

Executes tournament selection step for CellEvolveScope.neighbors:

Randomly select size chromosome for tournament between CellEvolveScope.neighbors. After that the best Chromosome is selected and moved to first position of CellEvolveScope.neighbors (with index = 0).

Parameters

size

the size of tournament (number selected chromosomes)