cube: rename get_ap into ap

* spot/kripke/kripke.hh,
spot/ltsmin/spins_kripke.hh,
spot/ltsmin/spins_kripke.hxx,
spot/mc/mc_instanciator.hh,
spot/mc/utils.hh,
spot/twacube/twacube.cc,
spot/twacube/twacube.hh,
spot/twacube_algos/convert.cc,
tests/core/twacube.cc,
tests/ltsmin/modelcheck.cc: Here.
This commit is contained in:
Etienne Renault 2020-05-13 13:04:54 +02:00
parent 2d59a5c752
commit c19163cced
10 changed files with 21 additions and 21 deletions

View file

@ -166,9 +166,9 @@ namespace spot
algo == mc_algorithm::SWARMING)
{
SPOT_ASSERT(prop != nullptr);
SPOT_ASSERT(sys->get_ap().size() == prop->get_ap().size());
for (unsigned int i = 0; i < sys->get_ap().size(); ++i)
SPOT_ASSERT(sys->get_ap()[i].compare(prop->get_ap()[i]) == 0);
SPOT_ASSERT(sys->ap().size() == prop->ap().size());
for (unsigned int i = 0; i < sys->ap().size(); ++i)
SPOT_ASSERT(sys->ap()[i].compare(prop->ap()[i]) == 0);
}
switch (algo)

View file

@ -55,7 +55,7 @@ namespace spot
res_->new_state();
// Compute the reverse binder.
auto aps = this->sys_.get_ap();
auto aps = this->sys_.ap();
for (unsigned i = 0; i < aps.size(); ++i)
{
auto k = res_->register_ap(aps[i]);
@ -72,7 +72,7 @@ namespace spot
void edge(unsigned src, unsigned dst)
{
cubeset cs(this->sys_.get_ap().size());
cubeset cs(this->sys_.ap().size());
bdd cond = cube_to_bdd(this->todo.back().it->condition(),
cs, reverse_binder_);
res_->new_edge(src, dst, cond);
@ -345,7 +345,7 @@ namespace spot
names_ = new std::vector<std::string>();
int i = 0;
for (auto ap : this->twa_->get_ap())
for (auto ap : this->twa_->ap())
{
auto idx = res_->register_ap(ap);
reverse_binder_[i++] = idx;