public final class CVC4SolverContext extends AbstractSolverContext
SolverContext.ProverOptionsgetFormulaManager, newOptimizationProverEnvironment, newProverEnvironment, newProverEnvironmentWithInterpolationpublic static SolverContext create(LogManager pLogger, ShutdownNotifier pShutdownNotifier, int randomSeed, AbstractNumeralFormulaManager.NonLinearArithmetic pNonLinearArithmetic, FloatingPointRoundingMode pFloatingPointRoundingMode)
public 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 void close()
SolverContextNecessary for the solvers implemented in native code, frees the associated memory.
public SolverContextFactory.Solvers getSolverName()
SolverContextThis is an uppercase String matching the enum identifier from SolverContextFactory.Solvers
public ProverEnvironment newProverEnvironment0(Set<SolverContext.ProverOptions> pOptions)
newProverEnvironment0 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 AbstractSolverContextprotected InterpolatingProverEnvironment<?> newProverEnvironmentWithInterpolation0(Set<SolverContext.ProverOptions> pSet)
newProverEnvironmentWithInterpolation0 in class AbstractSolverContextprotected OptimizationProverEnvironment newOptimizationProverEnvironment0(Set<SolverContext.ProverOptions> pSet)
newOptimizationProverEnvironment0 in class AbstractSolverContext