124125126127128129130131132133134
} try { int count = 1; for(Future<BenchmarkResult> f : futures){ BenchmarkResult r = f.get(); print(r,count); results.add(f.get()); count++; } } catch (InterruptedException e) {
157158159160161162163
vehicles[run] = best.getRoutes().size(); results[run] = cost.getCost(best); times[run] = stopwatch.getCompTimeInSeconds(); } return new BenchmarkResult(p, runs, results, times, vehicles); }