Class PersistentStatistic<U extends Unit<U>,T extends DoubleScalarRel<U,T>>

java.lang.Object
org.opentrafficsim.kpi.sampling.indicator.PersistentStatistic<U,T>
Type Parameters:
U - the unit type
T - type of the value

@Deprecated public class PersistentStatistic<U extends Unit<U>,T extends DoubleScalarRel<U,T>> extends Object
Deprecated.
Persistent statistic.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Details

    • PersistentStatistic

      public PersistentStatistic(Persistent<U,T,?> persistent)
      Deprecated.
      Constructor.
      Parameters:
      persistent - the persistent statistic that gathers the data
  • Method Details

    • getConfidenceInterval

      public ConfidenceInterval<T> getConfidenceInterval(double alpha)
      Deprecated.
      Returns confidence interval.
      Parameters:
      alpha - confidence level
      Returns:
      both-side confidence interval
    • getConfidenceInterval

      public ConfidenceInterval<T> getConfidenceInterval(double alpha, IntervalSide side)
      Deprecated.
      Returns confidence interval.
      Parameters:
      alpha - confidence level
      side - side of confidence interval
      Returns:
      confidence interval
    • getSum

      public T getSum()
      Deprecated.
      Returns the sum.
      Returns:
      sum.
    • getMin

      public T getMin()
      Deprecated.
      Returns the minimum.
      Returns:
      min.
    • getMax

      public T getMax()
      Deprecated.
      Returns the maximum.
      Returns:
      max.
    • getMean

      public T getMean()
      Deprecated.
      Returns the mean.
      Returns:
      mean.
    • getStDev

      public T getStDev()
      Deprecated.
      Returns the standard deviation.
      Returns:
      stDev.
    • getVariance

      public double getVariance()
      Deprecated.
      Returns the variance.
      Returns:
      variance.
    • getN

      public long getN()
      Deprecated.
      Return n.
      Returns:
      n.
    • toString

      public final String toString()
      Deprecated.
      Overrides:
      toString in class Object