Interface ProblemProvider<Solution_>
-
- Type Parameters:
Solution_- the solution type, the class with thePlanningSolutionannotation
- All Known Implementing Classes:
FileProblemProvider,InstanceProblemProvider
public interface ProblemProvider<Solution_>Subclasses need to implementequals()andhashCode()which are used byProblemBenchmarksConfig.buildProblemBenchmarkList(org.optaplanner.core.config.SolverConfigContext, org.optaplanner.benchmark.impl.result.SolverBenchmarkResult, Solution_[]).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetProblemName()Solution_readProblem()voidwriteSolution(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 nullsubSingleBenchmarkResult- never null
-
-