rename the spot::tgba class as spot::twa
Now that we support any type of omega-accetpance, not just "Generalized Büchi", it is time to move away from GB and replace it by "ω", written just w in ASCII. This just change the name of the tgba class. This part has to be done by hand because the word "tgba" occurs in many contexts and a mass replacement would be wrong. This will be followed by some automatic renaming of all the derived types and more. * src/bin/autfilt.cc, src/bin/randaut.cc, src/kripke/fairkripke.hh, src/ta/tgta.cc, src/ta/tgta.hh, src/tgba/fwd.hh, src/tgba/taatgba.cc, src/tgba/taatgba.hh, src/tgba/tgba.cc, src/tgba/tgba.hh, src/tgba/tgbagraph.hh, src/tgba/tgbaproduct.cc, src/tgba/tgbaproduct.hh, src/tgba/tgbaproxy.cc, src/tgba/tgbaproxy.hh, src/tgba/tgbasafracomplement.cc, src/tgba/tgbasafracomplement.hh, src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/cleanacc.cc, src/tgbaalgos/dotty.cc, src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh, src/tgbaalgos/hoa.cc, src/tgbaalgos/neverclaim.cc, src/tgbaalgos/simulation.cc, src/tgbaalgos/stutter.cc, src/tgbatest/checkpsl.cc, src/tgbatest/emptchk.cc, src/tgbatest/ltl2tgba.cc, wrap/python/spot.py, wrap/python/spot_impl.i: Rename the tgba class into twa.
This commit is contained in:
parent
8248072057
commit
c2ae99e779
31 changed files with 117 additions and 107 deletions
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
namespace spot
|
||||
{
|
||||
tgba::tgba(const bdd_dict_ptr& d)
|
||||
twa::twa(const bdd_dict_ptr& d)
|
||||
: iter_cache_(nullptr),
|
||||
dict_(d),
|
||||
last_support_conditions_input_(0)
|
||||
|
|
@ -36,7 +36,7 @@ namespace spot
|
|||
props = 0U;
|
||||
}
|
||||
|
||||
tgba::~tgba()
|
||||
twa::~twa()
|
||||
{
|
||||
if (last_support_conditions_input_)
|
||||
last_support_conditions_input_->destroy();
|
||||
|
|
@ -45,7 +45,7 @@ namespace spot
|
|||
}
|
||||
|
||||
bdd
|
||||
tgba::support_conditions(const state* state) const
|
||||
twa::support_conditions(const state* state) const
|
||||
{
|
||||
if (!last_support_conditions_input_
|
||||
|| last_support_conditions_input_->compare(state) != 0)
|
||||
|
|
@ -59,7 +59,7 @@ namespace spot
|
|||
}
|
||||
|
||||
state*
|
||||
tgba::project_state(const state* s,
|
||||
twa::project_state(const state* s,
|
||||
const const_tgba_ptr& t) const
|
||||
{
|
||||
if (t.get() == this)
|
||||
|
|
@ -68,13 +68,13 @@ namespace spot
|
|||
}
|
||||
|
||||
std::string
|
||||
tgba::transition_annotation(const tgba_succ_iterator*) const
|
||||
twa::transition_annotation(const tgba_succ_iterator*) const
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
bool
|
||||
tgba::is_empty() const
|
||||
twa::is_empty() const
|
||||
{
|
||||
// FIXME: This should be improved based on properties of the
|
||||
// automaton. For instance we do not need couvreur99 is we know
|
||||
|
|
@ -91,8 +91,8 @@ namespace spot
|
|||
}
|
||||
|
||||
void
|
||||
tgba::set_named_prop(std::string s,
|
||||
void* val, std::function<void(void*)> destructor)
|
||||
twa::set_named_prop(std::string s,
|
||||
void* val, std::function<void(void*)> destructor)
|
||||
{
|
||||
auto p = named_prop_.emplace(std::piecewise_construct,
|
||||
std::forward_as_tuple(s),
|
||||
|
|
@ -105,7 +105,7 @@ namespace spot
|
|||
}
|
||||
|
||||
void*
|
||||
tgba::get_named_prop_(std::string s) const
|
||||
twa::get_named_prop_(std::string s) const
|
||||
{
|
||||
auto i = named_prop_.find(s);
|
||||
if (i == named_prop_.end())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue