* src/ltlvisit/nenoform.hh, src/ltlvisit/nenoform.cc: New files.

* src/ltlvisit/Makefile.am (libltlvisit_a_SOURCES): Add them.
* src/ltltest/equals.cc (main) [NENOFORM]: Call negative_normal_form.
* src/ltltest/nenoform.test, src/ltltest/tunenoform.test: New files.
* src/ltltest/Makefile.am (check_PROGRAMS): Add nenoform and
tunenoform.
(nenoform_SOURCES, nenoform_CPPFLAGS, tunenoform_SOURCES,
tunenoform_CPPFLAGS): New variables.
(TESTS): Add nenoform.test and tunenoform.test.
This commit is contained in:
Alexandre Duret-Lutz 2003-04-17 13:12:11 +00:00
parent e58aae95c0
commit 0c7a2412a4
9 changed files with 308 additions and 2 deletions

View file

@ -4,6 +4,7 @@
#include "ltlvisit/lunabbrev.hh"
#include "ltlvisit/tunabbrev.hh"
#include "ltlvisit/dump.hh"
#include "ltlvisit/nenoform.hh"
void
syntax(char *prog)
@ -34,10 +35,17 @@ main(int argc, char **argv)
#ifdef LUNABBREV
f1 = spot::ltl::unabbreviate_logic(f1);
spot::ltl::dump(*f1, std::cout);
std::cout << std::endl;
#endif
#ifdef TUNABBREV
f1 = spot::ltl::unabbreviate_ltl(f1);
spot::ltl::dump(*f1, std::cout);
std::cout << std::endl;
#endif
#ifdef NENOFORM
f1 = spot::ltl::negative_normal_form(f1);
spot::ltl::dump(*f1, std::cout);
std::cout << std::endl;
#endif
if (equals(f1, f2))