hoa: support Inf(!x)

* src/hoaparse/hoaparse.yy: Here.
* src/tgbatest/hoaparse.test: More tests.
* src/tgba/acc.hh (operator^=): New method.
This commit is contained in:
Alexandre Duret-Lutz 2014-11-21 13:37:25 +01:00
parent 7a03228880
commit 71d21b378b
3 changed files with 87 additions and 3 deletions

View file

@ -114,6 +114,12 @@ namespace spot
return *this;
}
mark_t& operator^=(mark_t r)
{
id ^= r.id;
return *this;
}
mark_t operator&(mark_t r) const
{
return id & r.id;
@ -129,6 +135,11 @@ namespace spot
return id & ~r.id;
}
mark_t operator^(mark_t r) const
{
return id ^ r.id;
}
// Number of bits sets.
unsigned count() const
{