diff options
author | Clark Barrett <barrett@cs.nyu.edu> | 2016-02-03 14:04:27 -0800 |
---|---|---|
committer | Clark Barrett <barrett@cs.nyu.edu> | 2016-02-03 14:04:27 -0800 |
commit | 540d556006c5f5cee4acb47d5067e548a15d8a42 (patch) | |
tree | 0604b14a8ac03296b7fe45a9147e39f2b6dc189c /src/theory/theory_model.h | |
parent | e21e99b7dfe45f042260db7eb754e25e7108f288 (diff) |
Added --omit-dont-cares option which doesn't print model values for
variables known to be don't-cares.
Diffstat (limited to 'src/theory/theory_model.h')
-rw-r--r-- | src/theory/theory_model.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/theory/theory_model.h b/src/theory/theory_model.h index 0c2f109bb..4b27aeacb 100644 --- a/src/theory/theory_model.h +++ b/src/theory/theory_model.h @@ -60,13 +60,13 @@ protected: /** * Get model value function. This function is called by getValue */ - Node getModelValue(TNode n, bool hasBoundVars = false) const; + Node getModelValue(TNode n, bool hasBoundVars = false, bool useDontCares = false) const; public: /** * Get value function. This should be called only after a ModelBuilder has called buildModel(...) * on this model. */ - Node getValue( TNode n ) const; + Node getValue( TNode n, bool useDontCares = false ) const; /** get existing domain value, with possible exclusions * This function returns a term in d_rep_set.d_type_reps[tn] but not in exclude @@ -101,6 +101,8 @@ public: bool areEqual(TNode a, TNode b); bool areDisequal(TNode a, TNode b); public: + /** return whether this node is a don't-care */ + bool isDontCare(Expr expr) const; /** get value function for Exprs. */ Expr getValue( Expr expr ) const; /** get cardinality for sort */ |