maskacc: reverse the way the acceptance condition is stripped

It makes more sense to assume that the removed set cannot be visited.

* src/tgbaalgos/mask.cc: Flip a Boolean.
* src/tgbatest/maskacc.test: Adjust test case.
* doc/org/autfilt.org: Add an example.
This commit is contained in:
Alexandre Duret-Lutz 2015-03-24 16:33:33 +01:00
parent 020bbd4473
commit e592832a3e
3 changed files with 112 additions and 26 deletions

View file

@ -31,7 +31,7 @@ namespace spot
unsigned tr = to_remove.count();
assert(tr <= na);
res->set_acceptance(na - tr,
in->get_acceptance().strip(to_remove, false));
in->get_acceptance().strip(to_remove, true));
transform_accessible(in, res, [&](unsigned,
bdd& cond,
acc_cond::mark_t& acc,