3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-03 09:50:23 +00:00

Added facilities for hiding UFs in smt::model_generator

This commit is contained in:
Christoph M. Wintersteiger 2016-06-09 17:49:45 +01:00
parent 879363157f
commit bfeab9cc15
2 changed files with 8 additions and 2 deletions

View file

@ -182,6 +182,7 @@ namespace smt {
obj_map<enode, app *> m_root2value;
ast_ref_vector m_asts;
proto_model * m_model;
obj_hashtable<func_decl> m_hidden_ufs;
void init_model();
void mk_bool_model();
@ -220,6 +221,8 @@ namespace smt {
obj_map<enode, app *> const & get_root2value() const { return m_root2value; }
app * get_value(enode * n) const;
void hide(func_decl * f) { m_hidden_ufs.insert_if_not_there(f); m_manager.inc_ref(f); }
};
};