Rename minimize_obligation_garanteed_to_work
minimize_obligation_garanteed_to_work is now minimize_obligation_guaranteed_to_work * spot/twaalgos/minimize.hh, spot/twaalgos/minimize.cc: change name. * spot/twaalgos/postproc.cc: update call * NEWS: Mention it.
This commit is contained in:
parent
96ff2225e3
commit
f57782686d
4 changed files with 10 additions and 7 deletions
|
|
@ -607,7 +607,7 @@ namespace spot
|
|||
return product(min_aut, aut_neg)->is_empty();
|
||||
}
|
||||
|
||||
bool minimize_obligation_garanteed_to_work(const const_twa_graph_ptr& aut_f,
|
||||
bool minimize_obligation_guaranteed_to_work(const const_twa_graph_ptr& aut_f,
|
||||
formula f)
|
||||
{
|
||||
// WDBA-minimization necessarily work for obligations
|
||||
|
|
@ -644,7 +644,7 @@ namespace spot
|
|||
("minimize_obligation() does not support alternation");
|
||||
|
||||
bool minimization_will_be_correct = false;
|
||||
if (minimize_obligation_garanteed_to_work(aut_f, f))
|
||||
if (minimize_obligation_guaranteed_to_work(aut_f, f))
|
||||
{
|
||||
minimization_will_be_correct = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ namespace spot
|
|||
/// minimize_obligation(), but as it is less likely, you might
|
||||
/// decide to save time.
|
||||
SPOT_API
|
||||
bool minimize_obligation_garanteed_to_work(const const_twa_graph_ptr& aut_f,
|
||||
bool minimize_obligation_guaranteed_to_work(const const_twa_graph_ptr& aut_f,
|
||||
formula f = nullptr);
|
||||
|
||||
/// @}
|
||||
|
|
|
|||
|
|
@ -474,7 +474,7 @@ namespace spot
|
|||
wdba_minimize = 0;
|
||||
}
|
||||
if (wdba_minimize == 2)
|
||||
wdba_minimize = minimize_obligation_garanteed_to_work(a, f);
|
||||
wdba_minimize = minimize_obligation_guaranteed_to_work(a, f);
|
||||
if (wdba_minimize)
|
||||
{
|
||||
bool reject_bigger = (PREF_ == Small) && (level_ <= Medium);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue