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:
parent
2a11be5c39
commit
c0f43b9206
2 changed files with 3 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue