mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 20:21:23 +00:00
debug scale transformer, add model converter
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
bdee860622
commit
7c9e3c3b70
4 changed files with 113 additions and 13 deletions
|
@ -27,17 +27,22 @@ Revision History:
|
|||
namespace datalog {
|
||||
|
||||
class mk_scale : public rule_transformer::plugin {
|
||||
|
||||
class scale_model_converter;
|
||||
|
||||
ast_manager& m;
|
||||
context& m_ctx;
|
||||
arith_util a;
|
||||
expr_ref_vector m_trail;
|
||||
obj_map<expr, expr*> m_cache;
|
||||
expr* linearize(unsigned num_vars, expr* e);
|
||||
app_ref mk_pred(unsigned num_vars, app* q);
|
||||
app_ref mk_constraint(unsigned num_vars, app* q);
|
||||
scale_model_converter* m_mc;
|
||||
|
||||
expr* linearize(unsigned num_vars, expr* e);
|
||||
app_ref mk_pred(unsigned num_vars, app* q);
|
||||
app_ref mk_constraint(unsigned num_vars, app* q);
|
||||
public:
|
||||
mk_scale(context & ctx, unsigned priority = 33039);
|
||||
~mk_scale();
|
||||
virtual ~mk_scale();
|
||||
rule_set * operator()(rule_set const & source);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue