Package repast.simphony.valueLayer
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
-
-
Field Summary
-
Fields inherited from class repast.simphony.valueLayer.AbstractGridFunction
cells
-
-
Constructor Summary
Constructors Constructor Description MinGridFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(double gridValue, int... location)
Applies this GridFunction to the value and location.protected void
doReset()
Performs any subclass specific resetting.-
Methods inherited from class repast.simphony.valueLayer.AbstractGridFunction
getResults, reset
-
-
-
-
Method Detail
-
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 locationlocation
- the value's location
-
doReset
protected void doReset()
Description copied from class:AbstractGridFunction
Performs any subclass specific resetting.- Specified by:
doReset
in classAbstractGridFunction
-
-