#include "promote.h"
#include "internal.h"
#include "logging.h"
Go to the source code of this file.
◆ kissat_promote_clause()
Definition at line 7 of file promote.c.
7 {
9 return;
11 const unsigned old_glue = c->
glue;
13 const unsigned tier1 =
TIER1;
15 if (old_glue <= tier1) {
16 LOGCLS (c,
"keeping with new glue %u in tier1", new_glue);
18 } else if (new_glue <= tier1) {
21 LOGCLS (c,
"promoting with new glue %u to tier1", new_glue);
22 INC (clauses_promoted1);
23 } else if (tier2 < old_glue && new_glue <= tier2) {
26 LOGCLS (c,
"promoting with new glue %u to tier2", new_glue);
27 INC (clauses_promoted2);
28 } else if (old_glue <= tier2) {
31 LOGCLS (c,
"keeping with new glue %u in tier2", new_glue);
33 } else {
36 LOGCLS (c,
"keeping with new glue %u in tier3", new_glue);
38 }
39 INC (clauses_improved);
41#ifndef LOGGING
43#endif
44}
#define KISSAT_assert(ignore)