22 #ifndef ABC__sat__bsat__satSolver2_h
23 #define ABC__sat__bsat__satSolver2_h
52 extern int sat_solver2_solve(
sat_solver2* s,
lit* begin,
lit* end, ABC_INT64_T nConfLimit, ABC_INT64_T nInsLimit, ABC_INT64_T nConfLimitGlobal, ABC_INT64_T nInsLimitGlobal);
102 #ifdef USE_FLOAT_ACTIVITY2
223 for (i = 0; i < s->
size; i++)
279 assert( iVarA >= 0 && iVarB >= 0 );
323 assert( iVarA >= 0 && iVarB >= 0 && iVarC >= 0 );
static int sat_solver2_nlearnts(sat_solver2 *s)
void var_set_partA(sat_solver2 *s, int v, int partA)
sat_solver2 * sat_solver2_new(void)
int var_is_partA(sat_solver2 *s, int v)
void * Sat_ProofCore(sat_solver2 *s)
static int sat_solver2_nclauses(sat_solver2 *s)
double sat_solver2_memory_proof(sat_solver2 *s)
int var_is_assigned(sat_solver2 *s, int v)
Int2_Man_t * Int2_ManStart(sat_solver2 *pSat, int *pGloVars, int nGloVars)
FUNCTION DEFINITIONS ///.
void Sat_Solver2WriteDimacs(sat_solver2 *p, char *pFileName, lit *assumptionsBegin, lit *assumptionsEnd, int incrementVars)
void sat_solver2_setnvars(sat_solver2 *s, int n)
static clause * clause2_read(sat_solver2 *s, cla h)
void Sat_ProofCheck(sat_solver2 *s)
int sat_solver2_addclause(sat_solver2 *s, lit *begin, lit *end, int Id)
int Int2_ManChainStart(Int2_Man_t *p, clause *c)
static int Vec_SetHandCurrent(Vec_Set_t *p)
static int sat_solver2_add_xor(sat_solver2 *pSat, int iVarA, int iVarB, int iVarC, int fCompl, int fMark, int Id)
void * Sat_ProofInterpolant(sat_solver2 *s, void *pGloVars)
void Sat_Solver2PrintStats(FILE *pFile, sat_solver2 *p)
static void clause_set_id(clause *c, int id)
static int sat_solver2_set_learntmax(sat_solver2 *s, int nLearntMax)
void sat_solver2_delete(sat_solver2 *s)
static int sat_solver2_final(sat_solver2 *s, int **ppArray)
static int clause_id(clause *c)
typedefABC_NAMESPACE_HEADER_START struct Prf_Man_t_ Prf_Man_t
INCLUDES ///.
static int sat_solver2_var_value(sat_solver2 *s, int v)
static void clause2_set_id(sat_solver2 *s, int h, int id)
void Int2_ManStop(Int2_Man_t *p)
double sat_solver2_memory(sat_solver2 *s, int fAll)
void Sat_Solver2DoubleClauses(sat_solver2 *p, int iVar)
typedefABC_NAMESPACE_HEADER_START struct Int2_Man_t_ Int2_Man_t
INCLUDES ///.
void sat_solver2_reducedb(sat_solver2 *s)
static int clause2_id(sat_solver2 *s, int h)
static int sat_solver2_add_constraint(sat_solver2 *pSat, int iVar, int iVar2, int fCompl, int fMark, int Id)
void * Int2_ManReadInterpolant(sat_solver2 *s)
static lit toLitCond(int v, int c)
static int clause2_proofid(sat_solver2 *s, clause *c, int varA)
unsigned __int64 word
DECLARATIONS ///.
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
static void sat_solver2_bookmark(sat_solver2 *s)
#define ABC_NAMESPACE_HEADER_END
static int clause2_is_partA(sat_solver2 *s, int h)
static int sat_solver2_add_buffer(sat_solver2 *pSat, int iVarA, int iVarB, int fCompl, int fMark, int Id)
static clause * Sat_MemClauseHand(Sat_Mem_t *p, cla h)
int sat_solver2_simplify(sat_solver2 *s)
void sat_solver2_rollback(sat_solver2 *s)
typedefABC_NAMESPACE_HEADER_START struct Vec_Set_t_ Vec_Set_t
INCLUDES ///.
static int sat_solver2_add_and(sat_solver2 *pSat, int iVar, int iVar0, int iVar1, int fCompl0, int fCompl1, int fMark, int Id)
static void clause2_set_partA(sat_solver2 *s, int h, int partA)
static int sat_solver2_nvars(sat_solver2 *s)
static int sat_solver2_add_const(sat_solver2 *pSat, int iVar, int fCompl, int fMark, int Id)
int * Sat_Solver2GetModel(sat_solver2 *p, int *pVars, int nVars)
static int sat_solver2_var_literal(sat_solver2 *s, int v)
word * Sat_ProofInterpolantTruth(sat_solver2 *s, void *pGloVars)
int sat_solver2_solve(sat_solver2 *s, lit *begin, lit *end, ABC_INT64_T nConfLimit, ABC_INT64_T nInsLimit, ABC_INT64_T nConfLimitGlobal, ABC_INT64_T nInsLimitGlobal)
int Int2_ManChainResolve(Int2_Man_t *p, clause *c, int iLit, int varA)
static int * veci_begin(veci *v)
static void Sat_MemBookMark(Sat_Mem_t *p)
static int sat_solver2_nconflicts(sat_solver2 *s)
static abctime sat_solver2_set_runtime_limit(sat_solver2 *s, abctime Limit)
static void sat_solver2_act_var_clear(sat_solver2 *s)