OptaPlanner distribution 6.0.0-SNAPSHOT

org.optaplanner.benchmark.impl.statistic.improvingsteppercentage
Class ImprovingStepPercentageProblemStatistic

java.lang.Object
  extended by org.optaplanner.benchmark.impl.statistic.AbstractProblemStatistic
      extended by org.optaplanner.benchmark.impl.statistic.improvingsteppercentage.ImprovingStepPercentageProblemStatistic
All Implemented Interfaces:
ProblemStatistic

public class ImprovingStepPercentageProblemStatistic
extends AbstractProblemStatistic


Nested Class Summary
 
Nested classes/interfaces inherited from class org.optaplanner.benchmark.impl.statistic.AbstractProblemStatistic
AbstractProblemStatistic.ProblemStatisticCsv, AbstractProblemStatistic.ProblemStatisticCsvLine
 
Field Summary
protected  Map<Class<? extends Move>,File> graphStatisticFileMap
           
 
Fields inherited from class org.optaplanner.benchmark.impl.statistic.AbstractProblemStatistic
csvStatisticFile, problemBenchmark, problemStatisticType, warningList
 
Constructor Summary
ImprovingStepPercentageProblemStatistic(ProblemBenchmark problemBenchmark)
           
 
Method Summary
 SingleStatistic createSingleStatistic()
          This method is thread-safe.
 String getGraphFilePath(Class<? extends Move> moveClass)
           
 Collection<Class<? extends Move>> getMoveClasses()
           
protected  void writeCsvStatistic()
           
protected  void writeGraphStatistic()
           
 
Methods inherited from class org.optaplanner.benchmark.impl.statistic.AbstractProblemStatistic
fillWarningList, getAnchorId, getCsvFilePath, getProblemBenchmark, getProblemStatisticType, getWarningList, toFilePath, writeChartToImageFile, writeStatistic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graphStatisticFileMap

protected Map<Class<? extends Move>,File> graphStatisticFileMap
Constructor Detail

ImprovingStepPercentageProblemStatistic

public ImprovingStepPercentageProblemStatistic(ProblemBenchmark problemBenchmark)
Method Detail

createSingleStatistic

public SingleStatistic createSingleStatistic()
Description copied from interface: ProblemStatistic
This method is thread-safe.

Returns:
never null

getMoveClasses

public Collection<Class<? extends Move>> getMoveClasses()

getGraphFilePath

public String getGraphFilePath(Class<? extends Move> moveClass)
Returns:
never null, relative to the DefaultPlannerBenchmark.benchmarkReportDirectory (not ProblemBenchmark.problemReportDirectory)

writeCsvStatistic

protected void writeCsvStatistic()
Specified by:
writeCsvStatistic in class AbstractProblemStatistic

writeGraphStatistic

protected void writeGraphStatistic()
Specified by:
writeGraphStatistic in class AbstractProblemStatistic

OptaPlanner distribution 6.0.0-SNAPSHOT

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.