determinize: rename the main function

* spot/twaalgos/determinize.cc, spot/twaalgos/determinize.hh,
tests/core/safra.cc (tgba_determinisation): Rename as...
(twa_determinisation): ... this.
This commit is contained in:
Alexandre Duret-Lutz 2016-02-06 11:35:32 +01:00
parent 4635ce44a9
commit c18ee329fb
3 changed files with 12 additions and 12 deletions

View file

@ -607,9 +607,9 @@ namespace spot
} }
twa_graph_ptr twa_graph_ptr
tgba_determinisation(const const_twa_graph_ptr& a, tgba_determinize(const const_twa_graph_ptr& a,
bool pretty_print, bool use_scc, bool pretty_print, bool use_scc,
bool use_simulation, bool use_stutter) bool use_simulation, bool use_stutter)
{ {
// Degeneralize // Degeneralize
twa_graph_ptr aut = spot::degeneralize_tba(a); twa_graph_ptr aut = spot::degeneralize_tba(a);

View file

@ -73,9 +73,9 @@ namespace spot
/// spot::check_stutter_invariance() first if /// spot::check_stutter_invariance() first if
/// possible.) /// possible.)
SPOT_API twa_graph_ptr SPOT_API twa_graph_ptr
tgba_determinisation(const const_twa_graph_ptr& aut, tgba_determinize(const const_twa_graph_ptr& aut,
bool pretty_print = false, bool pretty_print = false,
bool use_scc = true, bool use_scc = true,
bool use_simulation = true, bool use_simulation = true,
bool use_stutter = true); bool use_stutter = true);
} }

View file

@ -118,16 +118,16 @@ int main(int argc, char* argv[])
spot::translator trans(dict); spot::translator trans(dict);
trans.set_pref(spot::postprocessor::Deterministic); trans.set_pref(spot::postprocessor::Deterministic);
auto tmp = trans.run(f); auto tmp = trans.run(f);
res = spot::tgba_determinisation(tmp, pretty_print, scc_opt, res = spot::tgba_determinize(tmp, pretty_print, scc_opt,
use_bisim, use_stutter); use_bisim, use_stutter);
} }
else if (in_hoa) else if (in_hoa)
{ {
auto aut = spot::parse_aut(input, dict); auto aut = spot::parse_aut(input, dict);
if (aut->format_errors(std::cerr)) if (aut->format_errors(std::cerr))
return 2; return 2;
res = tgba_determinisation(aut->aut, pretty_print, scc_opt, res = tgba_determinize(aut->aut, pretty_print, scc_opt,
use_bisim, use_stutter); use_bisim, use_stutter);
} }
if (sim) if (sim)
res = simulation(res); res = simulation(res);