mirror of
https://github.com/Z3Prover/z3
synced 2025-08-25 04:26:00 +00:00
fix ema
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
43403fafcd
commit
13b54f379c
8 changed files with 103 additions and 47 deletions
|
@ -38,9 +38,16 @@ namespace sat {
|
|||
m_restart = RS_LUBY;
|
||||
else if (s == symbol("geometric"))
|
||||
m_restart = RS_GEOMETRIC;
|
||||
else if (s == symbol("ema"))
|
||||
m_restart = RS_EMA;
|
||||
else if (s == symbol("static"))
|
||||
m_restart = RS_STATIC;
|
||||
else
|
||||
throw sat_param_exception("invalid restart strategy");
|
||||
|
||||
m_fast_glue_avg = p.restart_emafastglue();
|
||||
m_slow_glue_avg = p.restart_emaslowglue();
|
||||
m_restart_margin = p.restart_margin();
|
||||
m_restart_fast = p.restart_fast();
|
||||
s = p.phase();
|
||||
if (s == symbol("always_false"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue