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 Type
    Method
    Description
    boolean
    Evaluates the ContinuousSpace against this predicate.
    boolean
    evaluate(Network network)
    Evaluates the Network against this predicate.
    boolean
    evaluate(Grid grid)
    Evaluates the Grid against this predicate.
    boolean
    evaluate(Projection projection)
    Evaluates the projection against this predicate.
  • Method Details

    • evaluate

      boolean evaluate(Projection projection)
      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

      boolean evaluate(Network network)
      Evaluates the Network against this predicate.
      Parameters:
      network - the projection to evaluate against.
      Returns:
      false
    • evaluate

      boolean evaluate(Grid grid)
      Evaluates the Grid against this predicate.
      Parameters:
      grid - the Grid to evaluate against.
      Returns:
      false
    • evaluate

      boolean evaluate(ContinuousSpace space)
      Evaluates the ContinuousSpace against this predicate.
      Parameters:
      space - the continuous space to evaluate against.
      Returns:
      false