Rename split_independant_formulas

split_independant_formulas is now split_independent_formulas

* spot/twaalgos/synthesis.hh, spot/twaalgos/synthesis.cc: change name.
* bin/ltlsynt.cc: update call
* NEWS: Mention it.
This commit is contained in:
Florian Renkin 2024-04-16 16:42:27 +02:00
parent f57782686d
commit 2ffdd84942
4 changed files with 9 additions and 6 deletions

3
NEWS
View file

@ -198,6 +198,9 @@ New in spot 2.11.6.dev (not yet released)
- Rename minimize_obligation_garanteed_to_work to - Rename minimize_obligation_garanteed_to_work to
minimize_obligation_guaranteed_to_work. minimize_obligation_guaranteed_to_work.
- Rename split_independant_formulas to
split_independent_formulas.
Python: Python:
- The spot.automata() and spot.automaton() functions now accept a - The spot.automata() and spot.automaton() functions now accept a

View file

@ -447,7 +447,7 @@ namespace
std::vector<std::set<spot::formula>> sub_outs; std::vector<std::set<spot::formula>> sub_outs;
if (opt_decompose_ltl) if (opt_decompose_ltl)
{ {
auto subs = split_independant_formulas(f, output_aps); auto subs = split_independent_formulas(f, output_aps);
if (gi->verbose_stream) if (gi->verbose_stream)
{ {
*gi->verbose_stream << "there are " *gi->verbose_stream << "there are "

View file

@ -1847,7 +1847,7 @@ namespace // anonymous for subsformula
namespace spot namespace spot
{ {
std::pair<std::vector<formula>, std::vector<std::set<formula>>> std::pair<std::vector<formula>, std::vector<std::set<formula>>>
split_independant_formulas(formula f, const std::vector<std::string>& outs) split_independent_formulas(formula f, const std::vector<std::string>& outs)
{ {
formula_2_inout_props form2props(outs); formula_2_inout_props form2props(outs);
std::set<std::string> outs_set(outs.begin(), outs.end()); std::set<std::string> outs_set(outs.begin(), outs.end());
@ -1905,10 +1905,10 @@ namespace spot
} }
std::pair<std::vector<formula>, std::vector<std::set<formula>>> std::pair<std::vector<formula>, std::vector<std::set<formula>>>
split_independant_formulas(const std::string& f, split_independent_formulas(const std::string& f,
const std::vector<std::string>& outs) const std::vector<std::string>& outs)
{ {
return split_independant_formulas(parse_formula(f), outs); return split_independent_formulas(parse_formula(f), outs);
} }
bool bool

View file

@ -222,10 +222,10 @@ namespace spot
/// propositions each. /// propositions each.
/// @{ /// @{
SPOT_API std::pair<std::vector<formula>, std::vector<std::set<formula>>> SPOT_API std::pair<std::vector<formula>, std::vector<std::set<formula>>>
split_independant_formulas(formula f, const std::vector<std::string>& outs); split_independent_formulas(formula f, const std::vector<std::string>& outs);
SPOT_API std::pair<std::vector<formula>, std::vector<std::set<formula>>> SPOT_API std::pair<std::vector<formula>, std::vector<std::set<formula>>>
split_independant_formulas(const std::string& f, split_independent_formulas(const std::string& f,
const std::vector<std::string>& outs); const std::vector<std::string>& outs);
/// @} /// @}