public abstract class BatchSumStatistic extends Statistic implements Printable, UnweightedSampleCollector<java.lang.Long>
BatchSumStatistic or
StdBatchSumStatistic add up measured
values (e.g., number of bytes that have passed a certain port) of the type
long during a batch with the help of the method
Statistic.update().
The following functions are available for evaluation:
getMean()) including a confidence
interval (getConfidenceInterval())getMinimum() and getMaximum()) of the
batch sumsgetNumberOfEvents())getNumberOfBatches())sampleIndex, simNode, traceWriter| Constructor and Description |
|---|
BatchSumStatistic(SimNode ownNode) |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
getBatchSum() |
abstract double |
getConfidenceInterval() |
abstract double |
getMaximum() |
abstract double |
getMean() |
abstract double |
getMinimum() |
abstract long |
getNumberOfBatches() |
abstract long |
getNumberOfBatchEvents() |
abstract long |
getNumberOfEvents() |
abstract double |
getStandardDeviation() |
void |
printResults(ResultType type,
PrintResultWriter writer) |
abstract void |
update(long sample) |
void |
update(java.lang.Long value) |
addResultTag, addResultTag, computeMeasures, disableTracing, enableTracing, handleInitSimulation, handleStartBatch, handleStartTransientPhase, handleStopBatch, handleStopTransientPhase, printComments, resetBatchStatistic, resetStatistic, update, writeTraceEntrypublic BatchSumStatistic(SimNode ownNode)
public void printResults(ResultType type, PrintResultWriter writer) throws PrintException
printResults in interface PrintablePrintExceptionpublic abstract void update(long sample)
public void update(java.lang.Long value)
update in interface UnweightedSampleCollector<java.lang.Long>public abstract double getMaximum()
public abstract double getMinimum()
public abstract double getMean()
public abstract long getNumberOfEvents()
public abstract long getBatchSum()
public abstract long getNumberOfBatchEvents()
public abstract long getNumberOfBatches()
public abstract double getConfidenceInterval()
public abstract double getStandardDeviation()