mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 03:57:51 +00:00
add mode to display to get constraints without wild-card notation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
15ebbbda2c
commit
f9b1b4e65d
3 changed files with 12 additions and 1 deletions
|
@ -42,6 +42,15 @@ namespace polysat {
|
|||
return display_extra(out, status);
|
||||
}
|
||||
|
||||
std::ostream& ule_constraint::display(std::ostream& out) const {
|
||||
out << m_lhs;
|
||||
if (is_eq())
|
||||
out << " == ";
|
||||
else
|
||||
out << " <= ";
|
||||
return out << m_rhs;
|
||||
}
|
||||
|
||||
void ule_constraint::narrow(solver& s, bool is_positive) {
|
||||
LOG_H3("Narrowing " << *this);
|
||||
LOG("Assignment: " << assignments_pp(s));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue