Class WithinVN
- java.lang.Object
-
- repast.simphony.query.space.projection.SpatialPredicate
-
- repast.simphony.query.space.projection.WithinVN
-
- All Implemented Interfaces:
ProjectionPredicate
public class WithinVN extends SpatialPredicate
Predicate that evalutes whether one object is within the Von Neumann neighborhood of another in a grid projection.- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(Grid grid)
Evaluates the Grid against this predicate.-
Methods inherited from class repast.simphony.query.space.projection.SpatialPredicate
evaluate, evaluate, evaluate
-
-
-
-
Method Detail
-
evaluate
public boolean evaluate(Grid grid)
Evaluates the Grid against this predicate.- Specified by:
evaluate
in interfaceProjectionPredicate
- Overrides:
evaluate
in classSpatialPredicate
- Parameters:
grid
- the Grid to evaluate against.- Returns:
- false
-
-