Package org.sosy_lab.java_smt.basicimpl
Class AbstractProver<T>
- java.lang.Object
-
- org.sosy_lab.java_smt.basicimpl.AbstractProver<T>
-
- All Implemented Interfaces:
AutoCloseable,BasicProverEnvironment<T>
- Direct Known Subclasses:
AbstractProverWithAllSat
public abstract class AbstractProver<T> extends Object implements BasicProverEnvironment<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sosy_lab.java_smt.api.BasicProverEnvironment
BasicProverEnvironment.AllSatCallback<R>
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanenableSLprotected booleangenerateUnsatCores-
Fields inherited from interface org.sosy_lab.java_smt.api.BasicProverEnvironment
NO_MODEL_HELP
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractProver(Set<SolverContext.ProverOptions> pOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckEnableSeparationLogic()protected voidcheckGenerateAllSat()protected voidcheckGenerateModels()protected voidcheckGenerateUnsatCores()protected voidcheckGenerateUnsatCoresOverAssumptions()voidclose()Closes the prover environment.protected voidcloseAllEvaluators()protected <E extends Evaluator>
EregisterEvaluator(E pEvaluator)This method registers the Evaluator to be cleaned up before the next change on the prover stack.protected voidunregisterEvaluator(Evaluator pEvaluator)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sosy_lab.java_smt.api.BasicProverEnvironment
addConstraint, allSat, getEvaluator, getModel, getModelAssignments, getStatistics, getUnsatCore, isUnsat, isUnsatWithAssumptions, pop, push, push, size, unsatCoreOverAssumptions
-
-
-
-
Constructor Detail
-
AbstractProver
protected AbstractProver(Set<SolverContext.ProverOptions> pOptions)
-
-
Method Detail
-
checkGenerateModels
protected final void checkGenerateModels()
-
checkGenerateAllSat
protected final void checkGenerateAllSat()
-
checkGenerateUnsatCores
protected final void checkGenerateUnsatCores()
-
checkGenerateUnsatCoresOverAssumptions
protected final void checkGenerateUnsatCoresOverAssumptions()
-
checkEnableSeparationLogic
protected final void checkEnableSeparationLogic()
-
registerEvaluator
protected <E extends Evaluator> E registerEvaluator(E pEvaluator)
This method registers the Evaluator to be cleaned up before the next change on the prover stack.
-
unregisterEvaluator
protected void unregisterEvaluator(Evaluator pEvaluator)
-
closeAllEvaluators
protected void closeAllEvaluators()
-
close
public void close()
Description copied from interface:BasicProverEnvironmentCloses the prover environment. The object should be discarded, and should not be used after closing. The first call of this method will close the prover instance, further calls are ignored.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceBasicProverEnvironment<T>
-
-