* src/tgbaalgos/emptinesscheck.cc (emptiness_check::complete_cycle):

Check whether the state is in the current SCC before passing it
to h_filt().
This commit is contained in:
Alexandre Duret-Lutz 2003-11-13 17:17:40 +00:00
parent 10b2511dda
commit f83a21cf94
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2003-11-13 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::complete_cycle):
Check whether the state is in the current SCC before passing it
to h_filt().
2003-11-07 Alexandre Duret-Lutz <adl@src.lip6.fr> 2003-11-07 Alexandre Duret-Lutz <adl@src.lip6.fr>
* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::first_): New * iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::first_): New

View file

@ -425,11 +425,15 @@ namespace spot
todo.pop_front(); todo.pop_front();
for (i->first(); !i->done(); i->next()) for (i->first(); !i->done(); i->next())
{ {
const state* dest = h_filt(i->current_state()); const state* dest = i->current_state();
// Do not escape this SCC. // Do not escape this SCC.
if (!scc.has_state(dest)) if (!scc.has_state(dest))
{
delete dest;
continue; continue;
}
dest = h_filt(dest);
bdd cond = i->current_condition(); bdd cond = i->current_condition();