3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-02 08:10:43 +00:00

Merge branch 'polysat' of https://github.com/z3prover/z3 into polysat

This commit is contained in:
Nikolaj Bjorner 2021-04-20 12:03:33 -07:00
commit 82bc6474a3
11 changed files with 596 additions and 301 deletions

View file

@ -46,7 +46,7 @@ namespace polysat {
reslimit& m_lim;
scoped_ptr_vector<dd::pdd_manager> m_pdd;
scoped_ptr_vector<unsigned_vector> m_bits;
scoped_ptr_vector<dd::fdd> m_bits;
dd::bdd_manager m_bdd;
dep_value_manager m_value_manager;
small_object_allocator m_alloc;
@ -133,7 +133,7 @@ namespace polysat {
/**
* Find a next viable value for variable.
*/
dd::find_result find_viable(pvar v, rational & val);
dd::find_t find_viable(pvar v, rational & val);
/** Log all viable values for the given variable.
* (Inefficient, but useful for debugging small instances.)
@ -148,7 +148,7 @@ namespace polysat {
void del_var();
dd::pdd_manager& sz2pdd(unsigned sz);
unsigned_vector const& sz2bits(unsigned sz);
dd::fdd const& sz2bits(unsigned sz);
void push_level();
void pop_levels(unsigned num_levels);