Class WithinMooreBooleanExpression
- java.lang.Object
-
- repast.simphony.engine.watcher.query.WithinMooreBooleanExpression
-
- All Implemented Interfaces:
IBooleanExpression
public class WithinMooreBooleanExpression extends Object implements IBooleanExpression
Returns true if the watchee is within the watcher's Moore neighborhood in any grid projection contained by the context.- Version:
- $Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description WithinMooreBooleanExpression(double distance, 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()
-
-
-
Constructor Detail
-
WithinMooreBooleanExpression
public WithinMooreBooleanExpression(double distance, Context context)
-
-
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
-
-