diff options
author | Tim King <taking@cs.nyu.edu> | 2012-12-05 19:47:31 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-12-05 19:47:31 +0000 |
commit | 356a8b6e5ea2622d0fef5cf209159caf08ba5297 (patch) | |
tree | 80bd9eb27f163bcca74f5e44be23e9bccd4abcc7 /src/theory/arith/arithvar.h | |
parent | 7f52115ab0dcba4c8ba9403a5f25b8e8c588911a (diff) |
Cleanup of arithmetic, and some new utility functions for the coming fcsimplex code.
Diffstat (limited to 'src/theory/arith/arithvar.h')
-rw-r--r-- | src/theory/arith/arithvar.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/theory/arith/arithvar.h b/src/theory/arith/arithvar.h index 7cb6c6e99..eac238cba 100644 --- a/src/theory/arith/arithvar.h +++ b/src/theory/arith/arithvar.h @@ -50,6 +50,16 @@ public: virtual void operator()(ArithVar x) = 0; }; +/** + * Requests arithmetic variables for internal use, + * and releases arithmetic variables that are no longer being used. + */ +class ArithVarMalloc { +public: + virtual ArithVar request() = 0; + virtual void release(ArithVar v) = 0; +}; + class TNodeCallBack { public: virtual void operator()(TNode n) = 0; |