public interface BasicProverEnvironment<T> extends AutoCloseable
ProverEnvironment and InterpolatingProverEnvironment
that provides only the common operations.
In most cases, just use one of the two sub-interfaces| Modifier and Type | Method and Description |
|---|---|
T |
addConstraint(BooleanFormula constraint)
Add constraint to the context.
|
void |
close()
Closes the prover environment.
|
Model |
getModel()
Get a satisfying assignment.
|
boolean |
isUnsat()
Check whether the conjunction of all formulas on the stack is unsatisfiable.
|
void |
pop()
Remove one formula from the environment stack.
|
void |
push()
Create backtracking point.
|
T |
push(BooleanFormula f)
Push a backtracking point and
add a formula to the environment stack, asserting it.
|
@Nullable T push(BooleanFormula f)
void pop()
@Nullable T addConstraint(BooleanFormula constraint)
void push()
boolean isUnsat()
throws SolverException,
InterruptedException
SolverExceptionInterruptedExceptionModel getModel() throws SolverException
isUnsat() call
that returned false.SolverExceptionvoid close()
close in interface AutoCloseable