1. 18 May, 2015 6 commits
  2. 15 May, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      python: rewrite translate() to deal with unambiguous and sbacc · 19a27392
      Alexandre Duret-Lutz authored
      and make it easier to extend and use.
      * src/twaalgos/postproc.hh, src/twaalgos/translate.cc,
      src/twaalgos/translate.hh: Incorporate the Unambiguous option
      with the other preferences.  It's cleaner this way, and the
      previous setup did not work well with Python.
      * src/bin/ltl2tgba.cc: Adjust to this change.
      * wrap/python/spot.py (translate): Rewrite.
      * wrap/python/tests/automata.ipynb: Adjust existing cases, and
      add more as well as some comments.
  3. 14 May, 2015 6 commits
    • Alexandre Duret-Lutz's avatar
      translate: remove arbitrary restriction on -U and -D · 1ef3e5f3
      Alexandre Duret-Lutz authored
      * src/twaalgos/translate.cc, src/bin/ltl2tgba.cc: Do not assume that
      unambiguous is incompatible with deterministic.
    • Alexandre Duret-Lutz's avatar
      postproc: add a SBAcc option · 0786e068
      Alexandre Duret-Lutz authored
      Producing state-based acceptance is now part of the postprocessing
      routines.  That means we can more easily simplify automata with
      state-based acceptance (using autfilt -S --small --high, for instance)
      and as as side-effect, ltl2tgba can produce GBA.  However the result of
      ltl2tgba -S is often larger than that of ltl2tgba -B.
      * src/twaalgos/postproc.cc, src/twaalgos/postproc.hh: Implement
      the SBAcc option.
      * src/bin/common_post.cc, src/bin/common_post.hh: Implement -S.
      * src/bin/autfilt.cc, src/bin/dstar2tgba.cc, src/bin/ltl2tgba.cc,
      src/bin/ltl2tgta.cc, src/bin/ltldo.cc: Adjust.
      * src/tests/sim3.test: Augment test case.
      * NEWS, doc/org/ltl2tgba.org, doc/org/autfilt.org: Document it -S.
    • Alexandre Duret-Lutz's avatar
      wdba: adjust to work on any TωA · dd87bdf8
      Alexandre Duret-Lutz authored
      * src/twaalgos/minimize.cc, src/twaalgos/safety.cc,
      src/twaalgos/safety.hh: Adjust.
      * src/tests/wdba2.test: More tests.
    • Alexandre Duret-Lutz's avatar
      simulation: work on TωA · 80808133
      Alexandre Duret-Lutz authored
      * src/twaalgos/simulation.cc, src/twaalgos/simulation.hh: Adjust
      to work on TωA.  This only require separate acceptance sets.
      * src/tests/sim3.test: New test.
      * src/tests/Makefile.am: Add it.
    • Alexandre Duret-Lutz's avatar
      ltldo: preserve generic acceptance · 0e04b253
      Alexandre Duret-Lutz authored
      * src/bin/ltldo.cc: Default to generic acceptance.
      * src/tests/ltl2dstar.test: Add a test.
    • Alexandre Duret-Lutz's avatar
      autfilt: new --separate-sets option · 3d1ccdc4
      Alexandre Duret-Lutz authored
      * src/twaalgos/sepsets.cc, src/twaalgos/sepsets.hh: New files.
      * src/twaalgos/Makefile.am: Add them.
      * src/twa/acc.hh (get_acceptance): Add a non-const version.
      * src/bin/autfilt.cc: Add the --separate-sets option.
      * src/tests/sepsets.test: New file.
      * src/tests/Makefile.am: Add it.
  4. 13 May, 2015 5 commits
  5. 12 May, 2015 5 commits
    • Alexandre Duret-Lutz's avatar
      ltl2tgba_fm: produce unambiguous automata for PSL as well · 5d76b912
      Alexandre Duret-Lutz authored
      * src/twaalgos/ltl2tgba_fm.cc: Fix the PSL operators.
      * src/tests/unambig.test: Add more tests.
    • Alexandre Duret-Lutz's avatar
      ltl2tgba_fm: make it easier to preserve state names · 778d8fe9
      Alexandre Duret-Lutz authored
      * src/twa/twagraph.cc, src/twa/twagraph.hh (create_formula_namer,
      release_formula_namer): New functions.
      * src/twaalgos/ltl2tgba_fm.cc: Use it.
    • Alexandre Duret-Lutz's avatar
      bin: add --check=unambiguous · 487a86d0
      Alexandre Duret-Lutz authored
      * src/bin/common_aoutput.cc: Add --check=unambiguous.
      * src/twa/twa.hh: New unambiguous property.
      * src/twaalgos/hoa.cc: Print it.
      * src/twaalgos/ltl2tgba_fm.cc: Set it.
      * src/twaalgos/isunamb.cc, src/twaalgos/isunamb.hh
      (check_unambiguous): New function.
      * src/tests/unambig.test: More tests.
    • Alexandre Duret-Lutz's avatar
      Add an is_unambiguous() function, use it in ltlcross and autfilt · 98de84f3
      Alexandre Duret-Lutz authored
      * src/twaalgos/isunamb.hh, src/twaalgos/isunamb.cc: New files.
      * src/twaalgos/Makefile.am: Add them.
      * src/tests/unambig.test: New file.
      * src/tests/Makefile.am: Add it.
      * src/bin/ltlcross.cc: Record whether each produced automaton is
      * src/bin/autfilt.cc: Add a --is-unambiguous option.
      * NEWS: Mention it.
    • Alexandre Duret-Lutz's avatar
      Add support for unambiguous automata · 9f3a7a49
      Alexandre Duret-Lutz authored
      * src/twaalgos/ltl2tgba_fm.hh, src/twaalgos/ltl2tgba_fm.cc: Implement
      generation of unambiguous automata.
      * src/tests/ltl2tgba.cc: Add option -fu to test it.
      * src/bin/common_post.cc: Adjust the group of options so we can easily
      add more from ltl2tgba.cc.
      * src/bin/ltl2tgba.cc: Add support for -U and --unambigous.
      * src/twaalgos/translate.cc, src/twaalgos/translate.hh: Add support
      for Unambiguous.
      * src/tests/ltlcross.test, src/tests/ltlcross2.test: Test both
      bin/ltl2tgba and tgbatest/ltl2tgba.
      * NEWS: Mention the change.
  6. 11 May, 2015 5 commits
  7. 10 May, 2015 3 commits
  8. 05 May, 2015 1 commit
  9. 04 May, 2015 1 commit
  10. 28 Apr, 2015 5 commits
  11. 27 Apr, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      hoaparse: make it possible to read from a string · 5bfed246
      Alexandre Duret-Lutz authored
      * src/hoaparse/public.hh, src/hoaparse/parsedecl.hh,
      src/hoaparse/hoascan.ll, src/hoaparse/hoaparse.yy: Implement this new
      * wrap/python/spot.py (automata): Use it when the argument contains
      a newline.
      * wrap/python/tests/automata-io.ipynb: Test it.
  12. 24 Apr, 2015 1 commit