Improve ltl_to_taa.

* src/tgba/taa.cc, src/tgba/taa.hh: taa_succ_iterator is not
on-the-fly anymore allowing some redundant transitions to be
removed. Also a new function to output a TAA.
* src/tgbaalgos/ltl2taa.cc, src/tgbaalgos/ltl2taa.hh: Add the
refined rules from Tauriainen.
* src/tgbatest/ltl2tgba.cc: Use -c to activate refined rules in
ltl_to_taa.
* src/tgbatest/spotlbtt.test: More tests.
This commit is contained in:
Damien Lefortier 2009-10-22 14:37:30 +02:00
parent 9f47dde5a7
commit 7ce27ef994
7 changed files with 289 additions and 124 deletions

View file

@ -47,8 +47,10 @@ namespace spot
///
/// \param f The formula to translate into an automaton.
/// \param dict The spot::bdd_dict the constructed automata should use.
/// \param refined_rules If this parameter is set, refined rules are used.
/// \return A spot::taa that recognizes the language of \a f.
taa* ltl_to_taa(const ltl::formula* f, bdd_dict* dict);
taa* ltl_to_taa(const ltl::formula* f, bdd_dict* dict,
bool refined_rules = false);
}
#endif // SPOT_TGBAALGOS_LTL2TAA_HH