public interface ProverEnvironment extends BasicProverEnvironment<Void>
BasicProverEnvironment.close() method should be called
(preferably using the try-with-resources syntax).
All methods are expected to throw IllegalStateExceptions after
close was called.
All solving methods are expected to throw SolverException if the solver
fails to solve the given query, and InterruptedException if a thread interrupt
was requested or a shutdown request via the ShutdownNotifier.
It is not guaranteed, though, that solvers respond in a timely manner (or at all)
to shutdown or interrupt requests.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ProverEnvironment.AllSatCallback<T>
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
allSat(ProverEnvironment.AllSatCallback<T> callback,
List<BooleanFormula> important)
Get all satisfying assignments of the current environment with regards
to a subset of terms,
and create a region representing all those models.
|
List<BooleanFormula> |
getUnsatCore()
Get an unsat core.
|
addConstraint, close, getModel, isUnsat, pop, push, pushList<BooleanFormula> getUnsatCore()
BasicProverEnvironment.isUnsat() call
that returned false.<T> T allSat(ProverEnvironment.AllSatCallback<T> callback, List<BooleanFormula> important) throws InterruptedException, SolverException
important - A set of variables appearing in f.
Only these variables will appear in the region.InterruptedExceptionSolverException