trace decision-node
authorKshitij Bansal <kshitij@cs.nyu.edu>
Tue, 14 Oct 2014 15:50:24 +0000 (11:50 -0400)
committerKshitij Bansal <kshitij@cs.nyu.edu>
Tue, 14 Oct 2014 15:50:24 +0000 (11:50 -0400)
src/decision/justification_heuristic.cpp

index 84f4d507460c9d4febb540ea206f370e5dcd6c28..72dea907c81a19641490aeb49ddb6cd1febd6cc7 100644 (file)
@@ -477,7 +477,10 @@ JustificationHeuristic::findSplitterRec(TNode node, SatValue desiredVal)
         return DONT_KNOW;
       SatVariable v =
         d_decisionEngine->getSatLiteral(node).getSatVariable();
-      d_curDecision = SatLiteral(v, desiredVal != SAT_VALUE_TRUE );
+      d_curDecision = SatLiteral(v, /* negated = */ desiredVal != SAT_VALUE_TRUE );
+      Trace("decision-node") << "[decision-node] requesting split on " << d_curDecision
+                             << ", node: " << node
+                             << ", polarity: " << (desiredVal ? "true" : "false") << std::endl;
       return FOUND_SPLITTER;
     }
   }