Fix computation of product acceptance conditions, when the

two operands share some acceptance conditions.
* src/tgba/tgbaproduct.hh (tgba_product::left_acc_complement_,
tgba_product::right_acc_complement_): New attribute.
* src/tgba/tgbaproduct.cc (tgba_product::tgba_product): Set them.
(tgba_product::succ_iter): Use them.
* src/tgba/explpro2.test: New file.
* src/tgba/Makefile.am (TESTS): Add it.
This commit is contained in:
Alexandre Duret-Lutz 2003-08-22 10:07:02 +00:00
parent 8a44ed08ae
commit 7db71d9afe
5 changed files with 61 additions and 8 deletions

View file

@ -122,6 +122,8 @@ namespace spot
bdd_dict* dict_;
const tgba* left_;
const tgba* right_;
bdd left_acc_complement_;
bdd right_acc_complement_;
bdd all_accepting_conditions_;
bdd neg_accepting_conditions_;
// Disallow copy.