Modify the powerset algorithm to keep track of accepting states

from the initial automaton.

* src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh:
Added class tgba_explicit_number, a tgba_explicit where states are
labelled by integers.
* src/tgbaalgos/powerset.hh, src/tgbaalgos/powerset.cc:
When building the deterministic automaton, keep track of which states
were created from an accepting state in the initial automaton.
The states are added to the new optional parameter (if not 0),
acc_list.
Use tgba_explicit_number instead of tgba_explicit_string to build
the result.
* src/tgbaalgos/scc.cc (spot): Small fix.
Print everything on std::cout.
This commit is contained in:
Felix Abecassis 2010-03-20 14:01:10 +01:00 committed by Alexandre Duret-Lutz
parent bd742ef6a4
commit e2e138f6e6
6 changed files with 95 additions and 18 deletions

View file

@ -1,3 +1,21 @@
2010-03-20 Felix Abecassis <abecassis@lrde.epita.fr>
Modify the powerset algorithm to keep track of accepting states
from the initial automaton.
* src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh:
Added tgba_explicit_number, a tgba_explicit where states are labelled
by integers.
* src/tgbaalgos/powerset.hh, src/tgbaalgos/powerset.cc:
When building the deterministic automaton, keep track of which states
were created from an accepting state in the initial automaton.
The states are added to the new optional parameter (if not 0),
acc_list.
Now use tgba_explicit_number instead of tgba_explicit_string to build
the result.
* src/tgbaalgos/scc.cc (spot): Small fix.
Print everything on std::cout.
2011-01-05 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix computation of support_conditions for bdd-based TGBA.