diff options
author | Abdalrhman Mohamed <32971963+abdoo8080@users.noreply.github.com> | 2020-09-22 22:12:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 22:12:17 -0500 |
commit | 5c062833d435e3dde5db3a8223c379a3e8cca520 (patch) | |
tree | 6be788d43297565e4a7bc769b45ec54930abb8df /src/smt/smt_engine.h | |
parent | 56f2e6dc41fa5fbeff1755978fa1854e800846b5 (diff) |
Refactor Commands to use the Public API. (#5105)
This is work towards eliminating the Expr layer. This PR does the following:
Replace Expr/Type with Term/Sort in the API for commands.
Remove the command export functionality which is not supported.
Since many commands now call the Solver functions instead of the SmtEngine ones, their behavior may be a slightly different. For example, (get-unsat-assumptions) now only works in incremental mode. In some cases, CVC4 will not recover from non-fatal errors.
Diffstat (limited to 'src/smt/smt_engine.h')
-rw-r--r-- | src/smt/smt_engine.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h index ce17ffc82..1b8789513 100644 --- a/src/smt/smt_engine.h +++ b/src/smt/smt_engine.h @@ -133,8 +133,6 @@ namespace theory { class Rewriter; }/* CVC4::theory namespace */ -std::vector<Node> exprVectorToNodes(const std::vector<Expr>& exprs); - // TODO: SAT layer (esp. CNF- versus non-clausal solvers under the // hood): use a type parameter and have check() delegate, or subclass // SmtEngine and override check()? |