diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-10-16 13:32:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-16 13:32:42 -0500 |
commit | 7c249b3efdeeb51fd3dfc2571bc529c55880cf5c (patch) | |
tree | 220a1c3f2aa53b047c2a52260fce3bd2dce22429 /src/printer/tptp/tptp_printer.h | |
parent | 547df7cd146091674562dfa4812f10bae7765934 (diff) |
Refactor SMT-level model object (#5277)
This refactors the SMT-level model object so that it is a wrapper around TheoryModel instead of a base class. This inheritance was unnecessary.
Moreover, it removes the virtual base models of the SMT-level model which were based on Expr. Now the interface is more minimal and in terms of Node only.
This PR further simplifies a few places in the code that interface with the SmtEngine with things related to models.
Diffstat (limited to 'src/printer/tptp/tptp_printer.h')
-rw-r--r-- | src/printer/tptp/tptp_printer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printer/tptp/tptp_printer.h b/src/printer/tptp/tptp_printer.h index 0c961d39b..84bb3e576 100644 --- a/src/printer/tptp/tptp_printer.h +++ b/src/printer/tptp/tptp_printer.h @@ -37,7 +37,7 @@ class TptpPrinter : public CVC4::Printer bool types, size_t dag) const override; void toStream(std::ostream& out, const CommandStatus* s) const override; - void toStream(std::ostream& out, const Model& m) const override; + void toStream(std::ostream& out, const smt::Model& m) const override; /** print unsat core to stream * We use the expression names stored in the SMT engine associated with the * unsat core with UnsatCore::getSmtEngine. @@ -46,7 +46,7 @@ class TptpPrinter : public CVC4::Printer private: void toStream(std::ostream& out, - const Model& m, + const smt::Model& m, const NodeCommand* c) const override; }; /* class TptpPrinter */ |