#include "walk.h"
#include "allocate.h"
#include "decide.h"
#include "dense.h"
#include "inline.h"
#include "phases.h"
#include "print.h"
#include "rephase.h"
#include "report.h"
#include "terminate.h"
#include "warmup.h"
#include <string.h>
Go to the source code of this file.
◆ INVALID_BEST_TRAIL_POS
| #define INVALID_BEST_TRAIL_POS UINT_MAX |
◆ LD_MAX_WALK_REF
| #define LD_MAX_WALK_REF 31 |
◆ MAX_WALK_REF
◆ report_initial_minimum
| #define report_initial_minimum |
( |
| ... | ) |
|
Value:
Definition at line 364 of file walk.c.
364#define report_initial_minimum(...) \
365 do { \
366 } while (0)
◆ report_minimum
| #define report_minimum |
( |
| ... | ) |
|
Value:
Definition at line 367 of file walk.c.
367#define report_minimum(...) \
368 do { \
369 } while (0)
◆ counter
| typedef struct counter counter |
◆ tagged
| typedef typedefABC_NAMESPACE_IMPL_START struct tagged tagged |
◆ walker
◆ kissat_walk()
| void kissat_walk |
( |
kissat * | solver | ) |
|
Definition at line 938 of file walk.c.
938 {
943
947
950 "last irredundant clause reference %u too large",
951 last_irredundant);
952 return;
953 }
954
958 "way too many irredundant clauses %" PRIu64, clauses);
959 return;
960 }
961
964
968}
#define KISSAT_assert(ignore)
#define kissat_phase(...)
#define STOP_SEARCH_AND_START_SIMPLIFIER(...)
#define STOP_SIMPLIFIER_AND_RESUME_SEARCH(...)
ABC_NAMESPACE_HEADER_START typedef unsigned reference
bool kissat_walking(kissat *solver)
ABC_NAMESPACE_IMPL_START void kissat_warmup(kissat *solver)
◆ kissat_walking()
Definition at line 913 of file walk.c.
913 {
917
920 "can not walk since last "
921 "irredundant clause reference %u too large",
922 last_irredundant);
923 return false;
924 }
925
929 "can not walk due to "
930 "way too many irredundant clauses %" PRIu64,
931 clauses);
932 return false;
933 }
934
935 return true;
936}
#define kissat_extremely_verbose(...)
◆ STACK()
Definition at line 41 of file walk.c.
46 {
48
49 unsigned best_trail_pos;
50 unsigned clauses;
51 unsigned current;
52 unsigned exponents;
53 unsigned initial;
54 unsigned minimum;
55 unsigned offset;
56
58
60 litpairs *binaries;
62 double *table;
63
64 value *original_values;
66
68 unsigneds unsat;
69 unsigneds trail;
70
72 double epsilon;
73
74 uint64_t limit;
75 uint64_t flipped;
76#ifndef KISSAT_QUIET
77 uint64_t start;
78 struct {
79 uint64_t flipped;
80 unsigned minimum;
81 } report;
82#endif
83};
ABC_NAMESPACE_HEADER_START typedef uint64_t generator
ABC_NAMESPACE_IMPL_START typedef signed char value