Class NamedWithinBooleanExpression
- java.lang.Object
-
- repast.simphony.engine.watcher.query.NamedWithinBooleanExpression
-
- All Implemented Interfaces:
IBooleanExpression
public class NamedWithinBooleanExpression extends Object implements IBooleanExpression
Returns true if the length of the path from the watcher to the watchee is within (<=) some value in the named network in the current Context.- Version:
- $Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description NamedWithinBooleanExpression(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
-
-