public <Solution_> void buildProblemBenchmarkList(SolverConfigContext solverConfigContext,
            SolverBenchmarkResult solverBenchmarkResult, Solution_[] extraProblems) {
        PlannerBenchmarkResult plannerBenchmarkResult = solverBenchmarkResult.getPlannerBenchmarkResult();
        List<ProblemBenchmarkResult> unifiedProblemBenchmarkResultList
                = plannerBenchmarkResult.getUnifiedProblemBenchmarkResultList();
        for (ProblemProvider<Solution_> problemProvider : buildProblemProviderList(
                solverConfigContext, solverBenchmarkResult, extraProblems)) {
            // 2 SolverBenchmarks containing equal ProblemBenchmarks should contain the same instance
            ProblemBenchmarkResult<Solution_> newProblemBenchmarkResult = buildProblemBenchmark(
                    solverConfigContext, plannerBenchmarkResult, problemProvider);
            ProblemBenchmarkResult problemBenchmarkResult;
            int index = unifiedProblemBenchmarkResultList.indexOf(newProblemBenchmarkResult);
            if (index < 0) {
                problemBenchmarkResult = newProblemBenchmarkResult;
                unifiedProblemBenchmarkResultList.add(problemBenchmarkResult);
            } else {
                problemBenchmarkResult = unifiedProblemBenchmarkResultList.get(index);
            }
            buildSingleBenchmark(solverConfigContext, solverBenchmarkResult, problemBenchmarkResult);
        }
    }
public <Solution_> void buildProblemBenchmarkList(SolverConfigContext solverConfigContext,
            SolverBenchmarkResult solverBenchmarkResult, Solution_[] extraProblems) {
        PlannerBenchmarkResult plannerBenchmarkResult = solverBenchmarkResult.getPlannerBenchmarkResult();
        List<ProblemBenchmarkResult> unifiedProblemBenchmarkResultList
                = plannerBenchmarkResult.getUnifiedProblemBenchmarkResultList();
        for (ProblemProvider<Solution_> problemProvider : buildProblemProviderList(
                solverConfigContext, solverBenchmarkResult, extraProblems)) {
            
            ProblemBenchmarkResult<Solution_> newProblemBenchmarkResult = buildProblemBenchmark(
                    solverConfigContext, plannerBenchmarkResult, problemProvider);
            ProblemBenchmarkResult problemBenchmarkResult;
            int index = unifiedProblemBenchmarkResultList.indexOf(newProblemBenchmarkResult);
            if (index < 0) {
                problemBenchmarkResult = newProblemBenchmarkResult;
                unifiedProblemBenchmarkResultList.add(problemBenchmarkResult);
            } else {
                problemBenchmarkResult = unifiedProblemBenchmarkResultList.get(index);
            }
            buildSingleBenchmark(solverConfigContext, solverBenchmarkResult, problemBenchmarkResult);
        }
    }
public < Solution_ > void buildProblemBenchmarkList ( SolverConfigContext solverConfigContext , SolverBenchmarkResult solverBenchmarkResult , Solution_ [ ] extraProblems ) { PlannerBenchmarkResult plannerBenchmarkResult = solverBenchmarkResult . getPlannerBenchmarkResult ( ) ; List < ProblemBenchmarkResult > unifiedProblemBenchmarkResultList = plannerBenchmarkResult . getUnifiedProblemBenchmarkResultList ( ) ; for ( ProblemProvider < Solution_ > problemProvider : buildProblemProviderList ( solverConfigContext , solverBenchmarkResult , extraProblems ) ) { // 2 SolverBenchmarks containing equal ProblemBenchmarks should contain the same instance ProblemBenchmarkResult < Solution_ > newProblemBenchmarkResult = buildProblemBenchmark ( solverConfigContext , plannerBenchmarkResult , problemProvider ) ; ProblemBenchmarkResult problemBenchmarkResult ; int index = unifiedProblemBenchmarkResultList . indexOf ( newProblemBenchmarkResult ) ; if ( index < 0 ) { problemBenchmarkResult = newProblemBenchmarkResult ; unifiedProblemBenchmarkResultList . add ( problemBenchmarkResult ) ; } else { problemBenchmarkResult = unifiedProblemBenchmarkResultList . get ( index ) ; } buildSingleBenchmark ( solverConfigContext , solverBenchmarkResult , problemBenchmarkResult ) ; } }
************************************************************************
************************************************************************