-
- All Known Implementing Classes:
AIGPredicate,CNFPredicate,ContainsPBCPredicate,ContingencyPredicate,ContradictionPredicate,DNFPredicate,EvaluatesToConstantPredicate,NNFPredicate,SATPredicate,TautologyPredicate,TermPredicate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface FormulaPredicate
A predicate on a formula.- Since:
- 1.0
- Version:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleantest(Formula formula, boolean cache)Tests the predicate on a given formula.
-
-
-
Method Detail
-
test
boolean test(Formula formula, boolean cache)
Tests the predicate on a given formula.- Parameters:
formula- the input formulacache- indicates whether the result should be cached in the formula's cache- Returns:
trueif the formula holds,falseotherwise
-
-