Class MinArrayFunction.Double

All Implemented Interfaces:
EventListener, IDoubleSource, IUpdatableSource
Enclosing class:
MinArrayFunction

public static class MinArrayFunction.Double extends MinArrayFunction implements IDoubleSource
MinFunction operating on double source values.
Author:
Michele Sonnessa
  • Field Details

    • min

      protected double min
  • Constructor Details

    • Double

      public Double(IDoubleArraySource source)
      Create a minimum function on a double array source.
      Parameters:
      source - The data source.
  • Method Details

    • apply

      public void apply(double[] data)
      Description copied from class: AbstractArrayFunction
      Apply the function on a the given array of double values.
      Overrides:
      apply in class AbstractArrayFunction
      Parameters:
      data - A source array of values.
    • getDoubleValue

      public double getDoubleValue(Enum<?> variableID)
      Description copied from interface: IDoubleSource
      Return the double value corresponding to the given variableID
      Specified by:
      getDoubleValue in interface IDoubleSource
      Parameters:
      variableID - A unique identifier for a variable.
      Returns:
      The current double value of the required variable.