Class LinkedTo
java.lang.Object
repast.simphony.query.space.projection.SpatialPredicate
repast.simphony.query.space.projection.LinkedTo
- All Implemented Interfaces:
ProjectionPredicate
Predicate that evalutes whether one object has a link to another in a projection. The
result is affected by the directionality of the link.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Methods inherited from class repast.simphony.query.space.projection.SpatialPredicate
evaluate, evaluate, evaluate
-
Constructor Details
-
LinkedTo
Creates a LinkedTo predicate that will evaluate whether or not the first object has a link t to the second.- Parameters:
obj1
-obj2
-
-
-
Method Details
-
evaluate
Description copied from class:SpatialPredicate
Evaluates the Network against this predicate.- Specified by:
evaluate
in interfaceProjectionPredicate
- Overrides:
evaluate
in classSpatialPredicate
- Parameters:
network
- the network to evaluate against.- Returns:
- true if the first object is a predeccessor of the second in the specified Network.
-