public abstract class AbstractSolverContext extends Object implements SolverContext
SolverContext.ProverOptions| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSolverContext(FormulaManager fmgr) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getSolverName, getVersionprotected AbstractSolverContext(FormulaManager fmgr)
public final FormulaManager getFormulaManager()
SolverContextgetFormulaManager in interface SolverContextpublic final ProverEnvironment newProverEnvironment(SolverContext.ProverOptions... options)
SolverContextProverEnvironment which encapsulates an assertion stack and can be
used to check formulas for unsatisfiability.newProverEnvironment in interface SolverContextoptions - Options specified for the prover environment. All of the options specified in
SolverContext.ProverOptions are turned off by default.protected abstract ProverEnvironment newProverEnvironment0(Set<SolverContext.ProverOptions> options)
public final InterpolatingProverEnvironment<?> newProverEnvironmentWithInterpolation(SolverContext.ProverOptions... options)
SolverContextInterpolatingProverEnvironment which encapsulates an assertion stack
and allows to generate and retrieve interpolants for unsatisfiable formulas. If the SMT solver
is able to handle satisfiability tests with assumptions please consider implementing the InterpolatingProverEnvironment interface, and return an Object of this type here.newProverEnvironmentWithInterpolation in interface SolverContextoptions - Options specified for the prover environment. All of the options specified in
SolverContext.ProverOptions are turned off by default.protected abstract InterpolatingProverEnvironment<?> newProverEnvironmentWithInterpolation0(Set<SolverContext.ProverOptions> pSet)
public final OptimizationProverEnvironment newOptimizationProverEnvironment(SolverContext.ProverOptions... options)
SolverContextOptimizationProverEnvironment which encapsulates an assertion stack
and allows to solve optimization queries.newOptimizationProverEnvironment in interface SolverContextoptions - Options specified for the prover environment. All of the options specified in
SolverContext.ProverOptions are turned off by default.protected abstract OptimizationProverEnvironment newOptimizationProverEnvironment0(Set<SolverContext.ProverOptions> pSet)
protected abstract boolean supportsAssumptionSolving()
BasicProverEnvironment.isUnsatWithAssumptions(java.util.Collection) and BasicProverEnvironment.isUnsatWithAssumptions(java.util.Collection) are fully
implemented.
Otherwise, i.e., if this method returns false, the solver does not need to support
this feature and may simply throw UnsupportedOperationException in the respective
methods. This class will wrap the prover environments and provide an implementation of the
feature.
This method is expected to always return the same value. Otherwise the behavior of this class is undefined.