3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-28 19:01:29 +00:00

Polysat: add simpler monotonicity unit test + minor changes (#5348)

* Add simpler versions of monotonicity puzzle

* band-aid fix to conflicts during revert_decision

* minor changes
This commit is contained in:
Jakob Rath 2021-06-15 19:18:37 +02:00 committed by GitHub
parent 9cc78ef98e
commit 1fe7dc40fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 135 additions and 32 deletions

View file

@ -173,6 +173,8 @@ namespace polysat {
* (Inefficient, but useful for debugging small instances.)
*/
void log_viable(pvar v);
/** Like log_viable but for all variables */
void log_viable();
/**
* undo trail operations for backtracking.
@ -214,6 +216,7 @@ namespace polysat {
void add_watch(constraint& c, pvar v);
void set_conflict(constraint& c);
void set_conflict(clause& cl);
void set_conflict(pvar v);
unsigned_vector m_marks;