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:
parent
9cc78ef98e
commit
1fe7dc40fe
5 changed files with 135 additions and 32 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue