/** * In the end algorithms are sorted by their rating. Best is first! * * @param repeat number of repetitions */ public void run(int repeat) { long stTime = System.currentTimeMillis(); RatingBenchmark.debugPrint = printDebug; // prints one on one results RatingBenchmark.printSingleRunDuration = printSingleRunDuration; benchMark.run(ra, allSingleProblemRunResults, repeat); ra.recalcRangs(); Collections.sort(listAll, new Player.RatingComparator()); long endTime = System.currentTimeMillis(); duration = endTime - stTime; // System.out.println("Benchmark DURATION: "+duration/1000+"s"); }