Package org.sosy_lab.java_smt.api
Interface BasicProverEnvironment.AllSatCallback<R>
-
- Type Parameters:
R- The result type of the callback, passed through byBasicProverEnvironment.allSat(org.sosy_lab.java_smt.api.BasicProverEnvironment.AllSatCallback<R>, java.util.List<org.sosy_lab.java_smt.api.BooleanFormula>).
- Enclosing interface:
- BasicProverEnvironment<T>
public static interface BasicProverEnvironment.AllSatCallback<R>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(List<BooleanFormula> model)Callback for each possible satisfying assignment to givenimportantpredicates.RgetResult()Returning the result generated after all theapply(java.util.List<org.sosy_lab.java_smt.api.BooleanFormula>)calls have went through.
-
-
-
Method Detail
-
apply
void apply(List<BooleanFormula> model)
Callback for each possible satisfying assignment to givenimportantpredicates. If the predicate is assignedtruein the model, it is returned as-is in the list, and otherwise it is negated. TODO: this interface does not work properly for negated predicates.
-
getResult
R getResult() throws InterruptedException
Returning the result generated after all theapply(java.util.List<org.sosy_lab.java_smt.api.BooleanFormula>)calls have went through.- Throws:
InterruptedException
-
-