* src/tgbatest/ltl2tgba.cc, src/tgbaalgos/reductgba_sim_del.cc,
src/tgbaalgos/reductgba_sim.hh, src/tgbaalgos/reductgba_sim.cc: bug in delayed simulation. * src/tgbatest/reduccmp.test, src/tgbatest/reductgba.test, src/tgba/tgbareduc.cc: bug in scc reduction.
This commit is contained in:
parent
6d5593ae48
commit
eb0852257f
8 changed files with 254 additions and 86 deletions
|
|
@ -121,7 +121,8 @@ namespace spot
|
|||
{
|
||||
if (!scc_computed_)
|
||||
this->compute_scc();
|
||||
this->delete_scc();
|
||||
// FIXME
|
||||
// this->delete_scc();
|
||||
}
|
||||
|
||||
std::string
|
||||
|
|
@ -334,7 +335,7 @@ namespace spot
|
|||
name_state_map_[tgba_explicit::format_state(s)];
|
||||
|
||||
// for all successor q of s, we remove s of the predecessor of q.
|
||||
|
||||
// Note that the initial node can't be removed.
|
||||
for (state::iterator j = st->begin(); j != st->end(); ++j)
|
||||
this->remove_predecessor_state((*j)->dest, st);
|
||||
|
||||
|
|
@ -591,6 +592,8 @@ namespace spot
|
|||
state_scc_v_.erase(i);
|
||||
break;
|
||||
}
|
||||
//else
|
||||
delete s;
|
||||
std::cout << "end is_terminal" << std::endl;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue