// set the score compare method
if (theScoreFunction.shouldMinimize()) {
this.selectionComparator = new MinimizeAdjustedScoreComp();
this.bestComparator = new MinimizeScoreComp();
} else {
this.selectionComparator = new MaximizeAdjustedScoreComp();
this.bestComparator = new MaximizeScoreComp();
}
// set the iteration
for (final Species species : thePopulation.getSpecies()) {