1. 05 Jun, 2009 1 commit
    • Guillaume Sadegh's avatar
      Add an algorithm to complement Büchi automata. · c5f8eafb
      Guillaume Sadegh authored
      	* src/tgba/tgbacomplement.hh, src/tgba/tgbacomplement.cc: New
      	files. The complementation algorithm.
      	* src/tgba/Makefile.am: Adjust.
      	* src/tgbatest/complementation.test,
      	src/tgbatest/complementation.cc: New files. Test suite for the
      	complementation algorithm.
      	* src/tgbatest/Makefile.am: Adjust.
      	* src/tgbaalgos/Makefile.am: Reformat the header using 80
      	columns.
      c5f8eafb
  2. 02 Jun, 2009 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/tgbatest/scc.test: New file. · a2b6bef0
      Alexandre Duret-Lutz authored
      * src/tgbatest/Makefile.am: Adjust.
      * src/tgbaalgos/scc.hh: More documentation.
      * src/tgbaalgos/scc.cc (scc_recurse): Fix computation of
      acc_paths and dead_paths.  Prevent recursions in states that
      have already been visited.
      a2b6bef0
  3. 26 Mar, 2009 1 commit
    • Damien Lefortier's avatar
      Add support for ELTL (AST & parser), and an adaptation of LaCIM · 2fbcd7e5
      Damien Lefortier authored
      for ELTL.  This is a new version of the work started in 2008 with
      LTL and ELTL formulae now sharing the same class hierarchy.
      
      * configure.ac: Adjust for src/eltlparse/ and src/eltltest/
      directories, and call AX_BOOST_BASE.
      * m4/boost.m4: New file defining AX_BOOST_BASE([MINIMUM-VERSION]).
      * src/Makefile.am: Add eltlparse and eltltest.
      * src/eltlparse/: New directory.  Contains the ELTL parser.
      * src/eltltest/: New directory.  Contains tests related to
      ELTL (parser and AST).
      * src/ltlast/Makefile.am: Adjust for ELTL AST files.
      * src/ltlast/automatop.cc, src/ltlast/automatop.hh: New files.
      Represent automaton operators nodes used in ELTL ASTs.
      * src/ltlast/nfa.cc, src/ltlast/nfa.hh: New files.  Represent
      simple NFAs used internally by automatop nodes.
      * src/ltlast/allnode.hh, src/ltlast/predecl.hh,
      src/ltlast/visitor.hh: Adjust for automatop.
      * src/ltlvisit/basicreduce.cc, src/ltlvisit/clone.cc,
      src/ltlvisit/clone.hh, src/ltlvisit/contain.cc,
      src/ltlvisit/dotty.cc, src/ltlvisit/nenoform.cc,
      src/ltlvisit/postfix.cc, src/ltlvisit/postfix.hh,
      src/ltlvisit/reduce.cc, src/ltlvisit/syntimpl.cc,
      src/ltlvisit/tostring.cc: Because LTL and ELTL formulae share the
      same class hierarchy, LTL visitors need to handle automatop nodes
      to compile.  When it's meaningful the visitor applies on automatop
      nodes or simply assert(0) otherwise.
      * src/tgba/tgbabddconcretefactory.cc (create_anonymous_state),
      src/tgba/tgbabddconcretefactory.hh (create_anonymous_state): New
      function used by the LaCIM translation algorithm for ELTL.
      * src/tgbaalgos/Makefile.am: Adjust for eltl2tgba_lacim* files.
      * src/tgbaalgos/eltl2tgba_lacim.cc,
      src/tgbaalgos/eltl2tgba_lacim.hh: New files.  Implementation of
      the LaCIM translation algorithm for ELTL.
      * src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_lacim.cc:
      Handle automatop nodes in the translation by an assert(0).
      * src/tgbatest/Makefile.am: Adjust for eltl2tgba.* files.
      * src/src/tgbatest/eltl2tgba.cc, src/tgbatest/eltl2tgba.test: New
      files
      2fbcd7e5
  4. 25 Mar, 2009 1 commit
  5. 20 Jun, 2008 1 commit
  6. 25 Feb, 2008 1 commit
  7. 15 Apr, 2005 1 commit
    • Alexandre Duret-Lutz's avatar
      * bench/ltl2tgba/Makefile.am, bench/ltl2tgba/README, · a7cf769a
      Alexandre Duret-Lutz authored
      bench/ltl2tgba/algorithms, bench/ltl2tgba/big,
      bench/ltl2tgba/defs.in, bench/ltl2tgba/formulae.ltl,
      bench/ltl2tgba/known, bench/ltl2tgba/parseout.pl,
      bench/ltl2tgba/small: New files.
      * src/tgbatest/ltl2baw.pl: Move ...
      * bench/ltl2tgba/ltl2baw.in: ... here.
      * src/tgbatest/Makefile.am: Adjust.
      * configure.ac: Adjust.
      a7cf769a
  8. 02 Feb, 2005 1 commit
  9. 17 Nov, 2004 2 commits
    • Alexandre Duret-Lutz's avatar
      * src/tgbatest/Makefile.am (EXTRA_DIST): Distribute the files · a1262a30
      Alexandre Duret-Lutz authored
      from tba_samples_from_spin.
      * src/tgbatest/tba_samples_from_spin.test: Get these example files
      from $srcdir, for the sake of VPATH builds.
      (light_run): Remove, not needed.
      a1262a30
    • Denis Poitrenaud's avatar
      * src/tgbaalgos/magic.hh: Fix a comment and remove se05 interface. · 9bea364e
      Denis Poitrenaud authored
      * src/tgbaalgos/magic.cc: Fix a comment.
      * src/tgbaalgos/se05.hh: New file.
      * src/tgbaalgos/se05.cc: Fix a comment.
      * src/tgbaalgos/tau03.hh: New file.
      * src/tgbaalgos/tau03.cc: New file.
      * src/tgbaalgos/Makefile.am: Add it.
      * src/tgbatest/ltl2tgba.cc: Add tau03 new emptiness check.
      * src/tgbatest/randtgba.cc: Add tau03 new emptiness check.
      * src/tgbatest/emptchkr: Fix a comment.
      * src/tgbatest/tba_samples_from_spin/explicit1_1.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_2.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_3.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_4.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_5.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_6.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_7.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_8.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_9.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_1.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_2.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_3.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_4.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_5.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_6.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_7.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_8.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_9.tba: New files
      * src/tgbatest/tba_samples_from_spin.test : New test.
      * src/tgbatest/Makefile.am: Add it.
      9bea364e
  10. 15 Nov, 2004 2 commits
  11. 12 Nov, 2004 1 commit
  12. 09 Nov, 2004 2 commits
  13. 15 Oct, 2004 1 commit
    • Alexandre Duret-Lutz's avatar
      Back out all Thomas's changes on emptiness checks since · ed6db926
      Alexandre Duret-Lutz authored
      2004-08-23.  Some of these will need to be reintegrated more
      slowly and cleanly.
      
      * src/tgbaalgos/Makefile.am, src/tgbaalgos/gtec/ce.cc,
      src/tgbaalgos/gtec/ce.hh, src/tgbatest/Makefile.am,
      src/tgbatest/emptchk.test, src/tgbatest/ltl2tgba.cc: Revert.
      * src/tgbaalgos/colordfs.cc, src/tgbaalgos/colordfs.hh,
      src/tgbaalgos/minimalce.cc, src/tgbaalgos/minimalce.hh,
      src/tgbaalgos/nesteddfs.cc, src/tgbaalgos/nesteddfs.hh,
      src/tgbaalgos/nesteddfsgen.cc, src/tgbaalgos/nesteddfsgen.hh,
      src/tgbaalgos/tarjan_on_fly.cc, src/tgbaalgos/tarjan_on_fly.hh:
      Delete.
      ed6db926
  14. 17 Jun, 2004 1 commit
    • martinez's avatar
      * src/tgbatest/spotlbtt.test: We don't check the post-reduction · c769f747
      martinez authored
      with scc and delayed simulation.
      
      * src/tgbatest/ltl2tgba.cc: Adjust parameters.
      * src/tgbatest/reductgba.cc, src/tgbatest/Makefile.am: More Test.
      * src/tgbaalgos/reductgba_sim_del.cc: Not finish, lot of bugs.
      * src/tgbaalgos/reductgba_sim.hh, src/tgbaalgos/reductgba_sim.cc:
      Remove some useless comments.
      * src/tgba/tgbareduc.cc, src/tgba/tgbareduc.hh: Bug in SCC.
      
      * src/ltlvisit/reducform.cc: Correct some bug for multop.
      * src/ltltest/reduccmp.test: More Test.
      * src/ltltest/reduc.cc: Thinko
      * src/ltltest/equals.cc: Reduction compare
      c769f747
  15. 15 Jun, 2004 1 commit
    • martinez's avatar
      * src/tgbatest/ltl2tgba.cc: Add some option for the reduction of · 8d3606ff
      martinez authored
      automata.
      * src/tgbatest/spotlbtt.test, src/tgbatest/Makefile.am: Add some
      test for reduction of automata.
      * src/tgbaalgos/reductgba_sim_del.cc, src/tgbaalgos/reductgba_sim.cc,
      src/tgbaalgos/reductgba_sim.hh: Compute some simulation relation
      to reduce a tgba.
      * src/tgba/tgbareduc.cc, src/tgba/tgbareduc.hh: A implementation
      of tgba for the reduction.
      * src/tgbaalgos/Makefile.am, src/tgba/Makefile.am:
      Add the reduction of automata.
      * src/ltlvisit/syntimpl.cc, src/ltlvisit/basereduc.cc:
      Lot of mistake are corrected.
      * src/ltlvisit/syntimpl.hh, src/ltlvisit/reducform.cc,
      src/ltlvisit/reducform.hh, src/ltltest/reduc.cc: Adjust.
      * src/ltltest/equals.cc, src/ltltest/reduccmp.test,
      src/ltltest/Makefile.am: Add a test for reduction.
      8d3606ff
  16. 23 Apr, 2004 1 commit
  17. 21 Apr, 2004 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/ltlvisit/tostring.hh (to_spin_string): New function. · 8d8af2e5
      Alexandre Duret-Lutz authored
      Convert a formula into a string parsable by Spin.
      * src/tgbaalgos/neverclaim.hh, src/tgbaalgos/neverclaim.cc: New files.
      Print the never claim in Spin format of a degeneralized TGBA.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbatest/ltl2tgba.cc: Add the option -N which outputs the
      never claim in Spin format of a degeneralized TGBA.
      * src/tgbatest/ltl2neverclaim.test: New file.
      * src/tgbatest/Makefile.am: Add it.
      8d8af2e5
  18. 11 Feb, 2004 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/tgbatest/ltl2tgba.cc (syntax): Recognize "-" as input · 2c10510e
      Alexandre Duret-Lutz authored
      filename for the formula.  Merge the transitions of automata
      read with -X.
      * src/tgbatest/spotlbtt.test: Add many disabled algorithms.
      It is convenient to reuse the `config' file created by this
      test when making statistics.
      * src/tgbatest/ltl2baw.pl: New file.
      * src/tgbatest/Makefile.am (EXTRA_DIST): Add ltl2baw.pl.
      2c10510e
  19. 05 Jan, 2004 1 commit
  20. 21 Nov, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      * COPYING: New file. · 43a91a15
      Alexandre Duret-Lutz authored
      * 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.
      43a91a15
  21. 14 Nov, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/ltltest/Makefile.am (AM_CXXFLAGS): New variable. · 982c5efc
      Alexandre Duret-Lutz authored
      * 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.
      982c5efc
  22. 23 Oct, 2003 2 commits
    • Alexandre Duret-Lutz's avatar
      Merge emptinesscheckexplicit into ltl2tgba. · d46c63a2
      Alexandre Duret-Lutz authored
      * 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.
      d46c63a2
    • Alexandre Duret-Lutz's avatar
      Merge emptiness-checks tests into ltl2tgba. · 65f84e2c
      Alexandre Duret-Lutz authored
      * 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.
      65f84e2c
  23. 25 Sep, 2003 1 commit
    • rebiha's avatar
      * src/tgbatest/emptinesscheckexplicit.test (acc): New file. · 7f3c1131
      rebiha authored
      * src/tgbatest/emptinesscheckexplicit.cc (main): New file.
      
      * src/tgbatest/emptinesscheck.test: New file.
      
      * src/tgbatest/emptinesscheck.cc (main): New file.
      
      * src/tgbaalgos/emptinesscheck.cc (spot): New method.
      
      * src/tgbaalgos/emptinesscheck.hh: New interface.
      7f3c1131
  24. 29 Aug, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/tgba/tgbaexplicit.cc (tgba_explicit::all_accepting_conditions) · 6da1f356
      Alexandre Duret-Lutz authored
      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.
      6da1f356
  25. 22 Aug, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      Fix computation of product acceptance conditions, when the · 7db71d9a
      Alexandre Duret-Lutz authored
      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.
      7db71d9a
  26. 15 Aug, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      This implements Couvreur's FM'99 ltl2tgba translation. · 2b9f1720
      Alexandre Duret-Lutz authored
      * src/tgba/bdddict.cc (bdd_dict::is_registered): Split as ...
      (bdd_dict::is_registered_proposition, bdd_dict::is_registered_state,
      bdd_dict::is_registered_accepting_variable): ... these.
      * src/tgba/bdddict.hh: Likewise.
      * src/tgba/tgbaexplicit.cc (tgba_explicit::set_init_state): New method.
      (tgba_explicit::declare_accepting_condition): Arrange so that this
      function can be called during the construction of the automaton.
      (tgba_explicit::complement_all_accepting_conditions): New method.
      (tgba_explicit::has_accepting_condition): Adjust to call
      bdd_dict::is_registered_accepting_variable.
      * src/tgba/tgbaexplicit.hh (tgba_explicit::set_init_state,
      tgba_explicit::complement_all_accepting_conditions): New methods.
      * src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_fm.hh:
      New files.
      * src/tgbaalgos/Makefile.am (tgbaalgos_HEADERS,
      libtgbaalgos_la_SOURCES): Add them.
      * src/tgbaalgos/ltl2tgba.hh: Add bibtex entry in comment.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Remove spotlbtt
      and tbalbtt.
      (tbalbtt_SOURCES, tbalbtt_CXXFLAGS, spotlbtt_SOURCES): Remove.
      * src/tgbatest/spotlbtt.cc: Delete, superseded by "ltl2tgba -F -t".
      * src/tgbatest/ltl2tgba.cc: Implement the -f and -F options.
      * src/tgbatest/spotlbtt.test: Use "ltl2tgba -F -t" instead of
      "spotlbtt", "ltl2tgba -F -t -D" instead of "tbalbtt", and add
      also check the ltl2tgba_fm translator.
      * wrap/python/spot.i: Wrap ltl2tgba_fm.
      * wrap/python/cgi/ltl2tgba.in: Add radio buttons to select
      between ltl2tgba and ltl2tgba_fm.
      * wrap/python/tests/ltl2tgba.py: Add support for the -f option.
      * wrap/python/tests/ltl2tgba.test: Try the -f option.
      2b9f1720
  27. 29 Jul, 2003 1 commit
  28. 28 Jul, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/tgba/tgbatba.hh, src/tgba/tgbatba.cc · 860d085b
      Alexandre Duret-Lutz authored
      (tgba_tba_proxy::state_is_accepting): New method.
      * src/tgbaalgos/magic.hh, src/tgbaalgos/magic.cc: New files.
      * src/tgbaalgos/Makefile.am (libtgbaalgos_la_SOURCES,
      tgbaalgos_HEADERS): Add them.
      * src/tgbatest/ltlmagic.cc, src/tgbatest/ltlmagic.test: New files.
      * src/tgbatest/Makefile.am (TESTS, ltlmagic_SOURCES,
      check_PROGRAMS): Add them.
      860d085b
  29. 09 Jul, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      * lbtt/: New directory. Contains a patched version of lbtt 1.0.1. · 79bed658
      Alexandre Duret-Lutz authored
      * Makefile.am (MAYBE_LBTT): New variables.
      (SUBDIRS): Add $(MAYBE_LBTT).
      (EXTRA_DIST): Add m4/lbtt.m4.
      * configure.ac: Call AX_CHECK_LBTT.
      * m4/lbtt.m4: New file.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add spotlbtt.
      (spotlbtt_SOURCES): New variables.
      (TESTS): Add spotlbtt.test.
      (CLEANFILE): Add config.
      * src/tgbatest/defs.in (top_builddir, LBTT, LBTT_TRANSLATE): New
      substitutions.
      * src/tgbatest/spotlbtt.cc, src/tgbatest/spotlbtt.test: New files.
      79bed658
  30. 26 Jun, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      Distribute BuDDy. Compile and link with the included version if · 510756cd
      Alexandre Duret-Lutz authored
      explicitely requested (--with-included-buddy) or if there is
      now stuitable version already installed.
      
      * buddy/: New directory.  Contains a patched version of BuDDy 2.2.
      * m4/buddy.m4: Make sure the installed BuDDy supports bdd_mergepairs.
      Honor --with-included-buddy and --without-included-buddy.  Define
      the BUDDY_LDFLAGS and BUDDY_CPPFLAGS output variables, and the
      WITH_INCLUDED_BUDDY Automake conditional
      * Makefile.am [WITH_INCLUDED_BUDDY] (MAYBE_SUBDIRS): New variable.
      (SUBDIRS): Prepend $(MAYBE_SUBDIRS).
      * src/Makefile.am (libspot_LDFLAGS): New variable.
      * src/tgba/Makefile.am (AM_CPPFLAGS): Add $(BUDDY_CPPFLAGS).
      * src/tgbaalgos/Makefile.am (AM_CPPFLAGS): Likewise.
      * src/tgbatest/Makefile.am (AM_CPPFLAGS): Likewise.
      510756cd
  31. 18 Jun, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/tgba/bddprint.cc (print_handler): Quote promises · bacd5a0a
      Alexandre Duret-Lutz authored
      when !want_prom.
      * src/tgbaparse/tgbaparse.yy (prop_list): Accept strings or
      identifiers.  Discard empty strings.
      * src/tgbatest/mixprod.cc, src/tgbatest/mixprod.test: New file.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add mixprod.
      (mixprod_SOURCES): New variable.
      (TESTS): Add mixprod.test.
      bacd5a0a
  32. 17 Jun, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/tgba/tgbaproduct.cc (state_bdd_product::state_bdd_product): · fd12c023
      Alexandre Duret-Lutz authored
      New constructor.
      * src/tgba/tgbaproduct.hh (state_bdd_product::state_bdd_product):
      New constructor.
      * tgbatest/tripprod.cc, tgbatest/tripprod.test: New files.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add explprod.
      (tripprod_SOURCES): New variable.
      (CLEANFILES): Add input3.
      (TESTS): Add tripprod.test.
      fd12c023
  33. 16 Jun, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      Make sure we can multiply two tgba_explicit. · ab09c185
      Alexandre Duret-Lutz authored
      * tgba/state.hh (state::translate, state::clone, state::as_bdd):
      New virtual methods.
      * tgba/stataebdd.cc (state::translate, state::clone): New methods.
      * tgba/stataebdd.hh (state::translate, state::clone): New methods.
      * tgba/tgbabddprod.cc (state_bdd_product::clone,
      tgba_bdd_product_succ_iterator::~tgba_bdd_product_succ_iterator):
      New methods.
      (tgba_bdd_product_succ_iterator::first): Reset right_
      if any of left_ or right_ is already done (i.e., is empty).
      (tgba_bdd_product_succ_iterator::done): Return true
      if right_ is NULL.
      (tgba_bdd_product_succ_iterator::current_state,
      tgba_bdd_product::get_init_state): Work	directory with `state's.
      * tgba/tgbabddprod.hh (state_bdd_product::clone,
      tgba_bdd_product_succ_iterator::~tgba_bdd_product_succ_iterator):
      New methods.
      * tgba/tgbabddtranslateproxy.cc
      (tgba_bdd_translate_proxy_succ_iterator::
      tgba_bdd_translate_proxy_succ_iterator): Work on any kind of iteraator.
      (tgba_bdd_translate_proxy_succ_iterator::
      ~tgba_bdd_translate_proxy_succ_iterator): New method.
      (tgba_bdd_translate_proxy_succ_iterator::current_state,
      tgba_bdd_translate_proxy::get_init_state,
      tgba_bdd_translate_proxy::succ_iter): Work on `state's and
      `tgba_succ_iterator's directlry.
      (tgba_bdd_translate_proxy::format_state): Delegate formating
      to the proxied automata.
      * tgba/tgbaexplicit.cc (state_explicit::clone): New method.
      * src/tgba/tgbaexplicit.cc (tgba_explicit::get_condition,
      tgba_explicit::get_promise): Call ltl::destroy on existing formulae.
      * tgbatest/Makefile.am (check_PROGRAMS): Add explprod.
      (explprod_SOURCES): New variable.
      (TESTS): Add explprod.test.
      (CLEANFILES): Add input1 and input2.
      ab09c185
  34. 06 Jun, 2003 3 commits
    • Alexandre Duret-Lutz's avatar
      * src/tgbatest/bddprod.test: New file. · 0233f31e
      Alexandre Duret-Lutz authored
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add bddprod.
      (bddprod_SOURCES, bddprod_CXXFLAGS): New variables.
      (TESTS): Add bddprod.test.
      * src/tgbatest/ltlprod.c: Handle BDD_CONCRETE_PRODUCT.
      0233f31e
    • Alexandre Duret-Lutz's avatar
      * src/tgba/dictunion.cc (tgba_bdd_dict_union): Clone formulae · 4472a292
      Alexandre Duret-Lutz authored
      while building new dictionary.
      * src/tgbatest/ltlprod.test, src/tgbatest/ltlprod.cc: New files.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add ltlprod.
      (ltlprod_SOURCES): New variable.
      (TESTS): Add ltlprod.test.
      4472a292
    • Alexandre Duret-Lutz's avatar
      * src/ltlvisit/clone.cc (clone): New const version. · 3991a51a
      Alexandre Duret-Lutz authored
      * src/ltlvisit/clone.hh (clone): Likewise.
      * src/ltlvisit/destroy.cc (destroy): New const version.
      * src/ltlvisit/destroy.hh (destroy): Likewise.
      * src/tgba/tgbabddconcretefactory.cc
      (tgba_bdd_concrete_factory::create_state,
      tgba_bdd_concrete_factory::create_atomic_prop,
      tgba_bdd_concrete_factory::promise): Clone new formulae.
      * src/tgba/tgbabdddict.cc (tgba_bdd_dict::tgba_bdd_dict,
      tgba_bdd_dict::~tgba_bdd_dict, tgba_bdd_dict::operator=): New methods
      that clone and destroy formulae.
      * src/tgbatest/ltl2tgba.test, src/tgbatest/ltl2tgba.cc: New files.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add ltl2tgba.
      (ltl2tgba_SOURCES): New variable.
      (TESTS): Add ltl2tgba.test.
      3991a51a