diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-07-21 11:15:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-21 11:15:39 -0500 |
commit | d557a478c4643fc0bfd8c578db59803224c85b43 (patch) | |
tree | 9e7cef12364813c561a6928756233225a4c373c9 /src/theory/evaluator.h | |
parent | 45a546f63d40d8ef0e0fac53854930836da2c0ea (diff) |
Support uninterpreted constants in the evaluator (#4777)
Diffstat (limited to 'src/theory/evaluator.h')
-rw-r--r-- | src/theory/evaluator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/evaluator.h b/src/theory/evaluator.h index e986edf1f..059d21e56 100644 --- a/src/theory/evaluator.h +++ b/src/theory/evaluator.h @@ -25,6 +25,7 @@ #include "base/output.h" #include "expr/node.h" +#include "expr/uninterpreted_constant.h" #include "util/bitvector.h" #include "util/rational.h" #include "util/string.h" @@ -45,6 +46,7 @@ struct EvalResult BITVECTOR, RATIONAL, STRING, + UCONST, INVALID } d_tag; @@ -55,6 +57,7 @@ struct EvalResult BitVector d_bv; Rational d_rat; String d_str; + UninterpretedConstant d_uc; }; EvalResult(const EvalResult& other); @@ -63,6 +66,7 @@ struct EvalResult EvalResult(const BitVector& bv) : d_tag(BITVECTOR), d_bv(bv) {} EvalResult(const Rational& i) : d_tag(RATIONAL), d_rat(i) {} EvalResult(const String& str) : d_tag(STRING), d_str(str) {} + EvalResult(const UninterpretedConstant& u) : d_tag(UCONST), d_uc(u) {} EvalResult& operator=(const EvalResult& other); |