acc::name(): recognize generalized Streett

* spot/twa/acc.cc: Implement this.
* tests/python/randaut.ipynb: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2017-11-05 09:26:18 +01:00
parent 62302b6046
commit 0f26125f08
2 changed files with 54 additions and 43 deletions

View file

@ -1694,6 +1694,17 @@ namespace spot
os << ' ' << p;
}
}
else if (is_generalized_streett(pairs))
{
os << gen() << "Streett";
if (!no_main_param)
{
os << ' ' << pairs.size();
if (!no_extra_param)
for (auto p: pairs)
os << ' ' << p;
}
}
else
{
bool max = false;