public class StdIntegralStatistic extends IntegralStatistic implements BatchExportable
StdIntegralStatistic extends
IntegralStatistic and provides an
implementation for an integral statistic.sampleIndex, simNode, traceWriter| Constructor and Description |
|---|
StdIntegralStatistic(SimNode ownNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeMeasures(int batchNumber) |
void |
exportBatch(ResultWriter writer)
Exports the batch state to a result writer.
|
double |
getBatchMean() |
double |
getConfidenceInterval() |
double |
getMaximum() |
double |
getMean() |
double |
getMinimum() |
void |
importBatch(ResultReader reader)
Imports the state of a batch from the result reader.
|
void |
resetBatchStatistic()
only between batches
|
void |
resetStatistic()
reset complete statistic
|
void |
setStartValues(double time,
double height) |
void |
update(double time,
double height) |
getResultTypeName, printResultsaddResultTag, addResultTag, disableTracing, enableTracing, handleInitSimulation, handleStartBatch, handleStartTransientPhase, handleStopBatch, handleStopTransientPhase, printComments, update, writeTraceEntrypublic StdIntegralStatistic(SimNode ownNode)
public double getBatchMean()
getBatchMean in class IntegralStatisticpublic double getConfidenceInterval()
getConfidenceInterval in class IntegralStatisticpublic double getMaximum()
getMaximum in class IntegralStatisticpublic double getMean()
getMean in class IntegralStatisticpublic double getMinimum()
getMinimum in class IntegralStatisticpublic void setStartValues(double time,
double height)
setStartValues in class IntegralStatisticpublic void update(double time,
double height)
update in class IntegralStatisticpublic void resetBatchStatistic()
StatisticresetBatchStatistic in class Statisticpublic void resetStatistic()
StatisticresetStatistic in class Statisticpublic void computeMeasures(int batchNumber)
computeMeasures in class Statisticpublic void exportBatch(ResultWriter writer) throws ResultException
BatchExportableimportBatch despite the keywords.exportBatch in interface BatchExportablewriter - the result writer which preserves the stateResultException - if any exception occurs while writing a result to the writerpublic void importBatch(ResultReader reader) throws ResultException
BatchExportableexportBatch despite the keywords.importBatch in interface BatchExportablereader - the result reader which contains the batch stateResultException - if any exception occurs while reading a result from the reader