public abstract class AbstractProverWithAllSat<T> extends AbstractProver<T>
If a solver does not support direct AllSAT computation, please inherit from this class.
BasicProverEnvironment.AllSatCallback<R>| Modifier and Type | Field and Description |
|---|---|
protected boolean |
closed |
protected ShutdownNotifier |
shutdownNotifier |
enableSL, generateUnsatCoresNO_MODEL_HELP| Modifier | Constructor and Description |
|---|---|
protected |
AbstractProverWithAllSat(Set<SolverContext.ProverOptions> pOptions,
BooleanFormulaManager pBmgr,
ShutdownNotifier pShutdownNotifier) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
allSat(BasicProverEnvironment.AllSatCallback<R> 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.
|
protected abstract Model |
getModelWithoutChecks()
model computation without checks for further options.
|
checkEnableSeparationLogic, checkGenerateAllSat, checkGenerateModels, checkGenerateUnsatCores, checkGenerateUnsatCoresOverAssumptionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddConstraint, close, getModel, getModelAssignments, getUnsatCore, isUnsat, isUnsatWithAssumptions, pop, push, push, unsatCoreOverAssumptionsprotected final ShutdownNotifier shutdownNotifier
protected boolean closed
protected AbstractProverWithAllSat(Set<SolverContext.ProverOptions> pOptions, BooleanFormulaManager pBmgr, ShutdownNotifier pShutdownNotifier)
public <R> R allSat(BasicProverEnvironment.AllSatCallback<R> callback, List<BooleanFormula> important) throws InterruptedException, SolverException
BasicProverEnvironmentimportant - A set of variables appearing in f. Only these variables will appear in the
region.InterruptedExceptionSolverExceptionprotected abstract Model getModelWithoutChecks()