Class MultiTraceFunction.Long

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

public static class MultiTraceFunction.Long extends MultiTraceFunction implements LongSource
An implementation of the Memoryless Series class, which manages long type data sources.
  • Field Details

    • max

      protected long max
    • min

      protected long min
    • sum

      protected long sum
    • sumSquare

      protected long sumSquare
    • target

      protected LongSource target
  • Constructor Details

    • Long

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

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