mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
debug output
This commit is contained in:
parent
ce04d9c73b
commit
9af86f2d68
1 changed files with 7 additions and 2 deletions
|
@ -1577,8 +1577,12 @@ namespace polysat {
|
|||
out << "Clauses:\n";
|
||||
for (clause const& cl : m_constraints.clauses()) {
|
||||
out << "\t" << cl << "\n";
|
||||
for (sat::literal lit : cl)
|
||||
out << "\t\t" << lit_pp(*this, lit) << "\n";
|
||||
for (sat::literal lit : cl) {
|
||||
out << "\t\t" << lit_pp(*this, lit);
|
||||
if (count(m_bvars.watch(lit), &cl) != 0)
|
||||
out << " (bool-watched)";
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
@ -1612,6 +1616,7 @@ namespace polysat {
|
|||
else if (s.m_bvars.is_decision(lit))
|
||||
out << "decide";
|
||||
out << '@' << s.m_bvars.level(lit);
|
||||
out << " idx:" << s.m_search.get_bool_index(lit);
|
||||
}
|
||||
if (c->is_pwatched())
|
||||
out << " pwatched";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue