diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2020-11-13 00:03:26 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2020-11-13 00:03:26 -0800 |
commit | fd41920a103561202ac6a3167903879874162263 (patch) | |
tree | e53d683ecedd161c4b785b36898b1dc626e65b68 /src/sat | |
parent | b3d3f7dd3aeb5c7648caf9c424f6dc341ad27ac0 (diff) | |
download | abc-fd41920a103561202ac6a3167903879874162263.tar.gz abc-fd41920a103561202ac6a3167903879874162263.tar.bz2 abc-fd41920a103561202ac6a3167903879874162263.zip |
Duplicating Glucose package.
Diffstat (limited to 'src/sat')
-rw-r--r-- | src/sat/glucose2/Glucose2.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sat/glucose2/Glucose2.cpp b/src/sat/glucose2/Glucose2.cpp index 00d8b57a..6f24c828 100644 --- a/src/sat/glucose2/Glucose2.cpp +++ b/src/sat/glucose2/Glucose2.cpp @@ -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"); } |