mirror of
https://github.com/Z3Prover/z3
synced 2025-05-08 00:05:46 +00:00
refactor forbidden intervals
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
57c40e480b
commit
d0c8240560
6 changed files with 209 additions and 191 deletions
|
@ -52,6 +52,9 @@ namespace polysat {
|
|||
void solver::updt_params(params_ref const& p) {
|
||||
m_params.append(p);
|
||||
m_branch_bool = m_params.get_bool("branch_bool", false);
|
||||
m_max_conflicts = m_params.get_uint("max_conflicts", UINT_MAX);
|
||||
m_max_decisions = m_params.get_uint("max_decisions", UINT_MAX);
|
||||
std::cout << m_max_conflicts << "\n";
|
||||
}
|
||||
|
||||
bool solver::should_search() {
|
||||
|
@ -63,7 +66,7 @@ namespace polysat {
|
|||
|
||||
lbool solver::check_sat() {
|
||||
LOG("Starting");
|
||||
while (inc()) {
|
||||
while (should_search()) {
|
||||
m_stats.m_num_iterations++;
|
||||
LOG_H1("Next solving loop iteration (#" << m_stats.m_num_iterations << ")");
|
||||
LOG("Free variables: " << m_free_pvars);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue