ltlcross, ltldo: add a --relabel option

* bin/common_trans.cc, bin/common_trans.hh: Add the --relabel option.
* bin/ltlcross.cc, bin/ltldo.cc: Implement it.
* doc/org/ltldo.org, NEWS: Document it.
* tests/core/ltl3ba.test: Test it.
This commit is contained in:
Alexandre Duret-Lutz 2017-01-13 21:19:17 +01:00
parent b0ba6190b7
commit 43520a3e87
7 changed files with 48 additions and 10 deletions

6
NEWS
View file

@ -50,6 +50,12 @@ New in spot 2.2.2.dev (Not yet released)
print the class of a formula in the temporal hierarchy of Manna &
Pnueli using %h. See https://www.lrde.epita.fr/hierarchy.html
* ltldo and ltlcross learned a --relabel option to force the
relabeling of atomic propositions to p0, p1, etc. This is more
useful with ltldo, as it allows calling a tool that restricts the
atomic propositions it supports, and the output automaton will
then be fixed to use the original atomic propositions.
Library:
* A twa is required to have at least one state, the initial state.