remfin: implement the BA-type check
* src/twaalgos/remfin.cc: Here. * src/tests/remfin.test: Add a single test. * src/twa/acc.hh (mark_t::lowest): New function.
This commit is contained in:
parent
8a3a07d8a4
commit
4bef219d8f
3 changed files with 345 additions and 4 deletions
|
|
@ -244,6 +244,12 @@ namespace spot
|
|||
return res;
|
||||
}
|
||||
|
||||
// Return the lowest acceptance mark
|
||||
mark_t lowest() const
|
||||
{
|
||||
return id & -id;
|
||||
}
|
||||
|
||||
// Remove n bits that where set
|
||||
mark_t& remove_some(unsigned n)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue