* src/ltltest/Makefile.am (AM_CXXFLAGS): New variable.

* tgba/bdddict.hh (bdd_dict::register_propositions,
bdd_dict::register_accepting_variables): New methods.
* src/bdddict.cc: Likewise.
* tgba/tgbaexplicit.cc (tgba_explicit::add_conditions,
tgba_explicit::add_accepting_conditions): New methods.
(tgba_explicit::get_init_state): Add an "empty" initial
state to empty automata.
* tgba/tgbaexplicit.hh: (tgba_explicit::add_conditions,
tgba_explicit::add_accepting_conditions): New methods.
* tgbaalgos/Makefiles.am (tgbaalgos_HEADERS, libtgbaalgos_la_SOURCES):
Add dupexp.hh and dupexp.cc.
* tgbaalgos/dupexp.hh, tgbaalgos/dupexp.cc: New files.
* tgbatest/Makefile.am (AM_CXXFLAGS): New variable.
(check_SCRIPTS): Add dupexp.test.
(CLEANFILES): Add output1 and output2.
* tgbatest/dupexp.test: New file.
* tgbatest/ltl2tgba.cc: Handle -s and -S.
* tgbatest/tgbaread.cc: Remove unused variable exit_code.
This commit is contained in:
Alexandre Duret-Lutz 2003-11-14 16:44:12 +00:00
parent 51ff9f8dda
commit 982c5efc6c
13 changed files with 271 additions and 8 deletions

16
src/tgbaalgos/dupexp.hh Normal file
View file

@ -0,0 +1,16 @@
#ifndef SPOT_TGBAALGOS_DUPEXPL_HH
# define SPOT_TGBAALGOS_DUPEXPL_HH
# include "tgba/tgbaexplicit.hh"
namespace spot
{
/// Build an explicit automata from all states of \a aut, numbering
/// states in bread first order as they are processed.
tgba_explicit* tgba_dupexp_bfs(const tgba* aut);
/// Build an explicit automata from all states of \a aut, numbering
/// states in depth first order as they are processed.
tgba_explicit* tgba_dupexp_dfs(const tgba* aut);
}
#endif // SPOT_TGBAALGOS_DUPEXPL_HH