org.drools.planner.benchmark.core.statistic
Class AbstractProblemStatistic
java.lang.Object
org.drools.planner.benchmark.core.statistic.AbstractProblemStatistic
- All Implemented Interfaces:
- ProblemStatistic
- Direct Known Subclasses:
- BestScoreStatistic, CalculateCountStatistic, MemoryUseStatistic
public abstract class AbstractProblemStatistic
- extends Object
- implements ProblemStatistic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
problemStatisticType
protected ProblemStatisticType problemStatisticType
AbstractProblemStatistic
protected AbstractProblemStatistic(ProblemStatisticType problemStatisticType)
writeStatistic
public CharSequence writeStatistic(File statisticDirectory,
String baseName)
- Specified by:
writeStatistic
in interface ProblemStatistic
- Parameters:
statisticDirectory
- never nullbaseName
- never null
- Returns:
- a htmFragment, never null
writeCsvStatistic
protected abstract CharSequence writeCsvStatistic(File statisticDirectory,
String baseName)
writeGraphStatistic
protected abstract CharSequence writeGraphStatistic(File statisticDirectory,
String baseName)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.