public class CVC4FormulaManager extends AbstractFormulaManager<edu.nyu.acsys.CVC4.Expr,edu.nyu.acsys.CVC4.Type,CVC4Environment>
| Modifier and Type | Method and Description |
|---|---|
static CVC4FormulaManager |
create(LogManager logger,
Configuration config,
ShutdownNotifier pShutdownNotifier,
PathCounterTemplate solverLogFile,
long randomSeed) |
Appender |
dumpFormula(edu.nyu.acsys.CVC4.Expr pT) |
String |
getVersion()
Get version information out of the solver.
|
OptEnvironment |
newOptEnvironment()
Create a fresh new
OptEnvironment which encapsulates an assertion stack
and allows to solve optimization queries. |
ProverEnvironment |
newProverEnvironment(boolean pGenerateModels,
boolean pGenerateUnsatCore)
Create a fresh new
ProverEnvironment which encapsulates an assertion stack
and can be used to check formulas for unsatisfiability. |
InterpolatingProverEnvironment<?> |
newProverEnvironmentWithInterpolation()
Create a fresh new
InterpolatingProverEnvironment which encapsulates an assertion stack
and allows to generate and retrieve interpolants for unsatisfiable formulas. |
BooleanFormula |
parse(String pS)
Parse a boolean formula given as a String in an SMT-LIB file format.
|
<R> R |
visit(FormulaVisitor<R> rFormulaVisitor,
Formula f)
Visit the formula with a given visitor.
|
applyTactic, applyTacticImpl, dumpFormula, extractInfo, getArrayFormulaManager, getBitvectorFormulaManager, getBooleanFormulaManager, getEnvironment, getFloatingPointFormulaManager, getFormulaCreator, getFormulaType, getFunctionFormulaManager, getIntegerFormulaManager, getQuantifiedFormulaManager, getRationalFormulaManager, getUnsafeFormulaManager, simplify, simplifypublic static CVC4FormulaManager create(LogManager logger, Configuration config, ShutdownNotifier pShutdownNotifier, @Nullable PathCounterTemplate solverLogFile, long randomSeed) throws InvalidConfigurationException
InvalidConfigurationExceptionpublic ProverEnvironment newProverEnvironment(boolean pGenerateModels, boolean pGenerateUnsatCore)
FormulaManagerProverEnvironment which encapsulates an assertion stack
and can be used to check formulas for unsatisfiability.pGenerateModels - Whether the solver should generate models (i.e., satisfying assignments)
for satisfiable formulas.pGenerateUnsatCore - Whether the solver should generate an unsat core
for unsatisfiable formulas.public InterpolatingProverEnvironment<?> newProverEnvironmentWithInterpolation()
FormulaManagerInterpolatingProverEnvironment 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 InterpolatingProverEnvironmentWithAssumptions interface, and return
an Object of this type here.public OptEnvironment newOptEnvironment()
FormulaManagerOptEnvironment which encapsulates an assertion stack
and allows to solve optimization queries.public BooleanFormula parse(String pS) throws IllegalArgumentException
FormulaManagerIllegalArgumentException - If the string cannot be parsed.public String getVersion()
FormulaManagerpublic <R> R visit(FormulaVisitor<R> rFormulaVisitor, Formula f)
FormulaManagerpublic Appender dumpFormula(edu.nyu.acsys.CVC4.Expr pT)
dumpFormula in class AbstractFormulaManager<edu.nyu.acsys.CVC4.Expr,edu.nyu.acsys.CVC4.Type,CVC4Environment>