summaryrefslogtreecommitdiff
path: root/src/printer
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-11-13 00:03:35 -0600
committerGitHub <noreply@github.com>2019-11-13 00:03:35 -0600
commit6beda739210b7bd13adbb7f62b0c4361156986ee (patch)
tree1e86229fc763f589e22a1eab2541d87537fcea59 /src/printer
parent5d0a5e5571044000fdaf0d908bace8ed7c1c536a (diff)
Distinguish unknown status for model printing (#3454)
Diffstat (limited to 'src/printer')
-rw-r--r--src/printer/tptp/tptp_printer.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/printer/tptp/tptp_printer.cpp b/src/printer/tptp/tptp_printer.cpp
index 72fdfe41d..d06b80e7b 100644
--- a/src/printer/tptp/tptp_printer.cpp
+++ b/src/printer/tptp/tptp_printer.cpp
@@ -55,11 +55,15 @@ void TptpPrinter::toStream(std::ostream& out, const CommandStatus* s) const
void TptpPrinter::toStream(std::ostream& out, const Model& m) const
{
- out << "% SZS output start FiniteModel for " << m.getInputName() << endl;
+ std::string statusName(m.isKnownSat() ? "FiniteModel"
+ : "CandidateFiniteModel");
+ out << "% SZS output start " << statusName << " for " << m.getInputName()
+ << endl;
for(size_t i = 0; i < m.getNumCommands(); ++i) {
this->Printer::toStreamUsing(language::output::LANG_SMTLIB_V2_5, out, m, m.getCommand(i));
}
- out << "% SZS output end FiniteModel for " << m.getInputName() << endl;
+ out << "% SZS output end " << statusName << " for " << m.getInputName()
+ << endl;
}
void TptpPrinter::toStream(std::ostream& out,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback