summaryrefslogtreecommitdiff
path: root/src/decision/justification_heuristic.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-03-12 19:41:28 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2013-03-20 20:00:55 -0400
commitb480438b3d39000cfac88eac12922a23f9fccbea (patch)
treeab310d8512298a733f8e2d8f4805d06ee126208e /src/decision/justification_heuristic.h
parent6106f021745ffc7ebc068f762a196140deb9d48d (diff)
Fix to bug 497: make justification heuristic's ITE cache context-dependent.
Diffstat (limited to 'src/decision/justification_heuristic.h')
-rw-r--r--src/decision/justification_heuristic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decision/justification_heuristic.h b/src/decision/justification_heuristic.h
index 91c21d981..d8f9a15a8 100644
--- a/src/decision/justification_heuristic.h
+++ b/src/decision/justification_heuristic.h
@@ -38,7 +38,7 @@ namespace decision {
class JustificationHeuristic : public ITEDecisionStrategy {
typedef std::vector<pair<TNode,TNode> > IteList;
- typedef hash_map<TNode,IteList,TNodeHashFunction> IteCache;
+ typedef context::CDHashMap<TNode,IteList,TNodeHashFunction> IteCache;
typedef context::CDHashMap<TNode,TNode,TNodeHashFunction> SkolemMap;
// being 'justified' is monotonic with respect to decisions
@@ -82,7 +82,7 @@ class JustificationHeuristic : public ITEDecisionStrategy {
SatLiteral d_curDecision;
public:
JustificationHeuristic(CVC4::DecisionEngine* de,
- context::Context *uc,
+ context::UserContext *uc,
context::Context *c);
~JustificationHeuristic();
@@ -110,7 +110,7 @@ private:
SatValue tryGetSatValue(Node n);
/* Get list of all term-ITEs for the atomic formula v */
- const JustificationHeuristic::IteList& getITEs(TNode n);
+ JustificationHeuristic::IteList getITEs(TNode n);
/* Compute all term-ITEs in a node recursively */
void computeITEs(TNode n, IteList &l);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback