summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/model_builder.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2012-09-26 21:44:22 +0000
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2012-09-26 21:44:22 +0000
commitc6d2a808e4981f81e4a638d25582e8542e89b716 (patch)
treec2b7222a92fd1bf967e9074a97643d3bbd80a1e2 /src/theory/quantifiers/model_builder.cpp
parentc1e936b9cec3d731778b95504770e48c28fd1a65 (diff)
updates to model generation : do not modify equality engine during getValue, other minor changes, still problems with constants not being specified for some eq classes
Diffstat (limited to 'src/theory/quantifiers/model_builder.cpp')
-rw-r--r--src/theory/quantifiers/model_builder.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/theory/quantifiers/model_builder.cpp b/src/theory/quantifiers/model_builder.cpp
index c09346f35..8eac4da95 100644
--- a/src/theory/quantifiers/model_builder.cpp
+++ b/src/theory/quantifiers/model_builder.cpp
@@ -76,8 +76,11 @@ void ModelEngineBuilder::processBuildModel( TheoryModel* m, bool fullModel ) {
//update models
for( std::map< Node, uf::UfModelTree >::iterator it = fm->d_uf_model_tree.begin(); it != fm->d_uf_model_tree.end(); ++it ){
it->second.update( fm );
+ Trace("model-func") << "ModelEngineBuilder: Make function value from tree " << it->first << std::endl;
+ //construct function values
+ fm->d_uf_models[ it->first ] = it->second.getFunctionValue( "$x" );
}
-
+ TheoryEngineModelBuilder::processBuildModel( m, fullModel );
}else{
d_curr_model = fm;
//build model for relevant symbols contained in quantified formulas
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback