Package repast.simphony.space.projection
Interface ProjectionPredicate
- All Known Implementing Classes:
Linked
,LinkedFrom
,LinkedTo
,SpatialPredicate
,Within
,WithinMoore
,WithinVN
public interface ProjectionPredicate
Interface for predicates that are evaluated against projections. Primiarly used by
the watcher query mechanism.
- Author:
- milesparker
-
Method Summary
Modifier and TypeMethodDescriptionboolean
evaluate
(ContinuousSpace space) Evaluates the ContinuousSpace against this predicate.boolean
Evaluates the Network against this predicate.boolean
Evaluates the Grid against this predicate.boolean
evaluate
(Projection projection) Evaluates the projection against this predicate.
-
Method Details
-
evaluate
Evaluates the projection against this predicate. This is the default for any Projections not specifically named below.- Parameters:
projection
- the projection to evaluate against.- Returns:
- true if this predicate is true for the specified projection otherwise false.
-
evaluate
Evaluates the Network against this predicate.- Parameters:
network
- the projection to evaluate against.- Returns:
- false
-
evaluate
Evaluates the Grid against this predicate.- Parameters:
grid
- the Grid to evaluate against.- Returns:
- false
-
evaluate
Evaluates the ContinuousSpace against this predicate.- Parameters:
space
- the continuous space to evaluate against.- Returns:
- false
-