Add a parser for automata in LBTT's format.

* src/tgbaalgos/lbtt.hh, src/tgbaalgos/lbtt.cc (lbtt_parse):
New function.
* src/tgba/tgbaexplicit.hh (get_acceptance_condition): Make it public.
* src/tgbatest/ltl2tgba.cc: Add a -XL option to read LBTT file.
* src/tgbatest/lbttparse.test: New file.
* src/tgbatest/Makefile.am: Add it.
This commit is contained in:
Alexandre Duret-Lutz 2012-10-02 18:01:35 +02:00
parent df743e5057
commit c55bd831a8
6 changed files with 214 additions and 9 deletions

View file

@ -597,8 +597,6 @@ namespace spot
all_acceptance_conditions_computed_ = false;
}
protected:
bdd get_acceptance_condition(const ltl::formula* f)
{
bdd_dict::fv_map::iterator i = this->dict_->acc_map.find(f);
@ -609,6 +607,8 @@ namespace spot
return v;
}
protected:
virtual bdd compute_support_conditions(const spot::state* in) const
{
const State* s = down_cast<const State*>(in);