optaplanner-benchmark/src/main/java/org/optaplanner/benchmark/impl/result/PlannerBenchmarkResult.java
public static PlannerBenchmarkResult createMergedResult(
            List<SingleBenchmarkResult> singleBenchmarkResultList) {
        PlannerBenchmarkResult mergedResult = createMergeSingleton(singleBenchmarkResultList);
        Map<SolverBenchmarkResult, SolverBenchmarkResult> solverMergeMap
                = SolverBenchmarkResult.createMergeMap(mergedResult, singleBenchmarkResultList);
        Map<ProblemBenchmarkResult, ProblemBenchmarkResult> problemMergeMap
                = ProblemBenchmarkResult.createMergeMap(mergedResult, singleBenchmarkResultList);
        for (SingleBenchmarkResult singleBenchmarkResult : singleBenchmarkResultList) {
            SolverBenchmarkResult solverBenchmarkResult = solverMergeMap.get(
                    singleBenchmarkResult.getSolverBenchmarkResult());
            ProblemBenchmarkResult problemBenchmarkResult = problemMergeMap.get(
                    singleBenchmarkResult.getProblemBenchmarkResult());
            SingleBenchmarkResult.createMerge(
                    solverBenchmarkResult, problemBenchmarkResult, singleBenchmarkResult);
        }
        return mergedResult;
    }
public static PlannerBenchmarkResult createMergedResult(
            List<SingleBenchmarkResult> singleBenchmarkResultList) {
        PlannerBenchmarkResult mergedResult = createMergeSingleton(singleBenchmarkResultList);
        Map<SolverBenchmarkResult, SolverBenchmarkResult> solverMergeMap
                = SolverBenchmarkResult.createMergeMap(mergedResult, singleBenchmarkResultList);
        Map<ProblemBenchmarkResult, ProblemBenchmarkResult> problemMergeMap
                = ProblemBenchmarkResult.createMergeMap(mergedResult, singleBenchmarkResultList);
        for (SingleBenchmarkResult singleBenchmarkResult : singleBenchmarkResultList) {
            SolverBenchmarkResult solverBenchmarkResult = solverMergeMap.get(
                    singleBenchmarkResult.getSolverBenchmarkResult());
            ProblemBenchmarkResult problemBenchmarkResult = problemMergeMap.get(
                    singleBenchmarkResult.getProblemBenchmarkResult());
            SingleBenchmarkResult.createMerge(
                    solverBenchmarkResult, problemBenchmarkResult, singleBenchmarkResult);
        }
        return mergedResult;
    }
public static PlannerBenchmarkResult createMergedResult ( List < SingleBenchmarkResult > singleBenchmarkResultList ) { PlannerBenchmarkResult mergedResult = createMergeSingleton ( singleBenchmarkResultList ) ; Map < SolverBenchmarkResult , SolverBenchmarkResult > solverMergeMap = SolverBenchmarkResult . createMergeMap ( mergedResult , singleBenchmarkResultList ) ; Map < ProblemBenchmarkResult , ProblemBenchmarkResult > problemMergeMap = ProblemBenchmarkResult . createMergeMap ( mergedResult , singleBenchmarkResultList ) ; for ( SingleBenchmarkResult singleBenchmarkResult : singleBenchmarkResultList ) { SolverBenchmarkResult solverBenchmarkResult = solverMergeMap . get ( singleBenchmarkResult . getSolverBenchmarkResult ( ) ) ; ProblemBenchmarkResult problemBenchmarkResult = problemMergeMap . get ( singleBenchmarkResult . getProblemBenchmarkResult ( ) ) ; SingleBenchmarkResult . createMerge ( solverBenchmarkResult , problemBenchmarkResult , singleBenchmarkResult ) ; } return mergedResult ; }
************************************************************************
************************************************************************