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,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface 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, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
description - description of the statisticsimulator - 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 - valuepublic int writeToExcel(org.apache.poi.ss.usermodel.Sheet sheet,
int startRow)
XTallywriteToExcel in class XTallysheet - the excel sheet to write tostartRow - the first row of writingXTally.writeToExcel(org.apache.poi.ss.usermodel.Sheet, int)Copyright © 2014–2017 Delft University of Technology. All rights reserved.