public abstract class SingleStatistic<P extends StatisticPoint> extends Object
SingleBenchmarkResult
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
protected List<P> |
pointList |
protected SingleBenchmarkResult |
singleBenchmarkResult |
Modifier | Constructor and Description |
---|---|
protected |
SingleStatistic(SingleBenchmarkResult singleBenchmarkResult) |
Modifier and Type | Method and Description |
---|---|
abstract void |
close(org.optaplanner.core.api.solver.Solver solver) |
protected abstract P |
createPointFromCsvLine(org.optaplanner.core.impl.score.definition.ScoreDefinition scoreDefinition,
List<String> csvLine) |
String |
getAnchorId() |
File |
getCsvFile() |
String |
getCsvFilePath() |
protected abstract String |
getCsvHeader() |
List<P> |
getPointList() |
SingleBenchmarkResult |
getSingleBenchmarkResult() |
abstract StatisticType |
getStatisticType() |
void |
initPointList() |
abstract void |
open(org.optaplanner.core.api.solver.Solver solver) |
void |
readCsvStatisticFile() |
void |
setPointList(List<P> pointList) |
void |
setSingleBenchmarkResult(SingleBenchmarkResult singleBenchmarkResult) |
void |
writeCsvStatisticFile() |
protected final transient org.slf4j.Logger logger
protected SingleBenchmarkResult singleBenchmarkResult
protected List<P extends StatisticPoint> pointList
protected SingleStatistic(SingleBenchmarkResult singleBenchmarkResult)
public SingleBenchmarkResult getSingleBenchmarkResult()
public void setSingleBenchmarkResult(SingleBenchmarkResult singleBenchmarkResult)
public abstract StatisticType getStatisticType()
public String getCsvFilePath()
public File getCsvFile()
public abstract void open(org.optaplanner.core.api.solver.Solver solver)
public abstract void close(org.optaplanner.core.api.solver.Solver solver)
public void initPointList()
protected abstract String getCsvHeader()
public void writeCsvStatisticFile()
public void readCsvStatisticFile()
protected abstract P createPointFromCsvLine(org.optaplanner.core.impl.score.definition.ScoreDefinition scoreDefinition, List<String> csvLine)
public String getAnchorId()
Copyright © 2006–2015 JBoss by Red Hat. All rights reserved.