summaryrefslogtreecommitdiff
path: root/src/printer/tptp/tptp_printer.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2017-10-18 15:19:10 -0500
committerGitHub <noreply@github.com>2017-10-18 15:19:10 -0500
commit9af7e38d6f0b3d01dea795a4847153047ac87f6e (patch)
treef16aed9383cead45ea321229560533f3c94b9566 /src/printer/tptp/tptp_printer.h
parent6f18015fdcb824f46b969882aa45187b46306e97 (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.h5
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 */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback