#include "trail.h"
#include "backtrack.h"
#include "inline.h"
#include "propsearch.h"
Go to the source code of this file.
◆ kissat_flush_and_mark_reason_clauses()
Definition at line 49 of file trail.c.
50 {
54
56 LOG (
"need to flush %u units from trail",
solver->unflushed);
58 } else {
59 LOG (
"no need to flush units from trail (all units already flushed)");
61 }
62
63 return true;
64}
void kissat_backtrack_propagate_and_flush_trail(kissat *solver)
#define KISSAT_assert(ignore)
void kissat_mark_reason_clauses(kissat *solver, reference start)
◆ kissat_flush_trail()
Definition at line 8 of file trail.c.
8 {
16 kissat_reset_propagate (
solver);
18}
◆ kissat_mark_reason_clauses()
Definition at line 20 of file trail.c.
20 {
22 start);
24#ifdef LOGGING
25 unsigned reasons = 0;
26#endif
32 continue;
36 continue;
37 if (ref < start)
38 continue;
42#ifdef LOGGING
43 reasons++;
44#endif
45 }
46 LOG (
"marked %u reason clauses", reasons);
47}
ABC_NAMESPACE_HEADER_START typedef word ward
#define all_stack(T, E, S)
ABC_NAMESPACE_HEADER_START typedef unsigned reference
◆ kissat_unmark_reason_clauses()
Definition at line 66 of file trail.c.
66 {
68 start);
70#ifdef LOGGING
71 unsigned reasons = 0;
72#endif
78 continue;
82 continue;
83 if (ref < start)
84 continue;
89#ifdef LOGGING
90 reasons++;
91#endif
92 }
93 LOG (
"unmarked %u reason clauses", reasons);
94}