scc_filter: do not remove Fin sets from rejecting SCCs

* src/twaalgos/sccfilter.cc (acc_filter_some, acc_filter_all): Merge
into...
(acc_filter_mask): ... this single parametrized class, and only
remove sets that are only used as Inf.
* src/twa/acc.hh: Add missing operator~.
* src/tests/sccsimpl.test: Add test case.
* src/tests/sccdot.test: Adjust.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2015-06-30 16:05:24 +02:00
parent 5d9e7d1f93
commit 5cb19a290b
5 changed files with 148 additions and 50 deletions

View file

@ -157,6 +157,11 @@ namespace spot
return id & ~r.id;
}
mark_t operator~() const
{
return ~id;
}
mark_t operator^(mark_t r) const
{
return id ^ r.id;