Package repast.simphony.valueLayer
Class AbstractGridFunction
java.lang.Object
repast.simphony.valueLayer.AbstractGridFunction
- All Implemented Interfaces:
GridFunction
- Direct Known Subclasses:
MaxGridFunction
,MinGridFunction
-
Field Details
-
cells
-
-
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
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.
-