Class MaxGridFunction

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

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

    • MaxGridFunction

      public MaxGridFunction()
  • 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