Commit 65726c0f authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

twa: rename as_var() as as_vars()

* spot/twa/twa.hh, spot/twaalgos/stutter.cc: Here.
* NEWS: Mention the change.
parent 4f1fad80
New in spot 1.99.8a (not yet released)
Nothing yet.
Library:
* twa::ap_var() renamed to twa::ap_vars().
New in spot 1.99.8 (2016-02-18)
......
......@@ -740,13 +740,13 @@ namespace spot
/// \brief The vector of atomic propositions registered by this
/// automaton.
const std::vector<formula>& ap() const
const std::vector<formula>& ap() const
{
return aps_;
}
/// \brief The set of atomic propositions as a conjunction.
bdd ap_var() const
bdd ap_vars() const
{
return bddaps_;
}
......
......@@ -272,13 +272,13 @@ namespace spot
twa_graph_ptr
sl(const twa_graph_ptr& a)
{
return sl(a, a->ap_var());
return sl(a, a->ap_vars());
}
twa_graph_ptr
sl2(const twa_graph_ptr& a)
{
return sl2(a, a->ap_var());
return sl2(a, a->ap_vars());
}
twa_graph_ptr
......@@ -349,7 +349,7 @@ namespace spot
sl2(twa_graph_ptr&& a, bdd atomic_propositions)
{
if (atomic_propositions == bddfalse)
atomic_propositions = a->ap_var();
atomic_propositions = a->ap_vars();
unsigned num_states = a->num_states();
unsigned num_edges = a->num_edges();
std::vector<bdd> selfloops(num_states, bddfalse);
......@@ -628,7 +628,7 @@ namespace spot
}
is_stut = is_stutter_invariant(make_twa_graph(aut, twa::prop_set::all()),
std::move(neg), aut->ap_var());
std::move(neg), aut->ap_vars());
aut->prop_stutter_invariant(is_stut);
return is_stut;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment