public class XPersistent extends XTally
BOTH_SIDE_CONFIDENCE, description, LEFT_SIDE_CONFIDENCE, max, min, n, RIGTH_SIDE_CONFIDENCE, semaphore, sum, varianceSum| Constructor and Description |
|---|
XPersistent(String description,
DEVSSimulatorInterface.TimeDoubleUnit simulator) |
| Modifier and Type | Method and Description |
|---|---|
double |
getSampleMean()
Returns the sampleMean of all oberservations since the initialization.
|
double |
getSampleVariance()
Returns the current tally variance.
|
double |
getStdDev()
Returns the current tally standard deviation.
|
void |
initialize()
initializes the Tally.
|
void |
persist(double value)
dstat
|
int |
writeToExcel(org.apache.poi.ss.usermodel.Sheet sheet,
int startRow)
Write statistics to an excel spreadsheet, starting on row "startRow".
|
getConfidenceInterval, getConfidenceInterval, getDescription, getMax, getMin, getN, getSum, isInitialized, tally, toStringpublic XPersistent(String description, DEVSSimulatorInterface.TimeDoubleUnit simulator)
description - String; description of the statisticsimulator - DEVSSimulatorInterface.TimeDoubleUnit; the simulatorpublic double getSampleMean()
getSampleMean in class XTallypublic double getStdDev()
public double getSampleVariance()
getSampleVariance in class XTallypublic void initialize()
initialize in class XTallypublic void persist(double value)
value - double; valuepublic int writeToExcel(org.apache.poi.ss.usermodel.Sheet sheet,
int startRow)
XTallywriteToExcel in class XTallysheet - Sheet; the excel sheet to write tostartRow - int; the first row of writingXTally.writeToExcel(org.apache.poi.ss.usermodel.Sheet, int)Copyright © 2014–2019 Delft University of Technology. All rights reserved.