Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.benchmark.core.statistic.calculatecount
Class CalculateCountProblemStatistic

java.lang.Object
  extended by org.drools.planner.benchmark.core.statistic.AbstractProblemStatistic
      extended by org.drools.planner.benchmark.core.statistic.calculatecount.CalculateCountProblemStatistic
All Implemented Interfaces:
ProblemStatistic

public class CalculateCountProblemStatistic
extends AbstractProblemStatistic


Nested Class Summary
 
Nested classes/interfaces inherited from class org.drools.planner.benchmark.core.statistic.AbstractProblemStatistic
AbstractProblemStatistic.ProblemStatisticCsv, AbstractProblemStatistic.ProblemStatisticCsvLine
 
Field Summary
protected  File graphStatisticFile
           
 
Fields inherited from class org.drools.planner.benchmark.core.statistic.AbstractProblemStatistic
csvStatisticFile, problemBenchmark, problemStatisticType, warningList
 
Constructor Summary
CalculateCountProblemStatistic(ProblemBenchmark problemBenchmark)
           
 
Method Summary
 SingleStatistic createSingleStatistic()
          This method is thread-safe.
 String getGraphFilePath()
           
protected  void writeCsvStatistic()
           
protected  void writeGraphStatistic()
           
 
Methods inherited from class org.drools.planner.benchmark.core.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

graphStatisticFile

protected File graphStatisticFile
Constructor Detail

CalculateCountProblemStatistic

public CalculateCountProblemStatistic(ProblemBenchmark problemBenchmark)
Method Detail

createSingleStatistic

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

Returns:
never null

getGraphFilePath

public String getGraphFilePath()
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

Drools Planner distribution 6.0.0.Alpha9

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