3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-12 10:14:42 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-01-26 09:27:57 -08:00
parent 127bae85bd
commit 49d7fd4f9c
4 changed files with 174 additions and 85 deletions

View file

@ -1985,6 +1985,15 @@ namespace smt {
m_watches[(~cls->get_literal(idx)).index()].remove_clause(cls);
}
/**
\brief Remove boolean variable from watch lists.
*/
void context::remove_watch(bool_var v) {
literal lit(v);
m_watches[lit.index()].reset();
m_watches[(~lit).index()].reset();
}
/**
\brief Update the index used for backward subsumption.
*/