T - type of the valuepublic class PersistentStatistic<T extends AbstractDoubleScalarRel<?,T>> extends Object implements DoubleScalarInterface
 Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
| Constructor and Description | 
|---|
| PersistentStatistic(Persistent<?,T,?> persistent)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| ConfidenceInterval<T> | getConfidenceInterval(double alpha) | 
| ConfidenceInterval<T> | getConfidenceInterval(double alpha,
                     IntervalSide side) | 
| double | getInUnit() | 
| T | getMax() | 
| T | getMean() | 
| T | getMin() | 
| long | getN() | 
| double | getSI() | 
| T | getStDev() | 
| T | getSum() | 
| double | getVariance() | 
| String | toString() | 
public PersistentStatistic(Persistent<?,T,?> persistent)
persistent - Persistent<?,T,?>; the persistent statistic that gathers the datapublic ConfidenceInterval<T> getConfidenceInterval(double alpha)
alpha - double; confidence levelpublic ConfidenceInterval<T> getConfidenceInterval(double alpha, IntervalSide side)
alpha - double; confidence levelside - IntervalSide; side of confidence intervalpublic T getSum()
public T getMin()
public T getMax()
public T getMean()
public T getStDev()
public double getVariance()
public long getN()
public double getSI()
getSI in interface DoubleScalarInterfacepublic double getInUnit()
getInUnit in interface DoubleScalarInterfaceCopyright © 2014–2019 Delft University of Technology. All rights reserved.