3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 04:28:17 +00:00

update scoring approach

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-11-27 17:05:08 -08:00
parent 99f2d916d5
commit f009dfcc00

View file

@ -1452,9 +1452,9 @@ namespace sat {
for (nary* n : m_nary[(~l).index()]) {
if (sz-- == 0) break;
unsigned nonfixed = n->dec_size();
if (is_true(n->get_head())) continue;
// if (is_true(n->get_head())) continue;
if (inconsistent()) continue;
if (nonfixed <= 1) {
if (nonfixed <= 1 && !is_true(n->get_head())) {
bool found_conflict = true;
for (literal lit : *n) {
if (!is_fixed(lit)) {
@ -1473,7 +1473,7 @@ namespace sat {
continue;
}
}
else if (m_search_mode == lookahead_mode::lookahead1) {
if (m_search_mode == lookahead_mode::lookahead1) {
SASSERT(nonfixed >= 2);
switch (m_config.m_reward_type) {
case heule_schur_reward: {