public double[] evaluate(Agent controller) {
double distanceTravelled = 0;
// controller.reset();
options.setAgent(controller);
Evaluator evaluator = new Evaluator(options);
List<EvaluationInfo> results = evaluator.evaluate();
for (EvaluationInfo result : results) {
//if (result.marioStatus == Mario.STATUS_WIN )
// Easy.save(options.getAgent(), options.getAgent().getName() + ".xml");
distanceTravelled += result.computeDistancePassed();
}