mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 09:21:56 +00:00
add restart.max parameter to control cancellation based on restart count
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2bd29548da
commit
aaf6e67ec8
6 changed files with 14 additions and 3 deletions
|
@ -26,6 +26,7 @@ namespace sat {
|
|||
m_always_true("always_true"),
|
||||
m_always_false("always_false"),
|
||||
m_caching("caching"),
|
||||
m_restart_max(0),
|
||||
m_random("random"),
|
||||
m_geometric("geometric"),
|
||||
m_luby("luby"),
|
||||
|
@ -66,7 +67,8 @@ namespace sat {
|
|||
|
||||
m_restart_initial = p.restart_initial();
|
||||
m_restart_factor = p.restart_factor();
|
||||
|
||||
m_restart_max = p.restart_max();
|
||||
|
||||
m_random_freq = p.random_freq();
|
||||
m_random_seed = p.random_seed();
|
||||
if (m_random_seed == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue