Class ConfidenceInterval<T extends org.djunits.value.vdouble.scalar.base.DoubleScalarRel<?,T>>

java.lang.Object
org.opentrafficsim.kpi.sampling.indicator.ConfidenceInterval<T>
Type Parameters:
T - type of the values

public class ConfidenceInterval<T extends org.djunits.value.vdouble.scalar.base.DoubleScalarRel<?,T>> extends Object
Wrapper class for two typed values that represent a confidence interval.

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

    • ConfidenceInterval

      ConfidenceInterval(T lowerValue, T upperValue)
      Parameters:
      lowerValue - T; lower confidence value
      upperValue - T; upper confidence value
  • Method Details

    • getLowerValue

      public T getLowerValue()
      Returns:
      lowerValue.
    • getUpperValue

      public T getUpperValue()
      Returns:
      upperValue.
    • toString

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