]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Enable bitblast simplifications by default
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sun, 1 May 2011 03:38:53 +0000 (03:38 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sun, 1 May 2011 03:38:53 +0000 (03:38 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1296 e59a4935-1847-0410-ae03-e826735625c1

src/STPManager/STP.cpp

index 97d0dc2228b89323123a73ebc44fca17712ea99b..e87ea4c6543fd0eefdb6b7fa85238440a6bbc1be 100644 (file)
@@ -194,7 +194,7 @@ namespace BEEV {
           }
 
         // Expensive, so only want to do it once.
-        if (bm->UserFlags.isSet("bitblast-simplification", "0") && initial_difficulty_score < 250000)
+        if (bm->UserFlags.isSet("bitblast-simplification", "1") && initial_difficulty_score < 250000)
           {
             BBNodeManagerAIG bbnm;
             SimplifyingNodeFactory nf(*(bm->hashingNodeFactory), *bm);
@@ -203,14 +203,11 @@ namespace BEEV {
             bb.getConsts(simplified_solved_InputToSAT, fromTo);
             if (fromTo.size() > 0)
               {
-                cerr << "#" << fromTo.size() << endl;
                 ASTNodeMap cache;
                 simplified_solved_InputToSAT = SubstitutionMap::replace(simplified_solved_InputToSAT, fromTo, cache,&nf);
                 bm->ASTNodeStats("After bitblast simplification: ", simplified_solved_InputToSAT);
               }
           }
-
-
         initial_difficulty_score = difficulty.score(simplified_solved_InputToSAT);
       }