mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 17:31:57 +00:00
Reverted to March_CU like lookahead
This commit is contained in:
parent
cf2512ce90
commit
ba6b024ac4
2 changed files with 27 additions and 23 deletions
|
@ -90,7 +90,7 @@ namespace sat {
|
|||
m_min_cutoff = 30;
|
||||
m_preselect = false;
|
||||
m_level_cand = 600;
|
||||
m_delta_rho = (double)0.85;
|
||||
m_delta_rho = (double)0.7;
|
||||
m_dl_max_iterations = 2;
|
||||
m_tc1_limit = 10000000;
|
||||
m_reward_type = ternary_reward;
|
||||
|
@ -246,7 +246,7 @@ namespace sat {
|
|||
inline bool is_true(literal l) const { return is_true_at(l, m_level); }
|
||||
inline void set_true(literal l) { m_stamp[l.var()] = m_level + l.sign(); }
|
||||
inline void set_undef(literal l) { m_stamp[l.var()] = 0; }
|
||||
inline unsigned get_level(literal l) { return m_stamp[l.var()] & UINT_MAX - 1; }
|
||||
inline unsigned get_level(literal l) const { return m_stamp[l.var()] & UINT_MAX - 1; }
|
||||
void set_level(literal d, literal s) { m_stamp[d.var()] = (m_stamp[s.var()] & ~0x1) + d.sign(); }
|
||||
lbool value(literal l) const { return is_undef(l) ? l_undef : is_true(l) ? l_true : l_false; }
|
||||
|
||||
|
@ -480,7 +480,6 @@ namespace sat {
|
|||
unsigned push_lookahead1(literal lit, unsigned level);
|
||||
void pop_lookahead1(literal lit, unsigned num_units);
|
||||
void lookahead_backtrack();
|
||||
void promote(unsigned base);
|
||||
double mix_diff(double l, double r) const;
|
||||
clause const& get_clause(watch_list::iterator it) const;
|
||||
bool is_nary_propagation(clause const& c, literal l) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue