Add a visitor to relabel the atomic proposition in formulas.

* src/ltlvisit/relabel.cc, src/ltlvisit/relabel.hh: New files.
* src/ltlvisit/Makefile.am: Add them.
* src/ltlvisit/clone.cc (recurse): Don't call clone(), nobody
needs that.  Instead, really recurse.
* src/bin/ltlfilt.cc: Add a --relabel option.
* src/bin/genltl.cc: Relabel formulas if --lbt is used.
* src/sanity/style.test: Tweak detection of i++.
This commit is contained in:
Alexandre Duret-Lutz 2012-09-16 21:30:54 +02:00
parent 1a84c17ece
commit d9dc1f489d
7 changed files with 204 additions and 4 deletions

View file

@ -42,6 +42,7 @@ ltlvisit_HEADERS = \
postfix.hh \
randomltl.hh \
reduce.hh \
relabel.hh \
simpfg.hh \
simplify.hh \
snf.hh \
@ -65,6 +66,7 @@ libltlvisit_la_SOURCES = \
postfix.cc \
randomltl.cc \
reduce.cc \
relabel.cc \
simpfg.cc \
simplify.cc \
snf.cc \