3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 00:26:38 +00:00

expose watch/unwatch

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-03-29 09:58:44 -07:00
parent 2a11be5c39
commit c0f43b9206
2 changed files with 3 additions and 5 deletions

View file

@ -77,8 +77,6 @@ namespace polysat {
void gc_clauses();
void normalize_watch(clause& cl);
bool watch(clause& cl);
void unwatch(clause& cl);
void register_clause(clause* cl);
@ -103,6 +101,9 @@ namespace polysat {
void gc();
bool should_gc();
bool watch(clause& cl);
void unwatch(clause& cl);
constraint* lookup(sat::bool_var var) const;
signed_constraint lookup(sat::literal lit) const;

View file

@ -349,11 +349,8 @@ namespace polysat {
clause& c = *m_clauses_to_reinit[i];
SASSERT(c.on_reinit_stack());
bool reinit = false;
#if 0
// todo, private methods to constraint_manager
m_constraints.unwatch(c);
reinit = m_constraints.watch(c);
#endif
// reinit <- true if clause is used for propagation