public abstract class SampleStatistic extends Statistic implements Printable, UnweightedSampleCollector<java.lang.Double>
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() |
void |
printResults(ResultType type,
PrintResultWriter writer) |
abstract void |
update(double sample) |
void |
update(java.lang.Double sample) |
addResultTag, addResultTag, computeMeasures, disableTracing, enableTracing, handleInitSimulation, handleStartBatch, handleStartTransientPhase, handleStopBatch, handleStopTransientPhase, printComments, resetBatchStatistic, resetStatistic, update, writeTraceEntrypublic SampleStatistic(SimNode ownNode)
public void printResults(ResultType type, PrintResultWriter writer) throws PrintException
printResults in interface PrintablePrintExceptionpublic abstract void update(double sample)
public void update(java.lang.Double sample)
update in interface UnweightedSampleCollector<java.lang.Double>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()