mirror of
https://github.com/Z3Prover/z3
synced 2025-08-10 21:20:52 +00:00
Switch reach_fact to new model API
This commit is contained in:
parent
f226c6682b
commit
a222b6d41f
2 changed files with 23 additions and 29 deletions
|
@ -440,10 +440,10 @@ public:
|
|||
bool is_must_reachable(expr* state, model_ref* model = nullptr);
|
||||
/// \brief Returns reachability fact active in the given model
|
||||
/// all determines whether initial reachability facts are included as well
|
||||
reach_fact *get_used_rf(model_evaluator_util& mev, bool all = true);
|
||||
reach_fact *get_used_rf(model& mdl, bool all = true);
|
||||
/// \brief Returns reachability fact active in the origin of the given model
|
||||
reach_fact* get_used_origin_rf(model_evaluator_util &mev, unsigned oidx);
|
||||
expr_ref get_origin_summary(model_evaluator_util &mev,
|
||||
reach_fact* get_used_origin_rf(model &mdl, unsigned oidx);
|
||||
expr_ref get_origin_summary(model &mdl,
|
||||
unsigned level, unsigned oidx, bool must,
|
||||
const ptr_vector<app> **aux);
|
||||
|
||||
|
@ -472,8 +472,7 @@ public:
|
|||
|
||||
/// initialize reachability facts using initial rules
|
||||
void init_rfs ();
|
||||
reach_fact *mk_rf(pob &n, model_evaluator_util &mev,
|
||||
const datalog::rule &r);
|
||||
reach_fact *mk_rf(pob &n, model &mdl, const datalog::rule &r);
|
||||
void add_rf (reach_fact *fact); // add reachability fact
|
||||
reach_fact* get_last_rf () const { return m_reach_facts.back (); }
|
||||
expr* get_last_rf_tag () const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue