new conversion for Streett->GBA
* src/twaalgos/totgba.hh, src/twaalgos/totgba.cc: Implement the new function. * NEWS: Mention this new function. * src/bin/man/spot-x.x: Document SPOT_STREETT_CONV_MIN. * src/tests/ltl2dstar4.test: Add tests. * src/tests/Makefile.am: Add it. * src/bin/autfilt.cc: Do do call remove_fin explicitely when --tgba is used, let the postprocessor do it. * src/twa/acc.hh: Add shift operators for acceptance marks. * src/twaalgos/remfin.cc: Use the new algorithm. * src/twaalgos/sccinfo.cc, src/twaalgos/sccinfo.hh: Add a new method to supply the acceptance sets visited by an SCC.
This commit is contained in:
parent
c0ffe5cdff
commit
d8a1dafad1
11 changed files with 419 additions and 11 deletions
|
|
@ -167,6 +167,28 @@ namespace spot
|
|||
return id ^ r.id;
|
||||
}
|
||||
|
||||
mark_t operator<<(int i) const
|
||||
{
|
||||
return id << i;
|
||||
}
|
||||
|
||||
mark_t& operator<<=(int i)
|
||||
{
|
||||
id <<= i;
|
||||
return *this;
|
||||
}
|
||||
|
||||
mark_t operator>>(int i) const
|
||||
{
|
||||
return id >> i;
|
||||
}
|
||||
|
||||
mark_t& operator>>=(int i)
|
||||
{
|
||||
id >>= i;
|
||||
return *this;
|
||||
}
|
||||
|
||||
mark_t strip(mark_t y) const
|
||||
{
|
||||
// strip every bit of id that is marked in y
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue