40static int Abc_CommandGlucose(
Abc_Frame_t * pAbc,
int argc,
char ** argv );
78int Abc_CommandGlucose(
Abc_Frame_t * pAbc,
int argc,
char ** argv )
95 Abc_Print( -1,
"Command line switch \"-C\" should be followed by an integer.\n" );
119 pPars = Glucose_CreatePars(pre,verb,0,nConfls);
127 if ( pAbc->pGia == NULL )
129 Abc_Print( -1,
"Abc_CommandGlucose(): There is no AIG.\n" );
139 Abc_Print( -2,
"usage: &glucose [-C num] [-pdvh] <file.cnf>\n" );
140 Abc_Print( -2,
"\t run Glucose 3.0 by Gilles Audemard and Laurent Simon\n" );
141 Abc_Print( -2,
"\t-C num : conflict limit [default = %d]\n", nConfls );
142 Abc_Print( -2,
"\t-p : enable preprocessing [default = %d]\n",pre);
143 Abc_Print( -2,
"\t-d : enable dumping CNF after proprocessing [default = %d]\n",fDumpCnf);
144 Abc_Print( -2,
"\t-v : verbosity [default = %d]\n",verb);
145 Abc_Print( -2,
"\t-h : print the command usage\n");
146 Abc_Print( -2,
"\t<file.cnf> : (optional) CNF file to solve\n");
ABC_NAMESPACE_HEADER_START void Glucose_Init(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
void Glucose_End(Abc_Frame_t *pAbc)
void Glucose_SolveCnf(char *pFileName, Glucose_Pars *pPars, int fDumpCnf)
int Glucose_SolveAig(Gia_Man_t *p, Glucose_Pars *pPars)
typedefABC_NAMESPACE_HEADER_START struct Glucose_Pars_ Glucose_Pars
BASIC TYPES ///.
void Abc_FrameReplaceCex(Abc_Frame_t *pAbc, Abc_Cex_t **ppCex)
FUNCTION DEFINITIONS ///.
#define ABC_NAMESPACE_IMPL_START
#define ABC_NAMESPACE_IMPL_END
#define ABC_NAMESPACE_HEADER_END
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
typedefABC_NAMESPACE_HEADER_START struct Abc_Frame_t_ Abc_Frame_t
INCLUDES ///.
void Cmd_CommandAdd(Abc_Frame_t *pAbc, const char *sGroup, const char *sName, Cmd_CommandFuncType pFunc, int fChanges)