Class MultiTraceFunction.Integer

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

public static class MultiTraceFunction.Integer extends MultiTraceFunction implements IntSource
An implementation of the Memoryless Series class, which manages integer type data sources.
  • Field Details

    • max

      protected int max
    • min

      protected int min
    • sum

      protected int sum
    • sumSquare

      protected long sumSquare
    • target

      protected IntSource target
  • Constructor Details

    • Integer

      public Integer(@NonNull @NonNull IntSource 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.
    • Integer

      public Integer(@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