Class MultiTraceFunction.Double

java.lang.Object
microsim.statistics.functions.MultiTraceFunction
microsim.statistics.functions.MultiTraceFunction.Double
All Implemented Interfaces:
EventListener, DoubleSource, UpdatableSource
Enclosing class:
MultiTraceFunction

public static class MultiTraceFunction.Double extends MultiTraceFunction implements DoubleSource
An implementation of the Memoryless Series class, which manages double type data sources.
  • Field Details

    • max

      protected double max
    • min

      protected double min
    • sum

      protected double sum
    • sumSquare

      protected double sumSquare
    • target

      protected DoubleSource target
  • Constructor Details

    • Double

      public Double(@NonNull @NonNull DoubleSource source, @NonNull @NonNull Enum<?> valueID)
      Creates a basic statistic probe on a DoubleSource object.
      Parameters:
      source - The DoubleSource object.
      valueID - The value identifier defined by source object.
      Throws:
      NullPointerException - when any of the input parameters is null.
    • Double

      public Double(@NonNull @NonNull Object source, @NonNull @NonNull String valueName, boolean getFromMethod)
      Creates a basic statistic probe on a generic object.
      Parameters:
      source - A generic source object.
      valueName - The name of the field or the method returning the variable to be probed.
      getFromMethod - Specifies if valueName is a method or a property value.
      Throws:
      NullPointerException - when any of the input parameters is null.
  • Method Details