Commit fd41920a by Alan Mishchenko

Duplicating Glucose package.

parent b3d3f7dd
......@@ -79,8 +79,8 @@ static DoubleOption opt_restart_inc (_cat, "rinc", "Restart interv
static DoubleOption opt_garbage_frac (_cat, "gc-frac", "The fraction of wasted memory allowed before a garbage collection is triggered", 0.20, DoubleRange(0, false, HUGE_VAL, false));
BoolOption opt_certified_ (_certified, "certified", "Certified UNSAT using DRUP format", false );
StringOption opt_certified_file_ (_certified, "certified-output", "Certified UNSAT output file", "NULL");
BoolOption opt2_certified_ (_certified, "certified", "Certified UNSAT using DRUP format", false );
StringOption opt2_certified_file_ (_certified, "certified-output", "Certified UNSAT output file", "NULL");
//=================================================================================================
......@@ -121,7 +121,7 @@ Solver::Solver() :
, rnd_init_act (opt_rnd_init_act)
, garbage_frac (opt_garbage_frac)
, certifiedOutput (NULL)
, certifiedUNSAT (opt_certified_)
, certifiedUNSAT (opt2_certified_)
// Statistics: (formerly in 'SolverStats')
//
, nbRemovedClauses(0),nbReducedClauses(0), nbDL2(0),nbBin(0),nbUn(0) , nbReduceDB(0)
......@@ -160,10 +160,10 @@ Solver::Solver() :
if(certifiedUNSAT) {
if(!strcmp(opt_certified_file_,"NULL")) {
if(!strcmp(opt2_certified_file_,"NULL")) {
certifiedOutput = fopen("/dev/stdout", "wb");
} else {
certifiedOutput = fopen(opt_certified_file_, "wb");
certifiedOutput = fopen(opt2_certified_file_, "wb");
}
// fprintf(certifiedOutput,"o proof DRUP\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment