acc: add support for generating parity conditions
* src/twa/acc.cc, src/twa/acc.hh: Here. * wrap/python/tests/accparse.ipynb: Test it.
This commit is contained in:
parent
d276f73eed
commit
704eaf26c2
3 changed files with 102 additions and 11 deletions
|
|
@ -519,6 +519,8 @@ namespace spot
|
|||
return res;
|
||||
}
|
||||
|
||||
static acc_code parity(bool max, bool odd, unsigned sets);
|
||||
|
||||
void append_and(acc_code&& r)
|
||||
{
|
||||
if (is_true() || r.is_false())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue