public class FileProblemProvider<Solution_> extends Object implements ProblemProvider<Solution_>
Constructor and Description |
---|
FileProblemProvider(SolutionFileIO<Solution_> solutionFileIO,
File problemFile) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
File |
getProblemFile() |
String |
getProblemName() |
SolutionFileIO<Solution_> |
getSolutionFileIO() |
int |
hashCode() |
Solution_ |
readProblem() |
String |
toString() |
void |
writeSolution(Solution_ solution,
SubSingleBenchmarkResult subSingleBenchmarkResult) |
public FileProblemProvider(SolutionFileIO<Solution_> solutionFileIO, File problemFile)
public SolutionFileIO<Solution_> getSolutionFileIO()
public File getProblemFile()
public String getProblemName()
getProblemName
in interface ProblemProvider<Solution_>
public Solution_ readProblem()
readProblem
in interface ProblemProvider<Solution_>
public void writeSolution(Solution_ solution, SubSingleBenchmarkResult subSingleBenchmarkResult)
writeSolution
in interface ProblemProvider<Solution_>
solution
- never nullsubSingleBenchmarkResult
- never nullCopyright © 2006–2018 JBoss by Red Hat. All rights reserved.