public class InstanceProblemProvider<Solution_> extends Object implements ProblemProvider<Solution_>
| Constructor and Description |
|---|
InstanceProblemProvider(String problemName,
SolutionDescriptor<Solution_> solutionDescriptor,
Solution_ problem) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getProblemName() |
int |
hashCode() |
Solution_ |
readProblem() |
String |
toString() |
void |
writeSolution(Solution_ solution,
SubSingleBenchmarkResult subSingleBenchmarkResult) |
public InstanceProblemProvider(String problemName, SolutionDescriptor<Solution_> solutionDescriptor, Solution_ problem)
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–2020 JBoss by Red Hat. All rights reserved.