

Go to the source code of this file.
Classes | |
| struct | kissat_solver_ |
Typedefs | |
| typedef typedefABC_NAMESPACE_HEADER_START struct kissat_solver_ | kissat_solver |
| INCLUDES ///. | |
Functions | |
| kissat_solver * | kissat_solver_new (void) |
| MACRO DEFINITIONS ///. | |
| void | kissat_solver_delete (kissat_solver *s) |
| int | kissat_solver_addclause (kissat_solver *s, int *begin, int *end) |
| int | kissat_solver_solve (kissat_solver *s, int *begin, int *end, ABC_INT64_T nConfLimit, ABC_INT64_T nInsLimit, ABC_INT64_T nConfLimitGlobal, ABC_INT64_T nInsLimitGlobal) |
| int | kissat_solver_nvars (kissat_solver *s) |
| int | kissat_solver_addvar (kissat_solver *s) |
| void | kissat_solver_setnvars (kissat_solver *s, int n) |
| int | kissat_solver_get_var_value (kissat_solver *s, int v) |
| Vec_Int_t * | kissat_solve_cnf (Cnf_Dat_t *pCnf, char *pArgs, int nConfs, int nTimeLimit, int fSat, int fUnsat, int fPrintCex, int fVerbose) |
| typedef typedefABC_NAMESPACE_HEADER_START struct kissat_solver_ kissat_solver |
INCLUDES ///.
CFile****************************************************************
FileName [kissatSolver.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [SAT solver Kissat by Armin Biere, University of Freiburg]
Synopsis [https://github.com/arminbiere/kissat]
Author [Integrated into ABC by Yukio Miyasaka]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
] PARAMETERS /// BASIC TYPES ///
Definition at line 41 of file kissatSolver.h.
|
extern |
Function*************************************************************
Synopsis [Solves the given CNF using kissat.]
Description []
SideEffects []
SeeAlso []
Definition at line 206 of file kissatSolver.c.

|
extern |
Function*************************************************************
Synopsis [add clause]
Description [kissat takes x and -x as a literal for a variable x > 0, where 0 is an indicator of the end of a clause. since variables start from 0 in abc, a variable v is translated into v + 1 in kissat.]
SideEffects []
SeeAlso []
Definition at line 82 of file kissatSolver.c.


|
extern |
Function*************************************************************
Synopsis [add new variable]
Description [emulated using "nVars".]
SideEffects []
SeeAlso []
Definition at line 158 of file kissatSolver.c.

|
extern |
Function*************************************************************
Synopsis [delete solver]
Description []
SideEffects []
SeeAlso []
Definition at line 63 of file kissatSolver.c.


|
extern |
Function*************************************************************
Synopsis [get value of variable]
Description [kissat returns x (true) or -x (false) for a variable x. note a variable v was translated into v + 1 in kissat.]
SideEffects []
SeeAlso []
Definition at line 190 of file kissatSolver.c.


|
extern |
MACRO DEFINITIONS ///.
FUNCTION DECLARATIONS ///
MACRO DEFINITIONS ///.
CFile****************************************************************
FileName [kissatSolver.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [SAT solver Kissat by Armin Biere, University of Freiburg]
Synopsis [https://github.com/arminbiere/kissat]
Author [Integrated into ABC by Yukio Miyasaka]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
] FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [allocate solver]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file kissatSolver.c.


|
extern |
Function*************************************************************
Synopsis [get number of variables]
Description [emulated using "nVars".]
SideEffects []
SeeAlso []
Definition at line 143 of file kissatSolver.c.

|
extern |
Function*************************************************************
Synopsis [set number of variables]
Description [not only emulate with "nVars" but also reserve memory.]
SideEffects []
SeeAlso []
Definition at line 173 of file kissatSolver.c.


|
extern |
Function*************************************************************
Synopsis [solve with resource limits]
Description [assumptions and inspection limits are not supported.]
SideEffects []
SeeAlso []
Definition at line 105 of file kissatSolver.c.

