diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2010-05-25 05:30:40 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2010-05-25 05:30:40 +0000 |
commit | e87c14798b99ccb586751d291b0eeb3208265bd8 (patch) | |
tree | 8ffab42bc3b5b27d4a0f209adfd274f8741f26cd /src/theory/arith/theory_arith.cpp | |
parent | 4ba56dc24c972afae6137e4dd6a05f3957e48bf5 (diff) |
Some initial changes to allow for lemmas on demand.
To be done:
* Add erasable map Clause* to bool to minisat (backtracks with the solver)
* Add map from Clause* to Node (clauses that came from a node)
* Add reference counting Literal -> Node to CNFManager
* If Literal -> Node refcount goes to zero, the clauses of Node can be erased (if eresable)
* If clause is erased for each L in clause L -> Node refcount goes down
Diffstat (limited to 'src/theory/arith/theory_arith.cpp')
-rw-r--r-- | src/theory/arith/theory_arith.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/arith/theory_arith.cpp b/src/theory/arith/theory_arith.cpp index 6ca447ea5..bdc32ab21 100644 --- a/src/theory/arith/theory_arith.cpp +++ b/src/theory/arith/theory_arith.cpp @@ -130,8 +130,8 @@ void TheoryArith::registerTerm(TNode tn){ Node slackEqLeft = NodeManager::currentNM()->mkNode(EQUAL,slack,left); slackEqLeft.setAttribute(TheoryArithPropagated(), true); - //TODO this has to be wrong no? - d_out->lemma(slackEqLeft); + //TODO this has to be wrong no? YES (dejan) + // d_out->lemma(slackEqLeft); d_tableau.addRow(slackEqLeft); |