3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-05 19:00:25 +00:00

add filter cubes parameter

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-04-13 17:03:49 -07:00
parent a3e651156a
commit c5a30285a8
2 changed files with 8 additions and 1 deletions

View file

@ -443,8 +443,9 @@ private:
// extract cubes.
cubes.reset();
s.set_cube_params();
unsigned cutoff = UINT_MAX;
while (true) {
expr_ref_vector c = s.get_solver().cube(vars, UINT_MAX); // TBD tune this
expr_ref_vector c = s.get_solver().cube(vars, cutoff);
if (c.empty()) {
report_undef(s);
return;
@ -618,6 +619,11 @@ public:
return pp.conquer_batch_size();
}
bool filter_cubes() const {
parallel_params pp(m_params);
return pp.filter_cubes();
}
void cleanup() {
m_queue.reset();
init();