spot/src/tgbatest
Alexandre Duret-Lutz 20289e4e7f Explicit automata can now have arbitrary logic formula on their
arcs.  ltl2tgba_fm benefits from this and join multiple arcs with
the same destination and acceptance conditions.
* src/tgba/formula2bdd.cc, src/tgba/formula2bdd.hh: New files.
* src/tgba/Makefile.am (tgba_HEADERS, libtgba_la_SOURCES): Add them.
* src/tgba/bddprint.cc, src/tgba/bddprint.hh (bdd_pring_formula,
bdd_format_formula): New functions.
* src/tgba/tgbaexplicit.hh (tgba_explicit::get_condition,
tgba_explicit::add_condition, tgba_explicit::add_neg_condition,
tgba_explicit::declare_accepting_condition,
tgba_explicit::has_accepting_condition,
tgba_explicit::get_accepting_condition,
tgba_explicit::add_accepting_condition): Take a const formula*.
* src/tgba/tgbaexplicit.cc (tgba_explicit::add_condition):
Rewrite using formula_to_bdd.
* src/tgbaalgos/dotty.cc (dotty_bfs::process_link): Use
bdd_print_formula to display conditions.
* src/tgbaalgos/save.cc (save_bfs::process_state): Likewise.
* src/tgbaalgos/ltl2tgba_fm.cc (translate_dict::bdd_to_formula):
New function.
(translate_dict::conj_bdd_to_atomic_props): Remove.
(ltl_to_tgba_fm): Factor successors on accepting conditions
and destinations, not conditions.  Use bdd_to_formula to translate
the conditions.
* src/tgbaparse/tgbaparse.yy: Expect conditions as a formula
in a string, call the LTL parser for this.
* src/tgbaparse/tgbascan.ll: Process " and \ escapes in
strings.
* src/tgbatest/emptchke.test, src/tgbatest/explicit.test,
src/tgbatest/explpro2.test, src/tgbatest/explpro3.test,
src/tgbatest/explprod.test, src/tgbatest/mixprod.test,
src/tgbatest/readsave.test, src/tgbatest/tgbaread.test,
src/tgbatest/tripprod.test: Adjust to new syntax for explicit
automata.
2003-11-24 18:30:09 +00:00
..
.cvsignore * src/tgba/tgbatba.hh, src/tgba/tgbatba.cc 2003-07-28 15:49:16 +00:00
bddprod.test * COPYING: New file. 2003-11-21 15:54:25 +00:00
defs.in * COPYING: New file. 2003-11-21 15:54:25 +00:00
dupexp.test * COPYING: New file. 2003-11-21 15:54:25 +00:00
emptchk.test * COPYING: New file. 2003-11-21 15:54:25 +00:00
emptchke.test Explicit automata can now have arbitrary logic formula on their 2003-11-24 18:30:09 +00:00
explicit.cc Homogenize passing of automata as pointers, not references. 2003-07-14 22:20:35 +00:00
explicit.test Explicit automata can now have arbitrary logic formula on their 2003-11-24 18:30:09 +00:00
explpro2.test Explicit automata can now have arbitrary logic formula on their 2003-11-24 18:30:09 +00:00
explpro3.test Explicit automata can now have arbitrary logic formula on their 2003-11-24 18:30:09 +00:00
explprod.cc * src/tgbaalgos/ltl2tgba.cc, src/tgbaalgos/ltl2tgba.hh: Rename as ... 2003-09-22 15:54:34 +00:00
explprod.test Explicit automata can now have arbitrary logic formula on their 2003-11-24 18:30:09 +00:00
ltl2tgba.cc * src/ltltest/Makefile.am (AM_CXXFLAGS): New variable. 2003-11-14 16:44:12 +00:00
ltl2tgba.test * COPYING: New file. 2003-11-21 15:54:25 +00:00
ltlprod.cc * src/tgbaalgos/ltl2tgba.cc, src/tgbaalgos/ltl2tgba.hh: Rename as ... 2003-09-22 15:54:34 +00:00
ltlprod.test * COPYING: New file. 2003-11-21 15:54:25 +00:00
Makefile.am * COPYING: New file. 2003-11-21 15:54:25 +00:00
mixprod.cc * src/tgbaalgos/ltl2tgba.cc, src/tgbaalgos/ltl2tgba.hh: Rename as ... 2003-09-22 15:54:34 +00:00
mixprod.test Explicit automata can now have arbitrary logic formula on their 2003-11-24 18:30:09 +00:00
readsave.cc Homogenize passing of automata as pointers, not references. 2003-07-14 22:20:35 +00:00
readsave.test Explicit automata can now have arbitrary logic formula on their 2003-11-24 18:30:09 +00:00
spotlbtt.test * COPYING: New file. 2003-11-21 15:54:25 +00:00
tgbaread.cc * src/ltltest/Makefile.am (AM_CXXFLAGS): New variable. 2003-11-14 16:44:12 +00:00
tgbaread.test Explicit automata can now have arbitrary logic formula on their 2003-11-24 18:30:09 +00:00
tripprod.cc * src/tgbaalgos/ltl2tgba.cc, src/tgbaalgos/ltl2tgba.hh: Rename as ... 2003-09-22 15:54:34 +00:00
tripprod.test Explicit automata can now have arbitrary logic formula on their 2003-11-24 18:30:09 +00:00