org.drools.planner.benchmark.core
Class ProblemBenchmark
java.lang.Object
org.drools.planner.benchmark.core.ProblemBenchmark
public class ProblemBenchmark
- extends Object
Represents one problem instance (a data set) benchmarked on multiple solvers.
ProblemBenchmark
public ProblemBenchmark()
getName
public String getName()
setName
public void setName(String name)
getProblemIO
public ProblemIO getProblemIO()
setProblemIO
public void setProblemIO(ProblemIO problemIO)
getInputSolutionFile
public File getInputSolutionFile()
setInputSolutionFile
public void setInputSolutionFile(File inputSolutionFile)
getOutputSolutionFilesDirectory
public File getOutputSolutionFilesDirectory()
setOutputSolutionFilesDirectory
public void setOutputSolutionFilesDirectory(File outputSolutionFilesDirectory)
getProblemStatisticList
public List<ProblemStatistic> getProblemStatisticList()
setProblemStatisticList
public void setProblemStatisticList(List<ProblemStatistic> problemStatisticList)
getPlannerBenchmarkResultList
public List<PlannerBenchmarkResult> getPlannerBenchmarkResultList()
setPlannerBenchmarkResultList
public void setPlannerBenchmarkResultList(List<PlannerBenchmarkResult> plannerBenchmarkResultList)
getWinningPlannerBenchmarkResult
public PlannerBenchmarkResult getWinningPlannerBenchmarkResult()
setWinningPlannerBenchmarkResult
public void setWinningPlannerBenchmarkResult(PlannerBenchmarkResult winningPlannerBenchmarkResult)
benchmarkingStarted
public void benchmarkingStarted()
benchmark
public void benchmark()
warmUp
public long warmUp(long startingTimeMillis,
long warmUpTimeMillisSpend,
long timeLeft)
readPlanningProblem
public Solution readPlanningProblem()
benchmarkingEnded
public void benchmarkingEnded()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.