public final class BoolectorSolverContext extends AbstractSolverContext
SolverContext.ProverOptions| Modifier | Constructor and Description |
|---|---|
protected |
BoolectorSolverContext(org.sosy_lab.java_smt.solvers.boolector.BoolectorFormulaManager pManager,
BoolectorFormulaCreator pCreator,
ShutdownNotifier pShutdownNotifier) |
getFormulaManager, newOptimizationProverEnvironment, newProverEnvironment, newProverEnvironmentWithInterpolationprotected BoolectorSolverContext(org.sosy_lab.java_smt.solvers.boolector.BoolectorFormulaManager pManager,
BoolectorFormulaCreator pCreator,
ShutdownNotifier pShutdownNotifier)
public static BoolectorSolverContext create(Configuration config, ShutdownNotifier pShutdownNotifier, @Nullable PathCounterTemplate solverLogfile, long randomSeed) throws InvalidConfigurationException
InvalidConfigurationExceptionpublic String getVersion()
SolverContextIn most cases, the version contains the name of the solver followed by some numbers and additional info about the version, e.g., "SMTInterpol 2.5-12-g3d15a15c".
public SolverContextFactory.Solvers getSolverName()
SolverContextThis is an uppercase String matching the enum identifier from SolverContextFactory.Solvers
public void close()
SolverContextNecessary for the solvers implemented in native code, frees the associated memory.
protected ProverEnvironment newProverEnvironment0(Set<SolverContext.ProverOptions> pOptions)
newProverEnvironment0 in class AbstractSolverContextprotected InterpolatingProverEnvironment<?> newProverEnvironmentWithInterpolation0(Set<SolverContext.ProverOptions> pSet)
newProverEnvironmentWithInterpolation0 in class AbstractSolverContextprotected OptimizationProverEnvironment newOptimizationProverEnvironment0(Set<SolverContext.ProverOptions> pSet)
newOptimizationProverEnvironment0 in class AbstractSolverContextprotected boolean supportsAssumptionSolving()
AbstractSolverContextBasicProverEnvironment.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.
supportsAssumptionSolving in class AbstractSolverContext