public abstract class SampleStatistic extends Statistic implements Printable
SampleStatistic
or
StdSampleStatistic
serve to register
single measured values (e.g. run times) of the type double with the help of
the method update(double)
. getMean()
) including a
confidence interval (getMeanConfidenceInterval()
)
getDeviation()
)
including a confidence interval (getDeviationConfidenceInterval()
)
getCoefficient()
) including a confidence interval (
getCoefficientConfidenceInterval()
)
getMinimum()
and getMaximum()
) in reference to
all measured values
getBatchMean()
)
getBatchCoefficient()
)
getBatchVariance()
)
getBatchEvents()
)
For printing the results it defines the following keywords:
sampleIndex, simNode, traceWriter
Constructor and Description |
---|
SampleStatistic(SimNode ownNode) |
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(SimNode ownNode)
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()