public abstract class SampleStatistic extends Statistic implements Printable
For printing the results it defines the following keywords:
sampleIndex, simNode, traceWriter
Constructor and Description |
---|
SampleStatistic(java.lang.String name,
SimNode parent) |
Modifier and Type | Method and Description |
---|---|
abstract double |
getBatchCoefficient() |
abstract long |
getBatchEvents() |
abstract double |
getBatchMean() |
abstract double |
getBatchStandardDeviation() |
abstract double |
getBatchVariance() |
abstract double |
getCoefficient() |
abstract double |
getCoefficientConfidenceInterval() |
abstract double |
getDeviation() |
abstract double |
getDeviationConfidenceInterval() |
abstract long |
getEvents() |
abstract double |
getMaximum() |
abstract double |
getMean() |
abstract double |
getMeanConfidenceInterval() |
abstract double |
getMinimum() |
java.lang.String |
getResultTypeName() |
void |
printResults(ResultType type,
PrintResultWriter writer) |
abstract void |
update(double sample) |
addResultTag, addResultTag, computeMeasures, disableTracing, enableTracing, handleInitSimulation, handleStartBatch, handleStartTransientPhase, handleStopBatch, handleStopTransientPhase, printComments, resetBatchStatistic, resetStatistic, update, writeTraceEntry
public SampleStatistic(java.lang.String name, SimNode parent)
public void printResults(ResultType type, PrintResultWriter writer)
printResults
in interface Printable
public java.lang.String getResultTypeName()
getResultTypeName
in interface Printable
public abstract void update(double sample)
public abstract double getMean()
public abstract double getDeviation()
public abstract double getCoefficient()
public abstract long getEvents()
public abstract double getBatchMean()
public abstract long getBatchEvents()
public abstract double getBatchCoefficient()
public abstract double getBatchVariance()
public abstract double getBatchStandardDeviation()
public abstract double getMeanConfidenceInterval()
public abstract double getDeviationConfidenceInterval()
public abstract double getCoefficientConfidenceInterval()
public abstract double getMaximum()
public abstract double getMinimum()