org.eclipse.viatra.query.runtime.localsearch.planner.cost

## Class EvaluablePConstraint

- java.lang.Object
- - org.eclipse.viatra.query.runtime.localsearch.planner.cost.EvaluablePConstraint

- All Implemented Interfaces:
    com.google.common.base.Predicate<PConstraint>

      public final class EvaluablePConstraint
      extends java.lang.Object
      implements com.google.common.base.Predicate<PConstraint>

  A predicate that filters out constraints that cannot be evaluated at a selected search plan state.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EvaluablePConstraint(SubPlan plan, boolean allowInverseNavigation)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `apply(PConstraint input)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.google.common.base.Predicate

      `equals`

- - ### Constructor Detail

    - #### EvaluablePConstraint

          public EvaluablePConstraint(SubPlan plan,
                                      boolean allowInverseNavigation)

  - ### Method Detail

    - #### apply

          public boolean apply(PConstraint input)

      Specified by:
        `apply` in interface `com.google.common.base.Predicate<PConstraint>`