option --low should disable gf-guarantee

Fixes #367.

* spot/twaalgos/translate.cc, spot/twaalgos/translate.hh: Fix it.
* NEWS: Mention the change.
* tests/core/ltl2tgba2.test: Test this.
This commit is contained in:
Alexandre Duret-Lutz 2018-10-12 13:38:30 +02:00
parent 3c86f034fc
commit 58c1a968c7
4 changed files with 19 additions and 3 deletions

View file

@ -119,6 +119,8 @@ namespace spot
delete simpl_owned_;
build_simplifier(d);
}
if (!gf_guarantee_set_)
gf_guarantee_ = level != Low;
}
/// \brief Convert \a f into an automaton.
@ -149,7 +151,8 @@ namespace spot
int skel_simul_;
int relabel_bool_;
int tls_impl_;
bool gf_guarantee_;
bool gf_guarantee_ = true;
bool gf_guarantee_set_ = false;
bool ltl_split_;
const option_map* opt_;
};