summaryrefslogtreecommitdiff
path: root/src/smt/model.h
diff options
context:
space:
mode:
authorClark Barrett <barrett@cs.nyu.edu>2016-02-03 14:04:27 -0800
committerClark Barrett <barrett@cs.nyu.edu>2016-02-03 14:04:27 -0800
commit540d556006c5f5cee4acb47d5067e548a15d8a42 (patch)
tree0604b14a8ac03296b7fe45a9147e39f2b6dc189c /src/smt/model.h
parente21e99b7dfe45f042260db7eb754e25e7108f288 (diff)
Added --omit-dont-cares option which doesn't print model values for
variables known to be don't-cares.
Diffstat (limited to 'src/smt/model.h')
-rw-r--r--src/smt/model.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/smt/model.h b/src/smt/model.h
index 33a9312a6..4bbcb5f7d 100644
--- a/src/smt/model.h
+++ b/src/smt/model.h
@@ -60,6 +60,8 @@ public:
std::string getInputName() const { return d_inputName; }
public:
+ /** Check whether this expr is a don't-care in the model */
+ virtual bool isDontCare(Expr expr) const { return false; }
/** get value for expression */
virtual Expr getValue(Expr expr) const = 0;
/** get cardinality for sort */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback