3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 10:52:02 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-01-02 18:02:53 -08:00
parent bd5670a30b
commit 40a4326ad4
20 changed files with 860 additions and 465 deletions

View file

@ -63,7 +63,9 @@ namespace sat {
add_clause(3, lits, is_redundant);
}
// create boolean variable, tagged as external (= true) or internal (can be eliminated).
virtual bool_var add_var(bool ext) = 0;
// 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;
// update parameters
virtual void updt_params(params_ref const& p) {}