diff options
author | Clark Barrett <barrett@cs.nyu.edu> | 2012-11-29 00:59:06 +0000 |
---|---|---|
committer | Clark Barrett <barrett@cs.nyu.edu> | 2012-11-29 00:59:06 +0000 |
commit | ff6ac38127fbb03e6c11a210b6b16d647b8785ea (patch) | |
tree | f656b1207ab75f0634593093ce5ed99a03f6c657 /src/theory/model.h | |
parent | 91673d6cefa63bc0f706101946e0c01fcd429071 (diff) |
Fixing function models with Boolean terms. Also, LAMBDA's should not be const.
Diffstat (limited to 'src/theory/model.h')
-rw-r--r-- | src/theory/model.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/theory/model.h b/src/theory/model.h index 19415ae7b..7ccbe2fc3 100644 --- a/src/theory/model.h +++ b/src/theory/model.h @@ -22,10 +22,13 @@ #include "theory/rep_set.h" #include "theory/substitutions.h" #include "theory/type_enumerator.h" +#include "theory/ite_simplifier.h" namespace CVC4 { + namespace theory { + /** Theory Model class * For Model m, should call m.initialize() before using */ @@ -35,8 +38,9 @@ class TheoryModel : public Model protected: /** substitution map for this model */ SubstitutionMap d_substitutions; + ITESimplifier d_iteSimp; public: - TheoryModel( context::Context* c, std::string name, bool enableFuncModels ); + TheoryModel(context::Context* c, std::string name, bool enableFuncModels); virtual ~TheoryModel(){} /** equality engine containing all known equalities/disequalities */ eq::EqualityEngine d_equalityEngine; @@ -55,7 +59,7 @@ protected: /** * Get model value function. This function is called by getValue */ - Node getModelValue( TNode n ) const; + Node getModelValue(TNode n, bool hasBoundVars = false) const; public: /** * Get value function. This should be called only after a ModelBuilder has called buildModel(...) |