mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 19:02:02 +00:00
expose scope level
This commit is contained in:
parent
bc96e9e9ae
commit
bfed237a6c
2 changed files with 5 additions and 0 deletions
|
@ -528,6 +528,10 @@ namespace lp {
|
|||
m_imp->m_usage_in_terms.push();
|
||||
m_imp->m_dependencies.push_scope();
|
||||
}
|
||||
|
||||
unsigned lar_solver::get_scope_level() const {
|
||||
return m_imp->m_trail.get_num_scopes();
|
||||
}
|
||||
|
||||
void lar_solver::clean_popped_elements(unsigned n, indexed_uint_set& set) {
|
||||
vector<int> to_remove;
|
||||
|
|
|
@ -503,6 +503,7 @@ public:
|
|||
const constraint_set & constraints() const;
|
||||
void push();
|
||||
void pop();
|
||||
unsigned get_scope_level() const;
|
||||
|
||||
u_dependency* get_column_lower_bound_witness(unsigned j) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue