mirror of
https://github.com/Z3Prover/z3
synced 2025-08-25 04:26:00 +00:00
add anf and aig simplifier modules, cut-set enumeration, aig_finder, hoist out xor_finder from ba_solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
12e727e49a
commit
d27a949ae9
15 changed files with 545 additions and 142 deletions
|
@ -216,7 +216,8 @@ namespace sat {
|
|||
friend struct mk_stat;
|
||||
friend class elim_vars;
|
||||
friend class scoped_detach;
|
||||
friend class xor_util;
|
||||
friend class xor_finder;
|
||||
friend class aig_finder;
|
||||
public:
|
||||
solver(params_ref const & p, reslimit& l);
|
||||
~solver() override;
|
||||
|
@ -402,6 +403,7 @@ namespace sat {
|
|||
bool set_root(literal l, literal r);
|
||||
void flush_roots();
|
||||
typedef std::pair<literal, literal> bin_clause;
|
||||
struct bin_clause_hash { unsigned operator()(bin_clause const& b) const { return b.first.hash() + 2*b.second.hash(); } };
|
||||
protected:
|
||||
watch_list & get_wlist(literal l) { return m_watches[l.index()]; }
|
||||
watch_list const & get_wlist(literal l) const { return m_watches[l.index()]; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue