#include <stdbool.h>
#include <stdint.h>
#include "global.h"
Go to the source code of this file.
|
| typedef typedefABC_NAMESPACE_HEADER_START struct reluctant | reluctant |
| |
◆ reluctant
| typedef typedefABC_NAMESPACE_HEADER_START struct reluctant reluctant |
◆ kissat_disable_reluctant()
| void kissat_disable_reluctant |
( |
reluctant * | reluctant | ) |
|
◆ kissat_enable_reluctant()
| void kissat_enable_reluctant |
( |
reluctant * | reluctant, |
|
|
uint64_t | period, |
|
|
uint64_t | limit ) |
Definition at line 6 of file reluctant.c.
7 {
8 if (limit && period > limit)
9 period = limit;
16}
◆ kissat_init_reluctant()
| void kissat_init_reluctant |
( |
struct kissat * | solver | ) |
|
Definition at line 59 of file reluctant.c.
59 {
61 LOG (
"enable reluctant doubling with period %d limit %d",
65 } else {
66 LOG (
"reluctant doubling disabled and thus no stable restarts");
68 }
69}
ABC_NAMESPACE_IMPL_START void kissat_enable_reluctant(reluctant *reluctant, uint64_t period, uint64_t limit)
void kissat_disable_reluctant(reluctant *reluctant)
◆ kissat_tick_reluctant()
| void kissat_tick_reluctant |
( |
reluctant * | reluctant | ) |
|
Definition at line 22 of file reluctant.c.
22 {
24 return;
25
27 return;
28
31 return;
32
35
36 if ((u & -u) == v) {
37 u++;
38 v = 1;
39 } else {
41 v *= 2;
42 }
43
47
49 u = v = 1;
51 }
52
57}
#define KISSAT_assert(ignore)