ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
propsearch.h File Reference
#include "global.h"
Include dependency graph for propsearch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct clausekissat_search_propagate (struct kissat *)
 

Function Documentation

◆ kissat_search_propagate()

struct clause * kissat_search_propagate ( struct kissat * solver)

Definition at line 46 of file propsearch.c.

46 {
47 KISSAT_assert (!solver->probing);
48 KISSAT_assert (solver->watching);
49 KISSAT_assert (!solver->inconsistent);
50
51 START (propagate);
52
53 solver->ticks = 0;
54 const unsigned *saved_propagate = solver->propagate;
55 clause *conflict = search_propagate (solver);
56 update_search_propagation_statistics (solver, saved_propagate);
57 kissat_update_conflicts_and_trail (solver, conflict, true);
58 if (conflict && solver->randec) {
59 if (!--solver->randec)
60 kissat_very_verbose (solver, "last random decision conflict");
61 else if (solver->randec == 1)
63 "one more random decision conflict to go");
64 else
66 "%s more random decision conflicts to go",
67 FORMAT_COUNT (solver->randec));
68 }
69
70 STOP (propagate);
71
72 return conflict;
73}
#define FORMAT_COUNT(WORD)
Definition format.h:33
#define KISSAT_assert(ignore)
Definition global.h:13
#define solver
Definition kitten.c:211
#define kissat_very_verbose(...)
Definition print.h:52
#define STOP(P)
Definition profile.hpp:158
#define START(P)
Definition profile.hpp:150
Here is the caller graph for this function: