mirror of
https://github.com/Z3Prover/z3
synced 2025-09-30 13:19:04 +00:00
Add support for initializing variable values in solver and optimize contexts in Z3
This commit is contained in:
parent
342dccdc02
commit
0c48a50d59
12 changed files with 98 additions and 9 deletions
|
@ -37,6 +37,7 @@ private:
|
|||
vector<entry> m_entries;
|
||||
|
||||
expr_ref simplify_def(entry const& e);
|
||||
void convert_initialize_value(expr* def, expr_ref& var, expr_ref& value);
|
||||
|
||||
public:
|
||||
generic_model_converter(ast_manager & m, char const* orig) : m(m), m_orig(orig) {}
|
||||
|
@ -61,6 +62,8 @@ public:
|
|||
|
||||
model_converter * translate(ast_translation & translator) override { return copy(translator); }
|
||||
|
||||
void convert_initialize_value(expr_ref& var, expr_ref& value) override;
|
||||
|
||||
generic_model_converter* copy(ast_translation & translator);
|
||||
|
||||
void set_env(ast_pp_util* visitor) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue