public class SynchronizedSolverContext extends Object implements SolverContext
SolverContext.ProverOptions| Constructor and Description |
|---|
SynchronizedSolverContext(SolverContext pDelegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the solver context.
|
FormulaManager |
getFormulaManager()
Get the formula manager, which is used for formula manipulation.
|
SolverContextFactory.Solvers |
getSolverName()
Get solver name (MATHSAT5/Z3/etc...).
|
String |
getVersion()
Get version information out of the solver.
|
OptimizationProverEnvironment |
newOptimizationProverEnvironment(SolverContext.ProverOptions... pOptions)
Create a fresh new
OptimizationProverEnvironment which encapsulates an assertion stack
and allows to solve optimization queries. |
ProverEnvironment |
newProverEnvironment(SolverContext.ProverOptions... pOptions)
Create a fresh new
ProverEnvironment which encapsulates an assertion stack and can be
used to check formulas for unsatisfiability. |
InterpolatingProverEnvironment<?> |
newProverEnvironmentWithInterpolation(SolverContext.ProverOptions... pOptions)
Create a fresh new
InterpolatingProverEnvironment which encapsulates an assertion stack
and allows to generate and retrieve interpolants for unsatisfiable formulas. |
public SynchronizedSolverContext(SolverContext pDelegate)
public FormulaManager getFormulaManager()
SolverContextgetFormulaManager in interface SolverContextpublic ProverEnvironment newProverEnvironment(SolverContext.ProverOptions... pOptions)
SolverContextProverEnvironment which encapsulates an assertion stack and can be
used to check formulas for unsatisfiability.newProverEnvironment in interface SolverContextpOptions - Options specified for the prover environment. All of the options specified in
SolverContext.ProverOptions are turned off by default.public InterpolatingProverEnvironment<?> newProverEnvironmentWithInterpolation(SolverContext.ProverOptions... pOptions)
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 SolverContextpOptions - Options specified for the prover environment. All of the options specified in
SolverContext.ProverOptions are turned off by default.public OptimizationProverEnvironment newOptimizationProverEnvironment(SolverContext.ProverOptions... pOptions)
SolverContextOptimizationProverEnvironment which encapsulates an assertion stack
and allows to solve optimization queries.newOptimizationProverEnvironment in interface SolverContextpOptions - Options specified for the prover environment. All of the options specified in
SolverContext.ProverOptions are turned off by default.public String getVersion()
SolverContextgetVersion in interface SolverContextpublic SolverContextFactory.Solvers getSolverName()
SolverContextgetSolverName in interface SolverContextpublic void close()
SolverContextNecessary for the solvers implemented in native code, frees the associated memory.
close in interface AutoCloseableclose in interface SolverContext