mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 03:45:51 +00:00
prepare for variable scoping and autarkies
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
aeabdb4aae
commit
a74d18a695
18 changed files with 24 additions and 20 deletions
|
@ -285,10 +285,12 @@ public:
|
|||
m_last_index = 0;
|
||||
bool first = index > 0;
|
||||
SASSERT(index < asms.size() || asms.empty());
|
||||
IF_VERBOSE(1, verbose_stream() << "start hill climb " << index << " asms: " << asms.size() << "\n";);
|
||||
while (index < asms.size() && is_sat == l_true) {
|
||||
while (!first && asms.size() > 20*(index - m_last_index) && index < asms.size()) {
|
||||
index = next_index(asms, index);
|
||||
}
|
||||
IF_VERBOSE(1, verbose_stream() << "hill climb " << index << "\n";);
|
||||
first = false;
|
||||
// IF_VERBOSE(3, verbose_stream() << "weight: " << get_weight(asms[0].get()) << " " << get_weight(asms[index-1].get()) << " num soft: " << index << "\n";);
|
||||
m_last_index = index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue