acc: do not store a bdd_dict

Fixes #55.

* src/tgba/acc.hh: Do not store a bdd_dict_ptr, it is not used.
* src/tgba/tgba.hh, src/tgba/tgba.cc, src/ta/ta.hh,
src/tgba/tgbagraph.hh, src/tgbaalgos/dtgbasat.cc,
src/tgbatest/acc.cc: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2015-02-04 21:14:07 +01:00
parent 2a3c126c15
commit 856adef9a8
7 changed files with 23 additions and 30 deletions

View file

@ -23,7 +23,7 @@
# include <functional>
# include <unordered_map>
# include <sstream>
# include "bdddict.hh"
# include <vector>
# include "ltlenv/defaultenv.hh"
namespace spot
@ -191,8 +191,8 @@ namespace spot
}
};
acc_cond(const bdd_dict_ptr& dict, unsigned n_sets = 0)
: d_(dict), num_(0U), all_(0U)
acc_cond(unsigned n_sets = 0)
: num_(0U), all_(0U)
{
add_sets(n_sets);
}
@ -206,11 +206,6 @@ namespace spot
{
}
const bdd_dict_ptr& get_dict() const
{
return d_;
}
unsigned add_sets(unsigned num)
{
if (num == 0)
@ -426,7 +421,6 @@ namespace spot
return r;
}
bdd_dict_ptr d_;
unsigned num_;
mark_t::value_t all_;
};