Remove references to deprecated propagate as decision feature (#2258)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Thu, 2 Aug 2018 18:01:50 +0000 (13:01 -0500)
committerGitHub <noreply@github.com>
Thu, 2 Aug 2018 18:01:50 +0000 (13:01 -0500)
src/prop/minisat/core/Solver.cc
src/theory/theory_engine.h
src/theory/uf/theory_uf_strong_solver.cpp

index c312ac14677d694f7e3b6304e8e05fac6fc47cbc..62496df2fb287a90609d800f0fda002e43fe0387 100644 (file)
@@ -603,15 +603,21 @@ Lit Solver::pickBranchLit()
     nextLit = MinisatSatSolver::toMinisatLit(proxy->getNextTheoryDecisionRequest());
     while (nextLit != lit_Undef) {
       if(value(var(nextLit)) == l_Undef) {
-        Debug("propagateAsDecision") << "propagateAsDecision(): now deciding on " << nextLit << std::endl;
+        Debug("theoryDecision")
+            << "getNextTheoryDecisionRequest(): now deciding on " << nextLit
+            << std::endl;
         decisions++;
         return nextLit;
       } else {
-        Debug("propagateAsDecision") << "propagateAsDecision(): would decide on " << nextLit << " but it already has an assignment" << std::endl;
+        Debug("theoryDecision")
+            << "getNextTheoryDecisionRequest(): would decide on " << nextLit
+            << " but it already has an assignment" << std::endl;
       }
       nextLit = MinisatSatSolver::toMinisatLit(proxy->getNextTheoryDecisionRequest());
     }
-    Debug("propagateAsDecision") << "propagateAsDecision(): decide on another literal" << std::endl;
+    Debug("theoryDecision")
+        << "getNextTheoryDecisionRequest(): decide on another literal"
+        << std::endl;
 
     // DE requests
     bool stopSearch = false;
index 25520c1cc9db5368c89fda55f9ae890969758b2b..9eafe259885b5037ba6858688690def0323837ca 100644 (file)
@@ -413,12 +413,6 @@ class TheoryEngine {
    */
   void propagate(theory::Theory::Effort effort);
 
-  /**
-   * Called by the output channel to request decisions "as soon as
-   * possible."
-   */
-  void propagateAsDecision(TNode literal, theory::TheoryId theory);
-
   /**
    * A variable to mark if we added any lemmas.
    */
index 6161710f2bc69d23da170050ba7cda602484642c..65f7238c9f84733c0299cb0522f0b1231e5f8430 100644 (file)
@@ -1172,9 +1172,6 @@ void SortModel::allocateCardinality( OutputChannel* out ){
     }
     //require phase
     out->requirePhase( d_cardinality_literal[ d_aloc_cardinality ], true );
-    //add the appropriate lemma, propagate as decision
-    //Trace("uf-ss-prop-as-dec") << "Propagate as decision " << lem[0] << " " << d_type << std::endl;
-    //out->propagateAsDecision( lem[0] );
     d_thss->d_statistics.d_max_model_size.maxAssign( d_aloc_cardinality );
 
     if( applyTotality( d_aloc_cardinality ) ){