Package repast.simphony.valueLayer
Interface GridFunction
- All Known Implementing Classes:
AbstractGridFunction,MaxGridFunction,MinGridFunction
public interface GridFunction
Callback type function interface for classes that can be
passed to a GridValueLayer for each method.
- Author:
- Nick Collier
-
Method Summary
Modifier and TypeMethodDescriptionvoidapply(double gridValue, int... location) Applies this GridFunction to the value and location.
-
Method Details
-
apply
void apply(double gridValue, int... location) Applies this GridFunction to the value and location.- Parameters:
gridValue- the grid value at the locationlocation- the value's location
-