summaryrefslogtreecommitdiff
path: root/src/theory/arith/arithvar.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2012-11-12 22:54:35 +0000
committerTim King <taking@cs.nyu.edu>2012-11-12 22:54:35 +0000
commit8c325a4bf6888e33fb8fdc1e071a8aab4aa20b6f (patch)
tree0132d93da953d48f57b0b0ed125c6de19c2c6e29 /src/theory/arith/arithvar.h
parent069feb82d76d10bbeebcf93a00d85b7caedb2d36 (diff)
Delta is now generated in arithmetic to keep consistent the total order of DeltaRational values for lowerbounds, upperbounds, assignments and disequalities. Throws LogicException when a non-linear term is asserted and the the LogicInfo isLinear() disagrees.
Diffstat (limited to 'src/theory/arith/arithvar.h')
-rw-r--r--src/theory/arith/arithvar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/arith/arithvar.h b/src/theory/arith/arithvar.h
index 5982b7ac5..7cb6c6e99 100644
--- a/src/theory/arith/arithvar.h
+++ b/src/theory/arith/arithvar.h
@@ -60,6 +60,11 @@ public:
virtual void operator()(Node n) = 0;
};
+class RationalCallBack {
+public:
+ virtual Rational operator()() const = 0;
+};
+
}/* CVC4::theory::arith namespace */
}/* CVC4::theory namespace */
}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback