93949596979899100101102103
int iteration = 0; while(!done) { iteration++; genetic.iteration(); double thisSolution = genetic.getPopulation().getBest().getScore(); System.out.println(iteration + ": " + thisSolution); } }