Class MinGridFunction

java.lang.Object
repast.simphony.valueLayer.AbstractGridFunction
repast.simphony.valueLayer.MinGridFunction
All Implemented Interfaces:
GridFunction

public class MinGridFunction extends AbstractGridFunction
GridFunction that calculates the minimum value(s) from those passed in.
Author:
Nick Collier
  • Constructor Details

    • MinGridFunction

      public MinGridFunction()
  • Method Details

    • apply

      public void apply(double gridValue, int... location)
      Description copied from interface: GridFunction
      Applies this GridFunction to the value and location.
      Parameters:
      gridValue - the grid value at the location
      location - the value's location
    • doReset

      protected void doReset()
      Description copied from class: AbstractGridFunction
      Performs any subclass specific resetting.
      Specified by:
      doReset in class AbstractGridFunction