40static int Abc_CommandGlucose(
Abc_Frame_t * pAbc,
int argc,
char ** argv );
60 Cmd_CommandAdd( pAbc,
"ABC9",
"&glucose2", Abc_CommandGlucose, 0 );
78int Abc_CommandGlucose(
Abc_Frame_t * pAbc,
int argc,
char ** argv )
94 Abc_Print( -1,
"Command line switch \"-C\" should be followed by an integer.\n" );
115 pPars = Glucose_CreatePars(pre,verb,0,nConfls);
123 if ( pAbc->pGia == NULL )
125 Abc_Print( -1,
"Abc_CommandGlucose(): There is no AIG.\n" );
135 Abc_Print( -2,
"usage: &glucose2 [-C num] [-pvh] <file.cnf>\n" );
136 Abc_Print( -2,
"\t run Glucose 3.0 by Gilles Audemard and Laurent Simon\n" );
137 Abc_Print( -2,
"\t-C num : conflict limit [default = %d]\n", nConfls );
138 Abc_Print( -2,
"\t-p : enable preprocessing [default = %d]\n",pre);
139 Abc_Print( -2,
"\t-v : verbosity [default = %d]\n",verb);
140 Abc_Print( -2,
"\t-h : print the command usage\n");
141 Abc_Print( -2,
"\t<file.cnf> : (optional) CNF file to solve\n");
void Glucose2_SolveCnf(char *pFileName, Glucose2_Pars *pPars)
int Glucose2_SolveAig(Gia_Man_t *p, Glucose2_Pars *pPars)
typedefABC_NAMESPACE_HEADER_START struct Glucose2_Pars_ Glucose2_Pars
BASIC TYPES ///.
ABC_NAMESPACE_HEADER_START void Glucose2_Init(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
void Glucose2_End(Abc_Frame_t *pAbc)
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)