// create the trainer
this.genetic = new MLMethodGeneticAlgorithmHelper(population,
calculateScore);
this.genetic.setCODEC(new MLEncodableCODEC());
GenomeComparator comp = null;
if (calculateScore.shouldMinimize()) {
comp = new MinimizeScoreComp();
} else {
comp = new MaximizeScoreComp();
}