Class Linked
java.lang.Object
repast.simphony.query.space.projection.SpatialPredicate
repast.simphony.query.space.projection.Linked
- All Implemented Interfaces:
ProjectionPredicate
Predicate that evalutes whether two objects are "linked" in a projection. This is unaffected
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
-
Linked
Creates a Linked predicate that will evaluate whether or not the first object is linked 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 adjacent the second in the specified Network.
-