Commit fd41920a by Alan Mishchenko

Duplicating Glucose package.

parent b3d3f7dd
...@@ -79,8 +79,8 @@ static DoubleOption opt_restart_inc (_cat, "rinc", "Restart interv ...@@ -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)); 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 ); BoolOption opt2_certified_ (_certified, "certified", "Certified UNSAT using DRUP format", false );
StringOption opt_certified_file_ (_certified, "certified-output", "Certified UNSAT output file", "NULL"); StringOption opt2_certified_file_ (_certified, "certified-output", "Certified UNSAT output file", "NULL");
//================================================================================================= //=================================================================================================
...@@ -121,7 +121,7 @@ Solver::Solver() : ...@@ -121,7 +121,7 @@ Solver::Solver() :
, rnd_init_act (opt_rnd_init_act) , rnd_init_act (opt_rnd_init_act)
, garbage_frac (opt_garbage_frac) , garbage_frac (opt_garbage_frac)
, certifiedOutput (NULL) , certifiedOutput (NULL)
, certifiedUNSAT (opt_certified_) , certifiedUNSAT (opt2_certified_)
// Statistics: (formerly in 'SolverStats') // Statistics: (formerly in 'SolverStats')
// //
, nbRemovedClauses(0),nbReducedClauses(0), nbDL2(0),nbBin(0),nbUn(0) , nbReduceDB(0) , nbRemovedClauses(0),nbReducedClauses(0), nbDL2(0),nbBin(0),nbUn(0) , nbReduceDB(0)
...@@ -160,10 +160,10 @@ Solver::Solver() : ...@@ -160,10 +160,10 @@ Solver::Solver() :
if(certifiedUNSAT) { if(certifiedUNSAT) {
if(!strcmp(opt_certified_file_,"NULL")) { if(!strcmp(opt2_certified_file_,"NULL")) {
certifiedOutput = fopen("/dev/stdout", "wb"); certifiedOutput = fopen("/dev/stdout", "wb");
} else { } else {
certifiedOutput = fopen(opt_certified_file_, "wb"); certifiedOutput = fopen(opt2_certified_file_, "wb");
} }
// fprintf(certifiedOutput,"o proof DRUP\n"); // 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