mirror of
https://github.com/Z3Prover/z3
synced 2025-05-13 02:34:43 +00:00
adding wpm2 algorithm
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0deb951873
commit
6aa0086969
3 changed files with 197 additions and 9 deletions
|
@ -199,6 +199,9 @@ namespace smt {
|
|||
bool context::bcp() {
|
||||
SASSERT(!inconsistent());
|
||||
while (m_qhead < m_assigned_literals.size()) {
|
||||
if (m_cancel_flag) {
|
||||
return true;
|
||||
}
|
||||
literal l = m_assigned_literals[m_qhead];
|
||||
SASSERT(get_assignment(l) == l_true);
|
||||
m_qhead++;
|
||||
|
@ -225,9 +228,6 @@ namespace smt {
|
|||
case l_true:
|
||||
break;
|
||||
}
|
||||
if (m_cancel_flag) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue