mirror of
https://github.com/Z3Prover/z3
synced 2025-05-14 03:04:44 +00:00
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
55a908e357
commit
0d78a10630
3 changed files with 28 additions and 28 deletions
|
@ -15,16 +15,13 @@ Author:
|
|||
|
||||
namespace polysat {
|
||||
|
||||
|
||||
constraint* constraint::eq(unsigned lvl, pdd const& p, p_dependency_ref& d) {
|
||||
return alloc(eq_constraint, lvl, p, dep);
|
||||
}
|
||||
|
||||
std::ostream& constraint::display(std::ostream& out) const {
|
||||
switch (kind()) {
|
||||
case ckind_t::eq_t:
|
||||
return out << p() << " == 0";
|
||||
case ckind_t::ule_t:
|
||||
return out << lhs() << " <=u " << rhs();
|
||||
case ckind_t::sle_t:
|
||||
return out << lhs() << " <=s " << rhs();
|
||||
}
|
||||
return out;
|
||||
return out << p() << " == 0";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue