translate: add support for -x tls-impl=N

This is long overdue, and we probably want to use tls-impl=1 in
ltlsynt.

* spot/twaalgos/translate.cc, spot/twaalgos/translate.hh:
Add support for tls-impl=N.
* tests/core/ltl2tgba.test: Test it.
* bin/spot-x.cc, NEWS: Document it.
This commit is contained in:
Alexandre Duret-Lutz 2017-10-11 22:19:43 +02:00
parent 9b18729721
commit 689aa7fdc0
5 changed files with 52 additions and 3 deletions

View file

@ -37,6 +37,13 @@ value) is a shorthand for KEY=1, while !KEY is a shorthand for KEY=0.";
static const argp_option options[] =
{
{ nullptr, 0, nullptr, 0, "Temporal logic simplification options:", 0 },
{ DOC("tls-impl",
"Control usage of implication-based rewriting. \
(0) disables it, (1) enables rules based on syntactic implications, \
(2) additionally allows automata-based implication checks, (3) enables \
more rules based on automata-based implication checks. The default value \
depends on the --low/--medium/--high settings.") },
{ nullptr, 0, nullptr, 0, "Translation options:", 0 },
{ DOC("comp-susp", "Set to 1 to enable compositional suspension, \
as described in our SPIN'13 paper (see Bibliography below). Set to 2, \