mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
adding BDD-based variable elimination routine
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
09fdfcc963
commit
d36406f845
8 changed files with 372 additions and 3 deletions
|
@ -506,6 +506,7 @@ namespace sat {
|
|||
bdd bdd::operator!() { return m->mk_not(*this); }
|
||||
bdd bdd::operator&&(bdd const& other) { return m->mk_and(*this, other); }
|
||||
bdd bdd::operator||(bdd const& other) { return m->mk_or(*this, other); }
|
||||
bdd& bdd::operator=(bdd const& other) { int r1 = root; root = other.root; m->inc_ref(root); m->dec_ref(r1); return *this; }
|
||||
std::ostream& bdd::display(std::ostream& out) const { return m->display(out, *this); }
|
||||
std::ostream& operator<<(std::ostream& out, bdd const& b) { return b.display(out); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue