diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-10-18 15:19:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-18 15:19:10 -0500 |
commit | 9af7e38d6f0b3d01dea795a4847153047ac87f6e (patch) | |
tree | f16aed9383cead45ea321229560533f3c94b9566 /src/printer/tptp/tptp_printer.h | |
parent | 6f18015fdcb824f46b969882aa45187b46306e97 (diff) |
Tptp unsat cores (#1228)
* Support unsat cores for TPTP.
* Fix assertion
Diffstat (limited to 'src/printer/tptp/tptp_printer.h')
-rw-r--r-- | src/printer/tptp/tptp_printer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/printer/tptp/tptp_printer.h b/src/printer/tptp/tptp_printer.h index 7c8ddbd20..731885068 100644 --- a/src/printer/tptp/tptp_printer.h +++ b/src/printer/tptp/tptp_printer.h @@ -35,6 +35,11 @@ public: void toStream(std::ostream& out, const Command* c, int toDepth, bool types, size_t dag) const throw(); void toStream(std::ostream& out, const CommandStatus* s) const throw(); void toStream(std::ostream& out, const Model& m) const throw(); + /** print unsat core to stream + * We use the expression names stored in the SMT engine associated with the unsat core + * with UnsatCore::getSmtEngine. + */ + void toStream(std::ostream& out, const UnsatCore& core) const throw(); };/* class TptpPrinter */ }/* CVC4::printer::tptp namespace */ |