public final class Mathsat5SolverContext extends AbstractSolverContext
SolverContext.ProverOptions| Constructor and Description |
|---|
Mathsat5SolverContext(LogManager logger,
long mathsatConfig,
org.sosy_lab.java_smt.solvers.mathsat5.Mathsat5SolverContext.Mathsat5Settings settings,
long randomSeed,
ShutdownNotifier shutdownNotifier,
org.sosy_lab.java_smt.solvers.mathsat5.Mathsat5FormulaManager manager,
org.sosy_lab.java_smt.solvers.mathsat5.Mathsat5FormulaCreator creator) |
getFormulaManager, newOptimizationProverEnvironment, newProverEnvironment, newProverEnvironmentWithInterpolationpublic Mathsat5SolverContext(LogManager logger, long mathsatConfig, org.sosy_lab.java_smt.solvers.mathsat5.Mathsat5SolverContext.Mathsat5Settings settings, long randomSeed, ShutdownNotifier shutdownNotifier, org.sosy_lab.java_smt.solvers.mathsat5.Mathsat5FormulaManager manager, org.sosy_lab.java_smt.solvers.mathsat5.Mathsat5FormulaCreator creator)
public static Mathsat5SolverContext create(LogManager logger, Configuration config, ShutdownNotifier pShutdownNotifier, @Nullable PathCounterTemplate solverLogFile, long randomSeed, FloatingPointRoundingMode pFloatingPointRoundingMode, AbstractNumeralFormulaManager.NonLinearArithmetic pNonLinearArithmetic) throws InvalidConfigurationException
InvalidConfigurationExceptionprotected ProverEnvironment newProverEnvironment0(Set<SolverContext.ProverOptions> options)
newProverEnvironment0 in class AbstractSolverContextprotected InterpolatingProverEnvironment<?> newProverEnvironmentWithInterpolation0(Set<SolverContext.ProverOptions> options)
newProverEnvironmentWithInterpolation0 in class AbstractSolverContextpublic OptimizationProverEnvironment newOptimizationProverEnvironment0(Set<SolverContext.ProverOptions> options)
newOptimizationProverEnvironment0 in class AbstractSolverContextpublic String getVersion()
SolverContextpublic SolverContextFactory.Solvers getSolverName()
SolverContextpublic void close()
SolverContextNecessary for the solvers implemented in native code, frees the associated memory.
protected 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