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:
parent
75d9e5f624
commit
0957317ad7
2 changed files with 44 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue