3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-30 16:03:16 +00:00

use variable id as level, separate cut-set updates, add missing reset in pdd

This commit is contained in:
Nikolaj Bjorner 2020-01-08 02:15:45 -08:00
parent 55554215ac
commit 57846e50fa
8 changed files with 158 additions and 126 deletions

View file

@ -63,9 +63,7 @@ namespace sat {
add_clause(3, lits, is_redundant);
}
// create boolean variable, tagged as external (= true) or internal (can be eliminated).
// the level indicates the depth in an ast the variable comes from.
// variables of higher levels are outputs gates relative to lower levels
virtual bool_var add_var(bool ext, unsigned level = 0) = 0;
virtual bool_var add_var(bool ext) = 0;
// update parameters
virtual void updt_params(params_ref const& p) {}