for (int roundCount = 1; roundCount <= 10; roundCount++) {
TournamentSelection selection = new TournamentSelection(train, roundCount);
int sum = 0;
int count = 0;
for (int i = 0; i < 100000; i++) {
int genomeID = selection.performSelection(rnd, species);
Genome genome = species.getMembers().get(genomeID);
sum += genome.getAdjustedScore();
count++;
}
sum /= count;