Class NamedWithinVNBooleanExpression
- java.lang.Object
-
- repast.simphony.engine.watcher.query.NamedWithinVNBooleanExpression
-
- All Implemented Interfaces:
IBooleanExpression
public class NamedWithinVNBooleanExpression extends Object implements IBooleanExpression
Returns true if the watchee is within the watcher's Von Neumann neighborhood in any grid projection in the context.- Version:
- $Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description NamedWithinVNBooleanExpression(double distance, String name, Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(Object watcher, Object watchee, Object field)
String
getExpression()
-
-
-
Method Detail
-
getExpression
public String getExpression()
- Specified by:
getExpression
in interfaceIBooleanExpression
-
execute
public boolean execute(Object watcher, Object watchee, Object field)
- Specified by:
execute
in interfaceIBooleanExpression
-
-