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(Sheet sheet,
int startRow)
Write statistics to an excel spreadsheet, starting on row "startRow"
|
getConfidenceInterval, getConfidenceInterval, getDescription, getMax, getMin, getN, getSum, isInitialized, tally, toString
public XPersistent(String description, DEVSSimulatorInterface.TimeDoubleUnit simulator)
description
- description of the statisticsimulator
- the simulatorpublic double getSampleMean()
getSampleMean
in class XTally
public double getStdDev()
public double getSampleVariance()
getSampleVariance
in class XTally
public void initialize()
initialize
in class XTally
public void persist(double value)
value
- valuepublic int writeToExcel(Sheet sheet, int startRow)
XTally
writeToExcel
in class XTally
sheet
- the excel sheet to write tostartRow
- the first row of writingXTally.writeToExcel(org.apache.poi.ss.usermodel.Sheet, int)
Copyright © 2014–2018 Delft University of Technology. All rights reserved.