Class NamedLinkedToBooleanExpression
java.lang.Object
repast.simphony.engine.watcher.query.NamedLinkedToBooleanExpression
- All Implemented Interfaces:
IBooleanExpression
Returns true if the watcher is linked to the watchee in the named network in
the current Context. Note that for an undirected network, "linked to" is identical
to "linked."
- Version:
- $Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NamedLinkedToBooleanExpression
-
-
Method Details
-
getExpression
- Specified by:
getExpression
in interfaceIBooleanExpression
-
execute
Returns true if the watchee is linked to the watcher in the named projection.- Specified by:
execute
in interfaceIBooleanExpression
- Parameters:
watcher
-watchee
-field
-- Returns:
- true if the watchee is a precedecessor of the watcher.
-