Commit graph

  • 23f1a6f2c6 * iface/gspn/ltleesrg.cc: Emptinesscheck the full product, not the control automaton. Alexandre Duret-Lutz 2004-01-06 10:12:00 +00:00
  • 4341a7553e * iface/gspn/eesrg.cc (tgba_gspn_eesrg::project_state): New method. * iface/gspn/eesrg.hh: Likewise. Alexandre Duret-Lutz 2004-01-06 10:07:19 +00:00
  • f59eeb75cd * src/tgbaalgos/powerset.cc, src/tgbaalgos/powerset.hh: New files. * src/tgbaalgos/Makefile.am: Add them. * src/tgbatest/powerset.cc: New file. * src/tgbatest/Makefile.am: Construct powerset and expldot from powerset.cc. Alexandre Duret-Lutz 2004-01-05 17:29:36 +00:00
  • 791c389080 * src/tgbaalgos/reachiter.cc (tgba_reachable_iterator::run) Reuse s->second to avoid a hash lookup. * src/tgbaalgos/save.cc (save_bfs::process_state): Delete dest. Alexandre Duret-Lutz 2004-01-05 17:27:39 +00:00
  • 95f6f2a639 * src/tgbaalgos/reachiter.cc (tgba_reachable_iterator::run) Reuse s->second to avoid a hash lookup. * src/tgbaalgos/save.cc (save_bfs::process_state): Delete dest. Alexandre Duret-Lutz 2004-01-05 16:36:23 +00:00
  • 5a5459f8be * src/ltlparse/Makefile.am ($(FROM_LTLPARSE_YY_MAIN)): Use $(FROM_LTLPARSE_YY_MAIN), not $@, because $@ can contains VPATH and we do not want Bison to see absolute paths. * src/tgbaparse/Makefile.am ($(FROM_TGBAPARSE_YY_MAIN)): Likewise. Alexandre Duret-Lutz 2004-01-05 15:24:18 +00:00
  • a87c9d3d33 * src/ltltest/parseerr.test: Adjust. * src/ltlparse/ltlparse.yy: Simplify error handling now that Bison will call destructors. Give each operator a full name, so that Bison uses it in error messages. Alexandre Duret-Lutz 2004-01-05 12:17:38 +00:00
  • 03704d635e * iface/gspn/ltleesrg.cc: New file. * iface/gspn/Makefile.am (check_PROGRAMS): Add ltleesrg. (ltleesrg_LDADD, ltleesrg_SOURCES): New variables. Alexandre Duret-Lutz 2003-12-30 16:08:18 +00:00
  • e8a0fbc9a7 * src/ltltest/defs.in (run): Reun valgrind with --leak-check=yes. * src/ltlparse/ltlparse.yy: Add `%destructor's. Alexandre Duret-Lutz 2003-12-30 12:56:05 +00:00
  • 6f88e518a9 * src/ltltest/defs.in (run): New function, run valgrind. * src/ltltest/equals.test, src/ltltest/lunabbrev.test, src/ltltest/nenoform.test, src/ltltest/parse.test, src/ltltest/parseerr.test, src/ltltest/tostring.test, src/ltltest/tunabbrev.test, src/ltltest/tunenoform.test: Use run(). * Makefile.am (EXTRA_DIST): Don't list the m4/*.m4 files, Automake 1.8 find them automatically. * configure.ac: Require Automake 1.8, in gnits mode, and check for valgrind. * THANKS: New empty file. Alexandre Duret-Lutz 2003-12-29 17:30:51 +00:00
  • c2892a8275 * doc/Doxyfile.in: Upgrade to Doxygen 1.3.5. Build documentation for iface/. * dox/mainpage.dox: Fix reference to ltl_to_tgba. * src/ltlenv/environment.hh: Typo. Alexandre Duret-Lutz 2003-12-29 12:14:04 +00:00
  • 1b0fe66393 * doc/texinfo.tex: New upstream version. Alexandre Duret-Lutz 2003-12-29 10:57:51 +00:00
  • d07c66944e * src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh (tgba_explicit::merge_transitions): New method. * src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Factorize all variables (not just Next and A) when computing prime implicants, and then call merge_transitions(). Alexandre Duret-Lutz 2003-12-03 13:29:11 +00:00
  • 9b0ab316c2 * configure.ac: Bump version to 0.0m. Alexandre Duret-Lutz 2003-12-01 11:57:01 +00:00
  • 0033466598 * configure.ac, NEWS: Bump version to 0.0l. * doc/Makefile.am ($(srcdir)/spotref.pdf): Do not assume spot.latex is in the srcdir. Alexandre Duret-Lutz 2003-12-01 11:48:58 +00:00
  • 1811786597 * src/tgbaparse/tgbaparse.yy (cond_list): Simplify into... (condition): ... this. We now accept only one condition, which is a formula. * src/tgba/tgbaexplicit.hh (tgba_explicit::add_neg_condition, tgba_explicit::get_condition): Remove, unused. * src/tgba/tgbaexplicit.cc: Likewise. Alexandre Duret-Lutz 2003-11-28 16:57:55 +00:00
  • e341cc9ab6 * iface/gspn/eesrg.cc, iface/gspn/eesrg.hh, iface/gspn/gspn.cc, iface/gspn/gspn.hh, src/tgba/bdddict.cc, src/tgba/bdddict.hh, src/tgba/bddprint.hh, src/tgba/succiter.hh, src/tgba/succiterconcrete.cc, src/tgba/succiterconcrete.hh, src/tgba/tgba.hh, src/tgba/tgbabddconcrete.cc, src/tgba/tgbabddconcrete.hh, src/tgba/tgbabddconcretefactory.cc, src/tgba/tgbabddconcretefactory.hh, src/tgba/tgbabddcoredata.cc, src/tgba/tgbabddcoredata.hh, src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh, src/tgba/tgbaproduct.cc, src/tgba/tgbaproduct.hh, src/tgba/tgbatba.cc, src/tgba/tgbatba.hh, src/tgbaalgos/dotty.cc, src/tgbaalgos/dupexp.cc, src/tgbaalgos/emptinesscheck.cc, src/tgbaalgos/emptinesscheck.hh, src/tgbaalgos/lbtt.cc, src/tgbaalgos/lbtt.hh, src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_lacim.cc, src/tgbaalgos/save.cc, src/tgbatest/explicit.cc, src/tgbatest/ltl2tgba.cc, src/tgbaparse/tgbaparse.yy, wrap/python/tests/ltl2tgba.py: Rewrite accepting condition' as acceptance condition'. The symbols which have been renamed are: tgba::all_accepting_conditions tgba::neg_accepting_conditions succ_iterator::current_accepting_conditions bdd_dict::register_accepting_variable bdd_dict::register_accepting_variables bdd_dict::is_registered_accepting_variable tgba_bdd_concrete_factory::declare_accepting_condition tgba_bdd_core_data::accepting_conditions tgba_bdd_core_data::all_accepting_conditions tgba_explicit::declare_accepting_condition tgba_explicit::complement_all_accepting_conditions tgba_explicit::has_accepting_condition tgba_explicit::get_accepting_condition tgba_explicit::add_accepting_condition tgba_explicit::all_accepting_conditions tgba_explicit::neg_accepting_conditions state_tba_proxy::acceptance_cond accepting_cond_splitter Alexandre Duret-Lutz 2003-11-28 16:34:42 +00:00
  • 334ae6e757 * src/tgbaalgos/ltl2tgba_fm.cc (ltl_trad_visitor::visit) <G>: Optimize translation of GFy. Alexandre Duret-Lutz 2003-11-26 18:02:51 +00:00
  • 7e81306d45 * src/tgba/bddprint.cc (print_accset_handler, bdd_print_accset): New functions. * src/tgba/bddprint.cc (bdd_print_accset): Declare it. * src/tgbaalgos/dotty.cc (dotty_bfs::process_link): Use it. * src/tgbatest/tgbaread.test, src/tgbatest/explicit.test: Adjust expected output. Alexandre Duret-Lutz 2003-11-26 17:34:09 +00:00
  • 6877f378bd * src/tgbaparse/tgbaparse.yy: Remove a random character. * src/tgba/formula2bdd.cc: Include cassert. Alexandre Duret-Lutz 2003-11-25 14:19:14 +00:00
  • 20289e4e7f Explicit automata can now have arbitrary logic formula on their arcs. ltl2tgba_fm benefits from this and join multiple arcs with the same destination and acceptance conditions. * src/tgba/formula2bdd.cc, src/tgba/formula2bdd.hh: New files. * src/tgba/Makefile.am (tgba_HEADERS, libtgba_la_SOURCES): Add them. * src/tgba/bddprint.cc, src/tgba/bddprint.hh (bdd_pring_formula, bdd_format_formula): New functions. * src/tgba/tgbaexplicit.hh (tgba_explicit::get_condition, tgba_explicit::add_condition, tgba_explicit::add_neg_condition, tgba_explicit::declare_accepting_condition, tgba_explicit::has_accepting_condition, tgba_explicit::get_accepting_condition, tgba_explicit::add_accepting_condition): Take a const formula*. * src/tgba/tgbaexplicit.cc (tgba_explicit::add_condition): Rewrite using formula_to_bdd. * src/tgbaalgos/dotty.cc (dotty_bfs::process_link): Use bdd_print_formula to display conditions. * src/tgbaalgos/save.cc (save_bfs::process_state): Likewise. * src/tgbaalgos/ltl2tgba_fm.cc (translate_dict::bdd_to_formula): New function. (translate_dict::conj_bdd_to_atomic_props): Remove. (ltl_to_tgba_fm): Factor successors on accepting conditions and destinations, not conditions. Use bdd_to_formula to translate the conditions. * src/tgbaparse/tgbaparse.yy: Expect conditions as a formula in a string, call the LTL parser for this. * src/tgbaparse/tgbascan.ll: Process " and \ escapes in strings. * src/tgbatest/emptchke.test, src/tgbatest/explicit.test, src/tgbatest/explpro2.test, src/tgbatest/explpro3.test, src/tgbatest/explprod.test, src/tgbatest/mixprod.test, src/tgbatest/readsave.test, src/tgbatest/tgbaread.test, src/tgbatest/tripprod.test: Adjust to new syntax for explicit automata. Alexandre Duret-Lutz 2003-11-24 18:30:09 +00:00
  • 3126e49b28 * src/misc/minato.hh (minato_isop(bdd,bdd)): New constructor variant. (minato_isop::local_vars::vars): New attribute. (minato_isop::local_vars::local_vars): Add the vars arguments. (minato_isop::todo, minato_isop::cube, minato_isop::ret): Rename as ... (minato_isop::todo_, minato_isop::cube_, minato_isop::ret_): ... these. * src/misc/minato.cc: Adjust to factorize only variables in vars. Alexandre Duret-Lutz 2003-11-24 11:24:34 +00:00
  • e6c113f953 * m4/devel.m4: Fix quoting and simplify default setting of enable_devel. Alexandre Duret-Lutz 2003-11-24 10:48:53 +00:00
  • ea8a5782e2 * AUTHORS: New file. * configure.ac (AM_INIT_AUTOMAKE): Remove `foreign' option. Alexandre Duret-Lutz 2003-11-21 16:23:27 +00:00
  • 43a91a152a * COPYING: New file. * Makefile.am, configure.ac, doc/Makefile.am, iface/Makefile.am, iface/gspn/Makefile.am, iface/gspn/common.cc, iface/gspn/common.hh, iface/gspn/dottyeesrg.cc, iface/gspn/dottygspn.cc, iface/gspn/eesrg.cc, iface/gspn/eesrg.hh, iface/gspn/gspn.cc, iface/gspn/gspn.hh, iface/gspn/ltlgspn.cc, src/Makefile.am, src/ltlast/Makefile.am, src/ltlast/allnodes.hh, src/ltlast/atomic_prop.cc, src/ltlast/atomic_prop.hh, src/ltlast/binop.cc, src/ltlast/binop.hh, src/ltlast/constant.cc, src/ltlast/constant.hh, src/ltlast/formula.cc, src/ltlast/formula.hh, src/ltlast/multop.cc, src/ltlast/multop.hh, src/ltlast/predecl.hh, src/ltlast/refformula.cc, src/ltlast/refformula.hh, src/ltlast/unop.cc, src/ltlast/unop.hh, src/ltlast/visitor.hh, src/ltlenv/Makefile.am, src/ltlenv/defaultenv.cc, src/ltlenv/defaultenv.hh, src/ltlenv/environment.hh, src/ltlparse/Makefile.am, src/ltlparse/fmterror.cc, src/ltlparse/ltlparse.yy, src/ltlparse/ltlscan.ll, src/ltlparse/parsedecl.hh, src/ltlparse/public.hh, src/ltltest/Makefile.am, src/ltltest/defs.in, src/ltltest/equals.cc, src/ltltest/equals.test, src/ltltest/lunabbrev.test, src/ltltest/nenoform.test, src/ltltest/parse.test, src/ltltest/parseerr.test, src/ltltest/readltl.cc, src/ltltest/tostring.cc, src/ltltest/tostring.test, src/ltltest/tunabbrev.test, src/ltltest/tunenoform.test, src/ltlvisit/Makefile.am, src/ltlvisit/clone.cc, src/ltlvisit/clone.hh, src/ltlvisit/destroy.cc, src/ltlvisit/destroy.hh, src/ltlvisit/dotty.cc, src/ltlvisit/dotty.hh, src/ltlvisit/dump.cc, src/ltlvisit/dump.hh, src/ltlvisit/lunabbrev.cc, src/ltlvisit/lunabbrev.hh, src/ltlvisit/nenoform.cc, src/ltlvisit/nenoform.hh, src/ltlvisit/postfix.cc, src/ltlvisit/postfix.hh, src/ltlvisit/tostring.cc, src/ltlvisit/tostring.hh, src/ltlvisit/tunabbrev.cc, src/ltlvisit/tunabbrev.hh, src/misc/Makefile.am, src/misc/bddalloc.cc, src/misc/bddalloc.hh, src/misc/bddlt.hh, src/misc/hash.hh, src/misc/minato.cc, src/misc/minato.hh, src/misc/version.cc, src/misc/version.hh, src/tgba/Makefile.am, src/tgba/bdddict.cc, src/tgba/bdddict.hh, src/tgba/bddprint.cc, src/tgba/bddprint.hh, src/tgba/public.hh, src/tgba/state.hh, src/tgba/statebdd.cc, src/tgba/statebdd.hh, src/tgba/succiter.hh, src/tgba/succiterconcrete.cc, src/tgba/succiterconcrete.hh, src/tgba/tgba.cc, src/tgba/tgba.hh, src/tgba/tgbabddconcrete.cc, src/tgba/tgbabddconcrete.hh, src/tgba/tgbabddconcretefactory.cc, src/tgba/tgbabddconcretefactory.hh, src/tgba/tgbabddconcreteproduct.cc, src/tgba/tgbabddconcreteproduct.hh, src/tgba/tgbabddcoredata.cc, src/tgba/tgbabddcoredata.hh, src/tgba/tgbabddfactory.hh, src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh, src/tgba/tgbaproduct.cc, src/tgba/tgbaproduct.hh, src/tgba/tgbatba.cc, src/tgba/tgbatba.hh, src/tgbaalgos/Makefile.am, src/tgbaalgos/dotty.cc, src/tgbaalgos/dotty.hh, src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh, src/tgbaalgos/emptinesscheck.cc, src/tgbaalgos/emptinesscheck.hh, src/tgbaalgos/lbtt.cc, src/tgbaalgos/lbtt.hh, src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_fm.hh, src/tgbaalgos/ltl2tgba_lacim.cc, src/tgbaalgos/ltl2tgba_lacim.hh, src/tgbaalgos/magic.cc, src/tgbaalgos/magic.hh, src/tgbaalgos/reachiter.cc, src/tgbaalgos/reachiter.hh, src/tgbaalgos/save.cc, src/tgbaalgos/save.hh, src/tgbaparse/Makefile.am, src/tgbaparse/fmterror.cc, src/tgbaparse/parsedecl.hh, src/tgbaparse/public.hh, src/tgbaparse/tgbaparse.yy, src/tgbaparse/tgbascan.ll, src/tgbatest/Makefile.am, src/tgbatest/bddprod.test, src/tgbatest/defs.in, src/tgbatest/dupexp.test, src/tgbatest/emptchk.test, src/tgbatest/emptchke.test, src/tgbatest/explicit.test, src/tgbatest/explpro2.test, src/tgbatest/explpro3.test, src/tgbatest/explprod.test, src/tgbatest/ltl2tgba.test, src/tgbatest/ltlprod.test, src/tgbatest/mixprod.test, src/tgbatest/readsave.test, src/tgbatest/spotlbtt.test, src/tgbatest/tgbaread.test, src/tgbatest/tripprod.test, wrap/Makefile.am, wrap/python/Makefile.am, wrap/python/buddy.i, wrap/python/spot.i, wrap/python/cgi/Makefile.am, wrap/python/cgi/ltl2tgba.in, wrap/python/tests/Makefile.am, wrap/python/tests/bddnqueen.py, wrap/python/tests/interdep.py, wrap/python/tests/ltl2tgba.py, wrap/python/tests/ltl2tgba.test, wrap/python/tests/ltlparse.py, wrap/python/tests/ltlsimple.py, wrap/python/tests/run.in: Add Copyright license. Alexandre Duret-Lutz 2003-11-21 15:54:25 +00:00
  • 8ba331bbd0 * src/misc/minato.cc: Include cassert. Alexandre Duret-Lutz 2003-11-21 11:50:15 +00:00
  • c317154df4 * src/misc/minato.cc, src/misc/minato.hh: New files. * src/misc/Makefile.am (misc_HEADERS, libmisc_la_SOURCES): Add them. * src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Use minato_isop. Alexandre Duret-Lutz 2003-11-21 10:58:44 +00:00
  • 982c5efc6c * src/ltltest/Makefile.am (AM_CXXFLAGS): New variable. * tgba/bdddict.hh (bdd_dict::register_propositions, bdd_dict::register_accepting_variables): New methods. * src/bdddict.cc: Likewise. * tgba/tgbaexplicit.cc (tgba_explicit::add_conditions, tgba_explicit::add_accepting_conditions): New methods. (tgba_explicit::get_init_state): Add an "empty" initial state to empty automata. * tgba/tgbaexplicit.hh: (tgba_explicit::add_conditions, tgba_explicit::add_accepting_conditions): New methods. * tgbaalgos/Makefiles.am (tgbaalgos_HEADERS, libtgbaalgos_la_SOURCES): Add dupexp.hh and dupexp.cc. * tgbaalgos/dupexp.hh, tgbaalgos/dupexp.cc: New files. * tgbatest/Makefile.am (AM_CXXFLAGS): New variable. (check_SCRIPTS): Add dupexp.test. (CLEANFILES): Add output1 and output2. * tgbatest/dupexp.test: New file. * tgbatest/ltl2tgba.cc: Handle -s and -S. * tgbatest/tgbaread.cc: Remove unused variable exit_code. Alexandre Duret-Lutz 2003-11-14 16:44:12 +00:00
  • 51ff9f8dda * examples/Makefile.def (AM_CPPFLAGS): Add -I$(srcdir). Alexandre Duret-Lutz 2003-11-14 12:26:13 +00:00
  • 1b222106ab * src/ltlparse/ltlscan.ll: Include ltlparse/parsedecl.hh, not parsedecl.hh. * src/tgbaparse/tgbascan.ll: Likewise, include tgbaparse/parsedecl.hh. Alexandre Duret-Lutz 2003-11-14 11:10:51 +00:00
  • f83a21cf94 * src/tgbaalgos/emptinesscheck.cc (emptiness_check::complete_cycle): Check whether the state is in the current SCC before passing it to h_filt(). Alexandre Duret-Lutz 2003-11-13 17:17:40 +00:00
  • 10b2511dda * iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::first_): New attribute. (tgba_succ_iterator_gspn_eesrg::step): Use first_. Loop until succ returns some successors. Report from Soheib Baarir. Alexandre Duret-Lutz 2003-11-07 10:19:18 +00:00
  • f31caafb50 * iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step): Fix the iteration logic. (tgba_succ_iterator_gspn_eesrg::tgba_succ_iterator_gspn_eesrg): Make sure not to free successors_ twice. (tgba_succ_iterator_gspn_eesrg::done): Fix definition. Alexandre Duret-Lutz 2003-11-06 17:50:35 +00:00
  • f7851c17c0 * iface/gspn/eesrg.cc (tgba_gspn_eesrg::get_init_state): Do not call get_init_state(), use 0 instead. (tgba_gspn_eesrg::format_state): Handle the case where s->left() == 0. Reported by Soheib Baarir. Alexandre Duret-Lutz 2003-11-06 10:16:09 +00:00
  • bc05ceb6b4 * src/ltlparse/ltlscan.ll: Cosmetics. Alexandre Duret-Lutz 2003-11-06 10:07:01 +00:00
  • 21723da118 * configure.ac: Bump version to 0.0k. Alexandre Duret-Lutz 2003-11-06 10:06:50 +00:00
  • bff5f4ee67 * iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step): Really Skip unknown variables. Alexandre Duret-Lutz 2003-11-03 13:04:22 +00:00
  • 1a94645802 * configure.ac, NEWS: Bump version to 0.0j. Alexandre Duret-Lutz 2003-11-03 12:05:24 +00:00
  • b751f00d37 * iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step): Skip unknown variables. Alexandre Duret-Lutz 2003-11-03 11:02:20 +00:00
  • e394b8e9f6 * iface/gspn/gspn.cc (tgba_gspn_eesrg_private_::tgba_gspn_eesrg_private_): Show prop_index() and prop_kind() arguments on error. Alexandre Duret-Lutz 2003-11-03 10:58:48 +00:00
  • c03626564a * iface/gspn/eesrg.cc (tgba_gspn_eesrg_private_::tgba_gspn_eesrg_private_): Show prop_index() argument on error. Alexandre Duret-Lutz 2003-11-03 10:56:21 +00:00
  • 747a4439ef * src/ltlparse/Makefile.am ($(FROM_LTLPARSE_YY_MAIN)): cd into $(srcdir) before running bison, so that bison does not put absolute filenames in generated files. * src/tgbaparse/Makefile.am ($(FROM_TGBAPARSE_YY_MAIN)): Likewise. Reported by Soheib Baarir. Alexandre Duret-Lutz 2003-11-03 10:49:35 +00:00
  • c9884c3b8a * iface/gspn/Makefile.am (gspn_HEADERS): Add eesrg.hh. Reported by Soheib Baarir. Alexandre Duret-Lutz 2003-11-03 10:21:07 +00:00
  • 4bffe7bfc7 * README: More build instructions. * HACKING: Update. Alexandre Duret-Lutz 2003-10-31 08:33:53 +00:00
  • 21644874b1 * doc/Makefile.am ($(srcdir)/spotref.pdf): Make sure to work in $(srcdir). Alexandre Duret-Lutz 2003-10-31 07:31:25 +00:00
  • 65bfea0c8d * m4/gspnlib.m4: Define LIBGSPNESRG_LDFLAGS. * iface/gspn/Makefile.am (gspn_HEADERS): Add common.hh. (libspotgspn_la_SOURCES): Add common.cc. (libspotgspneesrg_la_LIBADD, libspotgspneesrg_la_CPPFLAGS) (libspotgspneesrg_la_SOURCES, ltlgspn_eesrg_SOURCES) (dotty_eesrg_LDADD, dotty_eesrg_CPPFLAGS): New variables. (lib_LTLIBRARIES): Add libspotgspneesrg.la. (check_PROGRAMS): Add dottygspn-eesrg. * iface/gspn/gspn.hh, iface/gspn/gspn.cc (gspn_exeption, operator<<(gspn_exeption), gspn_environment): Move ... * iface/gspn/common.hh, iface/gspn/common.cc: ... in these new files. * iface/gspn/eesrg.hh, iface/gspn/eesrg.cc, iface/gspn/dottyeesrg.cc: New files. Alexandre Duret-Lutz 2003-10-30 15:53:33 +00:00
  • 66f05a2621 * src/tgbaalgos/emptinesscheck.cc (emptiness_check::complete_cycle): Simplify, comment, and free memory. Alexandre Duret-Lutz 2003-10-28 16:05:56 +00:00
  • 89fddaaa81 * src/tgbaalgos/emptinesscheck.cc (triplet): New class. (emptiness_check::accepting_path): Simplify, comment, derecursive, and free memory... Alexandre Duret-Lutz 2003-10-28 13:56:28 +00:00
  • 20ca78a9b4 * src/tgbaalgos/emptinesscheck.cc (connected_component): Split into ... (emptiness_check::connected_component, emptiness_check::connected_component_set): ... these. * src/tgbaalgos/emptinesscheck.cc: Adjust. Alexandre Duret-Lutz 2003-10-27 11:47:37 +00:00
  • dd720e9785 * src/tgbaalgos/emptinesscheck.cc (emptiness_check::h_filt, emptiness_check::~emptiness_check) New methods. (emptiness_check::check): Release all iterators in todo on exit. (emptiness_check::counter_example): Rewrite the BFS logic. * src/tgbaalgos/emptinesscheck.hh (emptiness_check::h_filt, emptiness_check::~emptiness_check): New methods. Alexandre Duret-Lutz 2003-10-27 10:51:53 +00:00
  • 0ae540ac2a * src/tgba/tgbatba.cc (tgba_tba_proxy_succ_iterator::~tgba_tba_proxy_succ_iterator): Delete the proxied iterator. Alexandre Duret-Lutz 2003-10-27 10:23:04 +00:00
  • 23ed880bc8 * src/tgbaalgos/emptinesscheck.cc (emptiness_check::counter_example): Remove unused tmp_last, best_lst, and tmp_acc variables. Alexandre Duret-Lutz 2003-10-27 08:58:18 +00:00
  • feaae8e254 * src/tgbaalgos/emptinesscheck.cc (emptiness_check::counter_example): Rewrite initialization. Alexandre Duret-Lutz 2003-10-24 15:55:20 +00:00
  • f54c78a912 * src/tgbaalgos/emptinesscheck.cc (emptiness_check::print_result): Fix memory leak. Alexandre Duret-Lutz 2003-10-24 13:57:55 +00:00
  • e94415c6e6 * src/tgbaalgos/emptinesscheck.cc (emptiness_check::check): Simplify, reorganize, and comment. * src/tgbaalgos/emptinesscheck.hh (emptiness_check::root_component): Rename as ... (emptiness_check::root): ... this, to follow the paper. Alexandre Duret-Lutz 2003-10-24 13:50:05 +00:00
  • 26f15224fc * src/tgbaalgos/emptinesscheck.cc: Remove some superfluous `emptiness_check::'. Alexandre Duret-Lutz 2003-10-24 09:41:52 +00:00
  • 549c31605d * src/tgbaalgos/emptinesscheck.cc (emptiness_check::remove_component): Rewrite. Alexandre Duret-Lutz 2003-10-24 09:32:24 +00:00
  • 071cb5d62c * src/tgbaalgos/emptinesscheck.cc (emptiness_check::check, emptiness_check::counter_example): Simplify access to hashes after calls to find() for the same element.. Alexandre Duret-Lutz 2003-10-23 16:05:51 +00:00
  • fb4873d92e * src/tgbaalgos/emptinesscheck.hh (connected_component::set_of_state): Rename as ... (connected_component::set_type): ... this, and define as a hash_set. (connected_component::has_state): New method. * src/tgbaalgos/emptinesscheck.cc (connected_component::has_state): New method. (emptiness_check::counter_example, emptiness_check::complete_cycle, emptiness_check::accepting_path): Simplify using has_state(). Alexandre Duret-Lutz 2003-10-23 15:49:29 +00:00
  • f0dd415f2f * src/tgbaalgos/emptinesscheck.hh (emptiness_check::seen_state_num): Rename as ... (emptiness_check::h): ... this, and define as a hash_map. (emptiness_check::remove_component): Remove superfluous state_map argument. * src/tgbaalgos/emptinesscheck.cc: Adjust. Alexandre Duret-Lutz 2003-10-23 15:06:57 +00:00
  • dfdefdf672 * src/tgbaalgos/emptinesscheck.hh, src/tgbaalgos/emptinesscheck.cc: Remove superfluous includes. Alexandre Duret-Lutz 2003-10-23 14:40:05 +00:00
  • 90099e47a6 * src/tgbaalgos/emptinesscheck.hh (emptiness_check::emptiness_check): New, take the automaton to work on, and store it ... (emptiness_check::aut_): ... in this new attribute. (emptiness_check::tgba_emptiness_check): Rename as ... (emptiness_check::check): ... this, and remove the automata argument. (emptiness_check::counter_example, emptiness_check::print_result, emptiness_check::remove_component, emptiness_check::accepting_path, emptiness_check::complete_cycle): Remove the automata argument. * src/tgbaalgos/emptinesscheck.cc, src/tgbatest/ltl2tgba.cc, iface/gspn/ltlgspn.cc: Adjust. Alexandre Duret-Lutz 2003-10-23 14:17:02 +00:00
  • b60722bc58 * src/tgbaalgos/emptinesscheck.hh (connected_component::not_null, connected_component::transition_acc, connected_component::nb_transition, connected_component::nb_state): Remove these unused attributes. (connected_component::connected_component): Merge the two definitions into one. (connected_component::~connected_component): Remove. (connected_component::isAccepted): Delete, unused. * src/tgbaalgos/emptinesscheck.cc (connected_component::connected_component, connected_component::~connected_component): Adjust. (connected_component::isAccepted): Delete. (spot): Alexandre Duret-Lutz 2003-10-23 13:50:15 +00:00
  • 636f5238d3 * src/tgbaalgos/emptinesscheck.hh (emptiness_check::remove_component, emptiness_check::root_component, emptiness_check::seen_state_num, emptiness_check::suffix): Move in private part. (emptiness_check::arc_accepting, emptiness_check::todo): Move ... * src/tgbaalgos/emptinesscheck.cc (emptiness_check::tgba_emptiness_check): ... as local variables of this function. * src/tgbaalgos/emptinesscheck.hh (emptiness_check::vec_component): Move ... (emptiness_check::counter_example): ... as local variable of this function. * src/tgbaalgos/emptinesscheck.hh (pair_state_iter, triplet): Move ... * src/tgbaalgos/emptinesscheck.cc (pair_state_iter, triplet): ... here. Alexandre Duret-Lutz 2003-10-23 13:05:35 +00:00
  • fda83b9c51 * src/tgbaalgos/emptinesscheck.hh (emptiness_check::remove_component, emptiness_check::root_component, emptiness_check::seen_state_num, emptiness_check::suffix): Move in private part. (emptiness_check::arc_accepting, emptiness_check::todo): Move ... * src/tgbaalgos/emptinesscheck.cc (emptiness_check::tgba_emptiness_check): ... as local variables of this function. * src/tgbaalgos/emptinesscheck.hh (emptiness_check::vec_component): Move ... (emptiness_check::counter_example): ... as local variable of this function. * src/tgbaalgos/emptinesscheck.hh (pair_state_iter, triplet): Move ... * src/tgbaalgos/emptinesscheck.cc (pair_state_iter, triplet): ... here. Alexandre Duret-Lutz 2003-10-23 13:05:35 +00:00
  • 008056f279 * src/tgbaalgos/emptinesscheck.cc (emptiness_check::print_result): Indent output as in the magic search. Alexandre Duret-Lutz 2003-10-23 12:16:04 +00:00
  • 46756c9589 * src/tgbatest/spotlbtt.test: Add notice about long run time. Alexandre Duret-Lutz 2003-10-23 12:09:34 +00:00
  • d46c63a21b Merge emptinesscheckexplicit into ltl2tgba. * src/tgbatest/Makefile.am (check_PROGRAMS): Remove emptinesscheckexplicit. (emptinesscheckexplicit_SOURCES): Remove. (TESTS): Replace emptinesscheckexplicit.test by emptchke.test. * src/tgbatest/emptinesscheckexplicit.cc, src/tgbatest/emptinesscheckexplicit.test: Delete. * src/tgbatest/empchke.test: New file. * src/tgbatest/ltl2tgba.cc: Add support for -X. Alexandre Duret-Lutz 2003-10-23 11:58:11 +00:00
  • 65f84e2c61 Merge emptiness-checks tests into ltl2tgba. * src/tgbatest/Makefile (check_PRORGRAMS): Remove emptinesscheck and ltlmagic. (emptinesscheck_SOURCES, ltlmagic_SOURCES): Remove. (TESTS): Replace emptinesscheck.test and ltlmagic.test by emptchk.test. * src/tgbatest/emptinesscheck.test, src/tgbatest/ltlmagic.test: Delete. * src/tgbatest/emptchk.test: New file. * src/tgbatest/emptinesscheck.cc, src/tgbatest/ltlmagic.cc: Delete. * src/tgbatest/ltl2tgba.cc: Add support for -e, -E, -m, -M, and -n. Alexandre Duret-Lutz 2003-10-23 11:37:07 +00:00
  • a11a29a1f7 * src/tgbaalgos/emptinesscheck.cc (emptiness_check::tgba_emptiness_check): Do not print anything. (emptiness_check::counter_example): Assume that tgba_emptiness_check has already been called. Alexandre Duret-Lutz 2003-10-23 09:40:55 +00:00
  • 93c0732f0e * src/tgbaalgos/emptinesscheck.hh, src/tgbaalgos/emptinesscheck.cc (emptiness_check::seq_counter, emptiness_check::periode): Rename as ... (emptiness_check::prefix, emptiness_check::period): ... these. Alexandre Duret-Lutz 2003-10-22 15:25:05 +00:00
  • 3784895ec7 * src/tgbaalgos/emptinesscheck.cc (emptiness_check::tgba_emptiness_check, emptiness_check::accepting_path): Simplify BDD operations. Alexandre Duret-Lutz 2003-10-22 14:50:10 +00:00
  • 558642fe9c * src/tgbaalgos/emptinesscheck.cc, src/tgbaalgos/emptinesscheck.hh: Reindent. (emptiness_check::~emptiness_check, emptiness_check::emptiness_check): Remove, unused. Alexandre Duret-Lutz 2003-10-22 14:33:12 +00:00
  • 22a53800d9 * iface/gspn/ltlgspn.cc (main): Allow invocations with only one atomic proposition. Alexandre Duret-Lutz 2003-10-15 09:51:01 +00:00
  • fec0d60886 * src/misc/bddalloc.cc (bdd_allocator::initialize): Augment bdd_init()'s arguments. Alexandre Duret-Lutz 2003-10-14 08:49:31 +00:00
  • c7bbe60f4c * iface/gspn/ltlgspn.cc: Use command-line options to select algorithms, not #defines. * iface/gspn/Makefile.am (check_PROGRAMS): Remove eltlgspn-srg, efmgspn-srg, fmgspn-rg, and fmgspn-srg and their associated source variables. These are all replaced by ltlgspn-rg and ltlgspn-srg. * iface/gspn/dcswavefm.test, iface/gspn/dcswaveltl.test, iface/gspn/dcswaveeltl.test, iface/gspn/udcsefm.test, iface/gspn/udcseltl.test, iface/gspn/udcsfm.test, iface/gspn/udcsltl.test: Adjust calls to ltlgspn-srg. Alexandre Duret-Lutz 2003-10-08 17:27:20 +00:00
  • b64c41abcf * iface/gspn/Makefile.am (XFAIL_TESTS): Remove. Alexandre Duret-Lutz 2003-10-08 15:20:38 +00:00
  • 6920a1c30f * iface/gspn/ltlgspn.cc: We call tgba_emptiness_check before counter_example. And we print the prefix and the periode of counter_example's result. rebiha 2003-10-07 12:13:30 +00:00
  • 9828bf9800 * iface/gspn/udcsfm.test, iface/gspn/udcsefm.test: New files. * iface/gspn/Makefile.am (TESTS) Add them. (check_PROGRAMS): Add emgspn-srg. (efmgspn_srg_SOURCES, efmgspn_srg_LDADD, efmgspn_srg_CPPFLAGS): New variables. * iface/gspn/udcsltl.test, iface/gspn/udcseltl.test: Complete. Alexandre Duret-Lutz 2003-10-02 16:55:06 +00:00
  • d06e09b951 * src/ltlparse/ltlscan.ll: Allow doubly quoted atomic propositions. Alexandre Duret-Lutz 2003-10-02 15:58:57 +00:00
  • 694ce34bc5 * iface/gspn/udcsltl.test, iface/gspn/udcseltl.test, iface/gspn/dcswaveltl.test, iface/gspn/dcswaveeltl.test, iface/gspn/dcswavefm.test: Do not accept $? = 0 when a failure is expected. Alexandre Duret-Lutz 2003-10-01 16:55:22 +00:00
  • cc0efd8904 * iface/gspn/udcsltl.test, iface/gspn/udcseltl.test: New files * iface/gspn/Makefile.am (TESTS): Add them. (XFAIL_TESTS): Add udcseltl.test. * iface/gspn/example/udcs/udcs.net, iface/gspn/example/udcs/udcs.def iface/gspn/example/udcs/udcs.tobs: New files. * iface/gspn/Makefile.am (EXTRA_DIST): Add them. Alexandre Duret-Lutz 2003-10-01 14:49:33 +00:00
  • 9b2d0ec258 * iface/gspn/Makefile.am (check_PROGRAMS): Add eltlgspn-srg. (eltlgspn_srg_SOURCES, eltlgspn_srg_LDADD, eltlgspn_srg_CPPFLAGS): New variables. (TESTS): Add dcswaveeltl.test. * iface/gspn/dcswaveeltl.test: New file. * iface/gspn/ltlgspn.cc [CEC]: Use emptiness_check. Alexandre Duret-Lutz 2003-10-01 14:34:14 +00:00
  • e5641f5b69 * m4/debug.m4, m4/devel.m4, m4/gccoptim.m4, m4/ndebug.m4: New files. * Makefile.am (EXTRA_DIST): Add them. * configure.ac: Call adl_ENABLE_DEVEL, adl_ENABLE_DEBUG, ad_GCC_OPTIM, and adl_NDEBUG. Alexandre Duret-Lutz 2003-10-01 11:44:57 +00:00
  • 2e97e6447b * src/tgba/state.hh (state_ptr_less_than, state_ptr_equal): Declare as std::binary_function. (state_ptr_hash): Declare as std::unary_function. * src/tgbaalgos/lbtt.cc (state_acc_pair_equal, state_acc_pair_hash): Likewise. * src/misc/bddlt.hh (bdd_less_than): Likewise. * src/misc/hash.hh (ptr_hash, string_hash): Likewise. Alexandre Duret-Lutz 2003-09-30 16:02:34 +00:00
  • 7f3c113130 * src/tgbatest/emptinesscheckexplicit.test (acc): New file. rebiha 2003-09-25 15:12:44 +00:00
  • 83565fb659 * src/tgbaalgos/ltl2tgba.cc, src/tgbaalgos/ltl2tgba.hh: Rename as ... * src/tgbaalgos/ltl2tgba_lacim.cc, src/tgbaalgos/ltl2tgba_lacim.hh: ... this, and rename ltl_to_tgba() as ltl_to_tgba_lacim as well. * iface/gspn/ltlgspn.cc, src/tgbatest/explprod.cc, src/tgbatest/ltl2tgba.cc, src/tgbatest/ltlmagic.cc, src/tgbatest/ltlprod.cc, src/tgbatest/mixprod.cc, src/tgbatest/tripprod.cc, wrap/python/spot.i, wrap/python/cgi/ltl2tgba.in, wrap/python/tests/interdep.py, wrap/python/tests/ltl2tgba.py: Adjust. Alexandre Duret-Lutz 2003-09-22 15:54:34 +00:00
  • 5439b2f4ee * src/tgba/state.hh: Include cassert. Alexandre Duret-Lutz 2003-09-10 22:45:45 +00:00
  • f0de38680a * src/tgba/state.hh (state::hash): New method. (state_ptr_equal, state_ptr_hash): New functors. * src/tgba/statebdd.hh, src/tgba/statebdd.cc (state_bdd::hash): New method. * src/tgba/tgbaexplicit.hh, src/tgba/tgbaexplicit.cc (state_explicit::hash): New method. (ns_map, sn_map): Use Sgi::hash_map instead of std::map. * src/tgba/tgbaproduct.hh, src/tgba/tgbaproduct.cc (state_product::hash): New method. * src/tgba/tgbatba.cc (state_tba_proxy::hash): New method. * src/tgbaalgos/lbtt.cc (acp_seen, todo_set, seen_map): Redefine using Sgi::hash_map or Sgi::hash_set. (lbtt_reachable): Don't erase a key that is pointed to by an iterator. * src/tgbaalgos/reachiter.cc (tgba_reachable_iterator::~tgba_reachable_iterator): Likewise. * src/tgbaalgos/magic.cc (magic_search::~magic_search()): Likewise. * src/tgbaalgos/magic.hh (hash_type): Redefine using Sgi::hash_map. * src/tgbaalgos/reachiter.hh (seen_map): Redefine using Sgi::hash_map. * iface/gspn/gspn.cc (state_gspn::hash): New method. * src/misc/hash.hh (string_hash): New functor. Alexandre Duret-Lutz 2003-08-29 15:54:31 +00:00
  • 6da1f35641 * src/tgba/tgbaexplicit.cc (tgba_explicit::all_accepting_conditions) Compute all_accepting_conditions_ from neg_accepting_conditions_, not by browsing the dictionary. The dictionary also contains accepting conditions from other automata... This bug was a consequence of the change from 2003-07-14. * src/tgbaalgos/save.cc (save_bfs::start()): Likewise, do not browse the dictionary to print accepting conditions. Call ->all_accepting_conditions() instead. * src/tgba/tgbaproduct.cc (tgba_product::tgba_product): Typo from 2003-08-22 in the computation of all_accepting_conditions_. * src/tgbatest/explpro3.test: New file. * src/tgbatest/Makefile.am (TESTS): Add explpro3.test. * src/tgbatest/explprod.test, src/tgbatest/explpro2.test, src/tgbatest/tripprod.test: Sort the output using Perl. Alexandre Duret-Lutz 2003-08-29 15:48:23 +00:00
  • 1955150999 Rewrite all std::map<const formula*, ...> as Sgi::hash_map<const formula*, ...>. Alexandre Duret-Lutz 2003-08-28 16:59:11 +00:00
  • 51094329d8 * src/tgba/state.hh (state_ptr_less_than): Make sure left is non-null. Suggested by Denis Poitreneaud. Alexandre Duret-Lutz 2003-08-25 19:21:02 +00:00
  • 18a8037a3e * wrap/python/Makefile.am (MAINTAINERCLEANFILES): Add buddy_wrap.cxx and buddy.py. Alexandre Duret-Lutz 2003-08-23 19:49:35 +00:00
  • 39b634641d * src/tgbaalgos/magic.cc (seen_with_magic, seen_without_magic): Remove. Alexandre Duret-Lutz 2003-08-23 14:49:49 +00:00
  • 1ac0b08695 * wrap/python/cgi/ltl2tgba.in: Fix display of relations for tgba_bdd_concrete automata. Alexandre Duret-Lutz 2003-08-22 12:41:36 +00:00
  • 7db71d9afe Fix computation of product acceptance conditions, when the two operands share some acceptance conditions. * src/tgba/tgbaproduct.hh (tgba_product::left_acc_complement_, tgba_product::right_acc_complement_): New attribute. * src/tgba/tgbaproduct.cc (tgba_product::tgba_product): Set them. (tgba_product::succ_iter): Use them. * src/tgba/explpro2.test: New file. * src/tgba/Makefile.am (TESTS): Add it. Alexandre Duret-Lutz 2003-08-22 10:07:02 +00:00
  • 8a44ed08ae * tgba/tgbaproduct.cc, tgba/tgbaproduct.hh: (state_bdd_product, tgba_product_succ_iterator): Rename as ... (state_product, tgba_succ_iterator_product): ... these. Alexandre Duret-Lutz 2003-08-20 10:59:30 +00:00
  • e238135bc1 * iface/gspn/dcswavefm.test: New file. * iface/gspn/Makefile.am (check_PROGRAMS): Add fmgspn-rg and fmgspn-srg. (fmgspn_rg_SOURCES, fmgspn_rg_CPPFLAGS, fmgspn_rg_LDADD, fmgspn_srg_SOURCES, fmgspn_srg_CPPFLAGS, fmgspn_srg_LDADD): New variables. (TESTS): Add dcswavefm.test. Alexandre Duret-Lutz 2003-08-20 09:56:12 +00:00
  • 138ce95cca * src/ltlast/formula.hh: Make it clear that ref() and unref() deals with one node, not a entire formula. Alexandre Duret-Lutz 2003-08-19 14:01:48 +00:00
  • 2113d090bb * configure.ac: Bump version to 0.0i. Alexandre Duret-Lutz 2003-08-18 15:35:38 +00:00