3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-24 09:30:31 +00:00

remove get/set max conflicts from solver, handle it using updt_params and get_params.

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2026-06-12 18:34:08 -07:00
parent 81af0cc230
commit 864c6a3f34
4 changed files with 22 additions and 28 deletions

View file

@ -321,15 +321,6 @@ public:
virtual void setup_for_parallel() {}
virtual void set_preprocess(bool) {}
virtual void set_max_conflicts(unsigned max_conflicts) {
params_ref p;
p.set_uint("max_conflicts", max_conflicts);
updt_params(p);
}
virtual unsigned get_max_conflicts() const { return UINT_MAX; }
virtual void get_levels(ptr_vector<expr> const& vars, unsigned_vector& depth) = 0;