options.setLevelDifficulty(difficulties[i]);
options.setAgent(controller);
Evaluator evaluator = new Evaluator(options);
List<EvaluationInfo> results = evaluator.evaluate();
EvaluationInfo result = results.get(0);
double thisDistance = result.computeDistancePassed();
fitnesses[i + 1] = thisDistance;
distanceTravelled += thisDistance;
}
distanceTravelled = distanceTravelled / difficulties.length;
fitnesses[0] = distanceTravelled;