Commit 3802528b authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/tgba/tgbatba.cc (tgba_tba_proxy::format_state): Use

bdd_format_accset to print the acceptance condition part of the state.
That produces more readable output.
parent bd69b16e
2004-06-23 Alexandre Duret-Lutz <adl@gnu.org> 2004-06-23 Alexandre Duret-Lutz <adl@gnu.org>
* src/tgba/tgbatba.cc (tgba_tba_proxy::format_state): Use
bdd_format_accset to print the acceptance condition part of the state.
That produces more readable output.
* wrap/python/cgi/ltl2tgba.in: Add "Formula Simplications" options. * wrap/python/cgi/ltl2tgba.in: Add "Formula Simplications" options.
* wrap/python/spot.i: Wrap src/ltlvisite/reduce.hh. * wrap/python/spot.i: Wrap src/ltlvisite/reduce.hh.
......
...@@ -258,8 +258,10 @@ namespace spot ...@@ -258,8 +258,10 @@ namespace spot
{ {
const state_tba_proxy* s = dynamic_cast<const state_tba_proxy*>(state); const state_tba_proxy* s = dynamic_cast<const state_tba_proxy*>(state);
assert(s); assert(s);
return a_->format_state(s->real_state()) + "(" std::string a = bdd_format_accset(get_dict(), s->acceptance_cond());
+ bdd_format_set(get_dict(), s->acceptance_cond()) + ")"; if (a != "")
a = " " + a;
return a_->format_state(s->real_state()) + a;
} }
state* state*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment