mirror of
https://github.com/Z3Prover/z3
synced 2026-06-19 07:06:28 +00:00
Remove regex_bisim m_node_of mapping
This commit is contained in:
parent
513b81253b
commit
51b2a84ec8
2 changed files with 3 additions and 8 deletions
|
|
@ -34,7 +34,6 @@ namespace seq {
|
|||
|
||||
void regex_bisim::reset() {
|
||||
m_uf.reset();
|
||||
m_node_of.reset();
|
||||
m_pinned.reset();
|
||||
m_worklist.reset();
|
||||
m_steps = 0;
|
||||
|
|
@ -45,13 +44,10 @@ namespace seq {
|
|||
first encounter.
|
||||
*/
|
||||
unsigned regex_bisim::node_of(expr* r) {
|
||||
unsigned id = 0;
|
||||
if (m_node_of.find(r, id))
|
||||
return id;
|
||||
id = m_uf.mk_var();
|
||||
m_node_of.insert(r, id);
|
||||
while (r->get_id() >= m_uf.get_num_vars())
|
||||
m_uf.mk_var();
|
||||
m_pinned.push_back(r);
|
||||
return id;
|
||||
return r->get_id();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -65,7 +65,6 @@ namespace seq {
|
|||
seq_rewriter& m_rw;
|
||||
seq_util m_util;
|
||||
basic_union_find m_uf;
|
||||
obj_map<expr, unsigned> m_node_of;
|
||||
expr_ref_vector m_pinned;
|
||||
expr_ref_vector m_worklist;
|
||||
unsigned m_step_bound { 50000 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue