mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 04:56:03 +00:00
add setting for frugal-only strategy
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8dbe72e0cc
commit
f6f87ce0a2
2 changed files with 2 additions and 2 deletions
|
@ -5,5 +5,5 @@ def_module_params('smt_parallel',
|
|||
('share_units', BOOL, True, 'share units'),
|
||||
('share_conflicts', BOOL, True, 'share conflicts'),
|
||||
('never_cube', BOOL, False, 'never cube'),
|
||||
('only_eager_cube', BOOL, False, 'only eager cube'),
|
||||
('frugal_cube_only', BOOL, False, 'only apply frugal cube strategy'),
|
||||
))
|
||||
|
|
|
@ -362,7 +362,7 @@ namespace smt {
|
|||
|
||||
std::scoped_lock lock(mux);
|
||||
unsigned max_cubes = 1000;
|
||||
bool greedy_mode = (m_cubes.size() <= max_cubes);
|
||||
bool greedy_mode = (m_cubes.size() <= max_cubes) && !smt_parallel_params(p.ctx.m_params).frugal_cube_only();
|
||||
unsigned a_worker_start_idx = 0;
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue