Commit 66175381 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

kripke: rename state_acceptance_conditions

* spot/kripke/kripke.cc, spot/kripke/kripke.hh,
spot/kripke/fairkripke.hh (state_acceptance_conditions): Rename as...
(state_acceptance_mark): ... this.
* NEWS: Mention it.
parent 096edf22
......@@ -146,6 +146,11 @@ New in spot 2.0.3a (not yet released)
spot::internal::twa_succ_iterable to make it clear this is not for
public consumption.
* spot::fair_kripke::state_acceptance_conditions() renamed to
spot::fair_kripke::state_acceptance_mark() for consistency. This
is backward incompatible, but we are not aware of any actual use
of this method.
Python:
* The __format__() method for formula supports the same
......
......@@ -97,8 +97,8 @@ namespace spot
/// This should be a conjunction of atomic propositions.
virtual bdd state_condition(const state* s) const = 0;
/// \brief The set of acceptance conditions that label the state \a s.
/// \brief The acceptance mark that labels state \a s.
virtual acc_cond::mark_t
state_acceptance_conditions(const state* s) const = 0;
state_acceptance_mark(const state* s) const = 0;
};
}
// -*- coding: utf-8 -*-
// Copyright (C) 2009, 2010, 2014 Laboratoire de Recherche et
// Copyright (C) 2009, 2010, 2014, 2016 Laboratoire de Recherche et
// Developpement de l'Epita
//
// This file is part of Spot, a model checking library.
......@@ -47,7 +47,7 @@ namespace spot
}
acc_cond::mark_t
kripke::state_acceptance_conditions(const state*) const
kripke::state_acceptance_mark(const state*) const
{
return 0U;
}
......
......@@ -98,7 +98,7 @@ namespace spot
virtual ~kripke();
virtual
acc_cond::mark_t state_acceptance_conditions(const state*) const override;
acc_cond::mark_t state_acceptance_mark(const state*) const override;
};
typedef std::shared_ptr<kripke> kripke_ptr;
......
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