spot/twa: Add methods to set co-Büchi acceptance

* spot/twa/acc.hh: Add set_generalized_co_buchi() method.
* spot/twa/twa.hh: Add set_generalized_co_buchi() and set_co_buchi()
wrappers.
This commit is contained in:
Alexandre GBAGUIDI AISSE 2017-06-17 19:23:38 +02:00
parent 75d9e5f624
commit 0957317ad7
2 changed files with 44 additions and 0 deletions

View file

@ -1027,6 +1027,11 @@ namespace spot
set_acceptance(inf(all_sets()));
}
void set_generalized_co_buchi()
{
set_acceptance(fin(all_sets()));
}
bool is_generalized_buchi() const
{
unsigned s = code_.size();