genome.setScore(i);
genome.setAdjustedScore(i);
pop.getSpecies().get(0).add(genome);
}
GenerateRandom rnd = new MersenneTwisterGenerateRandom();
// Create a trainer with a very simple score function. We do not care
// about the calculation of the score, as they will never be calculated.
// We only care that we are maximizing.
EvolutionaryAlgorithm train = new BasicEA(pop, new ScoreFunction() {