mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
498864c582
commit
8da1d6070b
3 changed files with 21 additions and 5 deletions
|
@ -172,6 +172,7 @@ namespace sat {
|
|||
|
||||
void big::add_del(literal u, literal v) {
|
||||
if (u.index() > v.index()) std::swap(u, v);
|
||||
|
||||
m_del_bin[u.index()].push_back(v);
|
||||
}
|
||||
|
||||
|
@ -210,7 +211,6 @@ namespace sat {
|
|||
}
|
||||
wlist.set_end(itprev);
|
||||
}
|
||||
|
||||
s.propagate(false);
|
||||
return elim;
|
||||
}
|
||||
|
|
|
@ -244,10 +244,10 @@ namespace sat {
|
|||
}
|
||||
|
||||
void scc::reduce_tr() {
|
||||
unsigned quota = 0, num_reduced = 0;
|
||||
while ((num_reduced = reduce_tr(false)) > quota) { quota = std::max(100u, num_reduced / 2); }
|
||||
quota = 0;
|
||||
while ((num_reduced = reduce_tr(true)) > quota) { quota = std::max(100u, num_reduced / 2); }
|
||||
unsigned quota = 0, num_reduced = 0, count = 0;
|
||||
while ((num_reduced = reduce_tr(false)) > quota && count++ < 10) { quota = std::max(100u, num_reduced / 2); }
|
||||
quota = 0; count = 0;
|
||||
while ((num_reduced = reduce_tr(true)) > quota && count++ < 10) { quota = std::max(100u, num_reduced / 2); }
|
||||
}
|
||||
|
||||
void scc::collect_statistics(statistics & st) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue