mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 03:27:52 +00:00
adding arith sls
This commit is contained in:
parent
6a2d60a6ba
commit
96d815b904
17 changed files with 625 additions and 35 deletions
|
@ -359,13 +359,10 @@ namespace sat {
|
|||
m_par(nullptr) {
|
||||
}
|
||||
|
||||
void local_search::reinit(solver& s) {
|
||||
import(s, true);
|
||||
if (s.m_best_phase_size > 0) {
|
||||
for (unsigned i = num_vars(); i-- > 0; ) {
|
||||
set_phase(i, s.m_best_phase[i]);
|
||||
}
|
||||
}
|
||||
void local_search::reinit(solver& s, bool_vector const& phase) {
|
||||
import(s, true);
|
||||
for (unsigned i = phase.size(); i-- > 0; )
|
||||
set_phase(i, phase[i]);
|
||||
}
|
||||
|
||||
void local_search::import(solver const& s, bool _init) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue