mirror of
https://github.com/Z3Prover/z3
synced 2025-10-10 17:58:06 +00:00
debugging ccc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e65f106a83
commit
86a54dfec8
8 changed files with 832 additions and 180 deletions
|
@ -23,6 +23,7 @@ Revision History:
|
|||
#include"max_cliques.h"
|
||||
#include"scoped_ptr_vector.h"
|
||||
#include"sat_lookahead.h"
|
||||
#include"sat_ccc.h"
|
||||
|
||||
// define to update glue during propagation
|
||||
#define UPDATE_GLUE
|
||||
|
@ -790,6 +791,9 @@ namespace sat {
|
|||
if (m_config.m_local_search) {
|
||||
return do_local_search(num_lits, lits);
|
||||
}
|
||||
if (m_config.m_ccc && num_lits == 0) {
|
||||
return do_ccc();
|
||||
}
|
||||
if ((m_config.m_num_threads > 1 || m_config.m_local_search_threads > 0) && !m_par) {
|
||||
return check_par(num_lits, lits);
|
||||
}
|
||||
|
@ -874,6 +878,13 @@ namespace sat {
|
|||
return r;
|
||||
}
|
||||
|
||||
lbool solver::do_ccc() {
|
||||
ccc c(*this);
|
||||
lbool r = c.search();
|
||||
m_model = c.get_model();
|
||||
return r;
|
||||
}
|
||||
|
||||
lbool solver::lookahead_search() {
|
||||
lookahead lh(*this);
|
||||
lbool r = l_undef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue