Package org.optaplanner.benchmark.impl.loader

## Interface ProblemProvider<Solution_>

- Type Parameters:
    `Solution_` - the solution type, the class with the `PlanningSolution` annotation
  All Known Implementing Classes:
    `FileProblemProvider`, `InstanceProblemProvider`

      public interface ProblemProvider<Solution_>

  Subclasses need to implement `equals()` and `hashCode()` which are used by `ProblemBenchmarksFactory.buildProblemBenchmarkList(org.optaplanner.benchmark.impl.result.SolverBenchmarkResult, Solution_[])`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getProblemName()` |
    `Solution_` | `readProblem()` |
    `void` | `writeSolution​(Solution_ solution, SubSingleBenchmarkResult subSingleBenchmarkResult)` |

- - ### Method Detail

    - #### getProblemName

          String getProblemName()

      Returns:
        never null

    - #### readProblem

          Solution_ readProblem()

      Returns:
        never null

    - #### writeSolution

          void writeSolution​(Solution_ solution,
                             SubSingleBenchmarkResult subSingleBenchmarkResult)

      Parameters:
        `solution` - never null
        `subSingleBenchmarkResult` - never null