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:
parent
7a03228880
commit
71d21b378b
3 changed files with 87 additions and 3 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue