options.setLevelDifficulty(level);
options.setPauseWorld(paused);
StatisticalSummary ss = test (controller, options, seed, level);
System.out.printf("Level %d %s %.4f (%.4f) (min %.4f max %.4f) (avg time %.4f)\n",
level, paused ? "paused" : "unpaused",
ss.mean(), ss.sd(), ss.min(), ss.max(), controller.averageTimeTaken());
return ss.mean();
}
public static StatisticalSummary test (TimingAgent controller, EvaluationOptions options, int seed, int level) {