mirror of
https://github.com/Z3Prover/z3
synced 2025-08-25 04:26:00 +00:00
display model in add/del format
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a7b6f30b29
commit
0e6c64510a
2 changed files with 32 additions and 16 deletions
|
@ -64,11 +64,11 @@ class smt2_pp_environment;
|
|||
|
||||
class model_converter : public converter {
|
||||
protected:
|
||||
smt2_pp_environment* m_env;
|
||||
smt2_pp_environment* m_env;
|
||||
static void display_add(std::ostream& out, smt2_pp_environment& env, ast_manager& m, func_decl* f, expr* e);
|
||||
void display_add(std::ostream& out, ast_manager& m, func_decl* f, expr* e) const;
|
||||
void display_del(std::ostream& out, func_decl* f) const;
|
||||
void display_add(std::ostream& out, ast_manager& m);
|
||||
|
||||
public:
|
||||
|
||||
model_converter(): m_env(nullptr) {}
|
||||
|
@ -90,6 +90,9 @@ public:
|
|||
*/
|
||||
|
||||
virtual void get_units(obj_map<expr, bool>& fmls) { UNREACHABLE(); }
|
||||
|
||||
static void display_add(std::ostream& out, smt2_pp_environment& env, model& mdl);
|
||||
|
||||
};
|
||||
|
||||
typedef ref<model_converter> model_converter_ref;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue