summaryrefslogtreecommitdiff
path: root/src/theory/arith/theory_arith.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2012-02-16 00:54:12 +0000
committerTim King <taking@cs.nyu.edu>2012-02-16 00:54:12 +0000
commit67c6e89c904f76a268f9297b7589559a262583e0 (patch)
tree931766422986af03259c2c3c75221fb61be523e9 /src/theory/arith/theory_arith.h
parent9a0a59d5c85c4a1d2469f43e9d2b433e156810ba (diff)
Last commit accidentally lacked r2778 and r2779 from integer2. I have manually brought these changes over. Changed the tests used by test/regress/regress0/arith/integers/Makefile.am to be 15 of the more interesting tests. Did a bit of cleanup on TheoryArith to eliminate a warning and remove dead code.
Diffstat (limited to 'src/theory/arith/theory_arith.h')
-rw-r--r--src/theory/arith/theory_arith.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/theory/arith/theory_arith.h b/src/theory/arith/theory_arith.h
index 6b14ae6ff..256a197cd 100644
--- a/src/theory/arith/theory_arith.h
+++ b/src/theory/arith/theory_arith.h
@@ -58,6 +58,10 @@ namespace arith {
class TheoryArith : public Theory {
private:
+ /**
+ * This counter is false if nothing has been done since the last cut.
+ * This is used to break an infinite loop.
+ */
bool d_hasDoneWorkSinceCut;
/**
@@ -165,7 +169,7 @@ private:
Comparison mkIntegerEqualityFromAssignment(ArithVar v);
- #warning "DO NOT COMMIT TO TRUNK, USE MORE EFFICIENT CHECK INSTEAD"
+ //TODO Replace with a more efficient check
CDArithVarSet d_varsInDioSolver;
/**
@@ -325,15 +329,6 @@ private:
/** Initial (not context dependent) sets up for a new slack variable.*/
void setupSlack(TNode left);
- /**
- * Performs *permanent* static setup for equalities that have not been
- * preregistered.
- * Currently these MUST be introduced by combination.
- */
- //void delayedSetupEquality(TNode equality);
-
- //void delayedSetupPolynomial(TNode polynomial);
- //void delayedSetupMonomial(const Monomial& mono);
/**
* Performs a check to see if it is definitely true that setup can be avoided.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback