Class FileProblemProvider<Solution_>
java.lang.Object
org.optaplanner.benchmark.impl.loader.FileProblemProvider<Solution_>
- All Implemented Interfaces:
ProblemProvider<Solution_>
-
Constructor Summary
ConstructorDescriptionFileProblemProvider
(SolutionFileIO<Solution_> solutionFileIO, File problemFile) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
toString()
void
writeSolution
(Solution_ solution, SubSingleBenchmarkResult subSingleBenchmarkResult)
-
Constructor Details
-
FileProblemProvider
-
-
Method Details
-
getSolutionFileIO
-
getProblemFile
-
getProblemName
- Specified by:
getProblemName
in interfaceProblemProvider<Solution_>
- Returns:
- never null
-
readProblem
- Specified by:
readProblem
in interfaceProblemProvider<Solution_>
- Returns:
- never null
-
writeSolution
- Specified by:
writeSolution
in interfaceProblemProvider<Solution_>
- Parameters:
solution
- never nullsubSingleBenchmarkResult
- never null
-
equals
-
hashCode
public int hashCode() -
toString
-