Introduce a translator class.
This perform pre- and post-processings in addition to the LTL-to-TGBA translation. * src/tgbaalgos/translate.cc, src/tgbaalgos/translate.hh: New files. * src/tgbaalgos/Makefile.am: Add them. * src/tgbaalgos/postproc.hh: Make the private part protected, so that we can inherit from that in the translator class. * src/bin/ltl2tgba.cc: Use the translator class to hide LTL simplification, translation, and postprocessings. * NEWS: Mention it.
This commit is contained in:
parent
0edb2b7a17
commit
c5b7e8e1da
6 changed files with 219 additions and 30 deletions
|
|
@ -1,5 +1,5 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
## Copyright (C) 2008, 2009, 2010, 2011, 2012 Laboratoire de Recherche
|
||||
## Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013 Laboratoire de Recherche
|
||||
## et Développement de l'Epita (LRDE).
|
||||
## Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de Paris
|
||||
## 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
||||
|
|
@ -66,6 +66,7 @@ tgbaalgos_HEADERS = \
|
|||
stripacc.hh \
|
||||
tau03.hh \
|
||||
tau03opt.hh \
|
||||
translate.hh \
|
||||
reductgba_sim.hh \
|
||||
weight.hh
|
||||
|
||||
|
|
@ -109,6 +110,7 @@ libtgbaalgos_la_SOURCES = \
|
|||
stripacc.cc \
|
||||
tau03.cc \
|
||||
tau03opt.cc \
|
||||
translate.cc \
|
||||
reductgba_sim.cc \
|
||||
weight.cc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue