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

Go to the source code of this file.

Functions

bool kissat_rephasing (struct kissat *)
 
void kissat_rephase (struct kissat *)
 

Function Documentation

◆ kissat_rephase()

void kissat_rephase ( struct kissat * solver)

Definition at line 128 of file rephase.c.

128 {
130 KISSAT_assert (!solver->inconsistent);
131 START (rephase);
132 INC (rephased);
133#ifndef KISSAT_QUIET
134 const char type =
135#endif
136 reset_phases (solver);
137 REPORT (0, type);
138 STOP (rephase);
139}
void kissat_backtrack_propagate_and_flush_trail(kissat *solver)
Definition backtrack.c:165
#define INC(NAME)
type
CUBE COVER and CUBE typedefs ///.
Definition exor.h:90
#define KISSAT_assert(ignore)
Definition global.h:13
#define solver
Definition kitten.c:211
#define STOP(P)
Definition profile.hpp:158
#define START(P)
Definition profile.hpp:150
#define REPORT(...)
Definition report.h:10
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kissat_rephasing()

bool kissat_rephasing ( struct kissat * solver)

Definition at line 34 of file rephase.c.

34 {
35 if (!GET_OPTION (rephase))
36 return false;
37 if (!solver->stable)
38 return false;
39 return CONFLICTS > solver->limits.rephase.conflicts;
40}
#define GET_OPTION(N)
Definition options.h:295
#define CONFLICTS
Definition statistics.h:335
Here is the caller graph for this function: