Class AbstractGridFunction

java.lang.Object
repast.simphony.valueLayer.AbstractGridFunction
All Implemented Interfaces:
GridFunction
Direct Known Subclasses:
MaxGridFunction, MinGridFunction

public abstract class AbstractGridFunction extends Object implements GridFunction
  • Field Details

  • Constructor Details

    • AbstractGridFunction

      public AbstractGridFunction()
  • Method Details

    • reset

      public void reset()
      Resets this GridFunction so it can be used again.
    • doReset

      protected abstract void doReset()
      Performs any subclass specific resetting.
    • getResults

      public List<GridCell> getResults()
      Gets the grid cell(s) with the maximum value of those passed to the apply method.
      Returns:
      the grid cell(s) with the maximum value of those passed to the apply method.