1. 08 Feb, 2014 3 commits
  2. 06 Feb, 2014 2 commits
  3. 03 Feb, 2014 1 commit
  4. 02 Feb, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      python: better support for Python 3 · b6e5ce7e
      Alexandre Duret-Lutz authored
      * wrap/python/spot.i (spot::ltl::parse_error_list,
      spot::tgba_parse_error_list): Add a __bool__ method, that is used
      instead of __nonzero__ in Python 3.
      * wrap/python/tests/interdep.py, wrap/python/tests/parsetgba.py:
      Force destruction order.
      * NEWS: Update.
      b6e5ce7e
  5. 24 Jan, 2014 2 commits
  6. 15 Jan, 2014 1 commit
  7. 11 Dec, 2013 2 commits
  8. 06 Dec, 2013 3 commits
    • Alexandre Duret-Lutz's avatar
      ltlcross: end CSV lines with \n, not \r\n · 6c210895
      Alexandre Duret-Lutz authored
      * src/bin/ltlcross.cc (print_stats_csv): Revert the recent
      addition of \r, it is caussing too many issues.
      * NEWS: Mention it.
      6c210895
    • Alexandre Duret-Lutz's avatar
      ltl2tgba: Add a --csv-escape option and document CSV I/O. · 846e33b9
      Alexandre Duret-Lutz authored
      * src/bin/common_output.cc, src/bin/common_output.hh:
      (output_formula_checked, aut_stat_printer): New.
      * src/bin/genltl.cc, src/bin/randltl.cc, src/bin/ltlfilt.cc: Call
      output_formula_checked() instead of output_formula().
      * src/bin/ltl2tgba.cc: Use aut_stat_printer and add option --csv-escape.
      * doc/org/csv.org: New file to document CSV I/O.
      * doc/Makefile.am: Add it.
      * doc/org/ioltl.org, doc/org/ltlfilt.org, doc/org/ltl2tgba.org,
      doc/org/tools.org: Link to csv.org
      846e33b9
    • Alexandre Duret-Lutz's avatar
      bin: add support for reading formulas from CSV files. · 0faea814
      Alexandre Duret-Lutz authored
      * NEWS: Mention it.
      * src/bin/common_finput.cc, src/bin/common_finput.hh: Implement it.
      * src/bin/common_output.cc, src/bin/common_output.hh: Add the %< and
      %> escapes.
      * src/bin/ltlfilt.cc: Connect %< and %> to the
      prefix andsuffix of the input, and document them.
      * src/tgbatest/det.test, src/tgbatest/nondet.test: Simplify these
      tests that read CSV files.
      0faea814
  9. 22 Nov, 2013 6 commits
    • Alexandre Duret-Lutz's avatar
      ltlcross: report statistics about Rabin and Streett automata · d719c706
      Alexandre Duret-Lutz authored
      * src/bin/ltlcross.cc: Implement it.
      * src/bin/man/ltlcross.x, doc/org/ltlcross.org, NEWS: Document it.
      * src/tgbatest/ltl2dstar.test, src/tgbatest/ltlcross3.test: Test it.
      d719c706
    • Alexandre Duret-Lutz's avatar
      ltlcross: support --products=+N · 2b10745d
      Alexandre Duret-Lutz authored
      * src/bin/ltlcross.cc: Implement it.
      * NEWS, doc/org/ltlcross.org: Document it.
      * src/tgbatest/ltlcross3.test: Test it.
      2b10745d
    • Alexandre Duret-Lutz's avatar
      ltlcross: report exit_status and exit_code columns in CSV and JSON · f65c621a
      Alexandre Duret-Lutz authored
      * src/bin/ltlcross.cc: Report exit_status and exit_code columns in CSV
      and JSON files.  Also output lines for failed translations, and add
      a --omit-missing option to disable that.  Move the time column right
      after exit_status and exit_code.
      * src/bin/man/ltlcross.x: Document each column of the output.
      * bench/ltl2tgba/tools: Use the "{name}cmd" notation.
      * bench/ltl2tgba/sum.py: Adjust to the new columns.
      * bench/ltl2tgba/README: Update to point to the man page for a
      description of the columns.
      * bench/ltl2tgba/Makefile.am: Build results.pdf as said announced in
      README.
      * bench/spin13/html.bottom: Update code to ignore these two new
      columns and lines with null values.
      * src/tgbatest/ltlcross3.test: Add tests.
      * doc/org/ltlcross.org: Adjust examples.
      * NEWS: Mention this.
      f65c621a
    • Alexandre Duret-Lutz's avatar
      ltlcross: report missing input/output sequence · 686a4548
      Alexandre Duret-Lutz authored
      * src/bin/ltlcross.cc: Fix it.
      * src/tgbatest/ltlcross3.test: New file.
      * src/tgbatest/Makefile.am: Add it.
      * NEWS: Mention it.
      686a4548
    • Alexandre Duret-Lutz's avatar
      ltlcross: support short names · 7de25a32
      Alexandre Duret-Lutz authored
      * NEWS: Mention it.
      * doc/org/ltlcross.org: Document it.
      * src/bin/ltlcross.cc: Implement it.
      * src/tgbatest/Makefile.am, src/tgbatest/defs.in,
      src/tgbatest/ltlcross4.test: Test it.
      7de25a32
    • Alexandre Duret-Lutz's avatar
      ltlcross: follow RFC 4180 for CSV output. · 1c5536ea
      Alexandre Duret-Lutz authored
      * src/misc/escape.cc, src/misc/escape.hh (escape_rfc4180): New
      function.
      * src/bin/ltlcross.cc: Do not output space after ',', use
      "\r\n" for end of line, and use escape_rfc4180().
      * NEWS: Mention it.
      1c5536ea
  10. 01 Oct, 2013 2 commits
  11. 28 Sep, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      relabel: implement relabeling of Boolean subexpressions. · 87b65b9b
      Alexandre Duret-Lutz authored
      * src/ltlast/multop.cc, src/ltlast/multop.hh (multop::boolean_operands,
      multop::boolean_count): New methods.
      * src/ltlvisit/relabel.cc, src/ltlvisit/relabel.hh
      (relabel): Take an optional relabeling_map as parameter.
      (relabel_bse): New.
      * src/ltltest/ltlrel.test, src/ltltest/ltlrel.cc: New files.
      * src/ltltest/Makefile.am: Add them.
      * src/bin/ltlfilt.cc: Add option --relabel-bool.
      * src/ltltest/ltlfilt.test: Test it.
      * NEWS: Mention it.
      * doc/org/ltlfilt.org: Illustrate it.
      87b65b9b
  12. 26 Sep, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      Arrange multops so that Boolean arguments come first. · 536e45b3
      Alexandre Duret-Lutz authored
      This helps recursive implication checks.  Also order
      atomic propositions with strverscmp().
      
      * src/ltlast/formula.hh (formula_ptr_less_than_multop,
      is_literal, atomic_prop_cmp): New.
      * src/ltlast/formula.cc (is_literal, atomic_prop_cmp): Implement them.
      * src/ltlast/multop.cc: Use formula_ptr_less_than_multop.
      * src/ltltest/isop.test, src/ltltest/ltlfilt.test,
      src/tgbatest/det.test, src/tgbatest/dstar.test,
      src/tgbatest/explicit.test, src/tgbatest/explpro2.test,
      src/tgbatest/explpro3.test, src/tgbatest/explprod.test,
      src/tgbatest/nondet.test, src/tgbatest/tripprod.test: Adjust tests.
      * NEWS: Mention the new order.
      536e45b3
  13. 22 Sep, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      tools: Add a --format option · ce5ea829
      Alexandre Duret-Lutz authored
      * src/bin/common_output.cc: Add option --format and implement
      it.
      * src/bin/ltlfilt.cc, src/bin/randltl.cc: Document the
      supported %-sequences.
      * src/bin/genltl.cc: Document the %-sequences, and supply
      the name of the pattern to output_formula().
      * doc/org/genltl.org, doc/org/ioltl.org, doc/org/ltlfilt.org,
      NEWS: Document it.
      * src/ltltest/latex.test: Use it.
      ce5ea829
  14. 16 Sep, 2013 1 commit
  15. 08 Sep, 2013 4 commits
    • Alexandre Duret-Lutz's avatar
      tostring: add LaTeX output · 9cfe1a34
      Alexandre Duret-Lutz authored
      * src/ltlvisit/tostring.cc, src/ltlvisit/tostring.hh
      (to_latex_string): New function.
      * src/bin/common_output.cc, src/bin/common_output.hh:
      Add a --latex option.
      * doc/tl/spotltl.sty: New file.
      * doc/tl/Makefile.am: Distribute it.
      * src/ltltest/latex.test: New test.
      * src/ltltest/Makefile.am: Add it.
      * NEWS: Mention it.
      9cfe1a34
    • Alexandre Duret-Lutz's avatar
      postproc: Add option to output Complete automata. · 1ab46b08
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: Tweak set_pref()
      to also accept Any|Complete, Small|Complete, or Deterministic|Complete.
      * src/bin/common_post.hh, src/bin/common_post.cc: Add option --complete
      and set comp.
      * src/bin/dstar2tgba.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc: Pass
      comp to set_pref().
      * src/tgbaalgos/complete.cc: Preserve state-based acceptance.
      * src/tgbatest/dstar.test, src/tgbatest/ltlcross2.test,
      src/tgbatest/nondet.test: Augment tests.
      * doc/org/dstar2tgba.org, doc/org/ltl2tgba.org, NEWS: Document.
      1ab46b08
    • Alexandre Duret-Lutz's avatar
      * NEWS: Summarize recent changes · b31facff
      Alexandre Duret-Lutz authored
      b31facff
    • Alexandre Duret-Lutz's avatar
      satmin: cleanup interfaces and minimization loops · fdb157bf
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtbasat.hh:
      (dtba_sat_minimize): Split into...
      (dtba_sat_synthetize, dtba_sat_minimize): These.
      (dtba_sat_minimize_dichotomy): New function.
      * src/tgbaalgos/dtgbasat.cc, src/tgbaalgos/dtgbasat.hh
      (dtgba_sat_minimize, dtgba_sat_synthetize): Likewise.
      * src/tgbatest/ltl2tgba.cc: Adjust to new interface.
      * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh:
      Cleanup option processing for SAT options.
      * src/tgbatest/satmin.test: Adjust.
      * src/bin/spot-x.cc, src/bin/man/spot-x.x, NEWS: Document.
      fdb157bf
  16. 26 Aug, 2013 5 commits
    • Alexandre Duret-Lutz's avatar
      stats: add %r to display run-time · bfbe5b44
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/stats.cc, src/tgbaalgos/stats.hh: Add
      support for printing run-time.
      * src/bin/ltl2tgba.cc, src/bin/dstar2tgba.cc: Compute
      the run-time and show the option.
      * NEWS: Mention it.
      bfbe5b44
    • Alexandre Duret-Lutz's avatar
      isdet: simplify is_deterministic(), add is_complete(). · 4dd8d802
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/isdet.cc: Simplify determinism check.
      * src/tgbaalgos/isdet.hh, src/tgbaalgos/isdet.cc (is_complete): New
      function.
      * src/tgbaalgos/stats.cc, src/tgbaalgos/stats.hh, src/bin/dstar2tgba.cc
      src/bin/ltl2tgba.cc: Add escape sequence %p to the possible statistics
      to show whether an automaton is complete.
      * src/tgbatest/nondet.test: Add a couple more tests.
      4dd8d802
    • Alexandre Duret-Lutz's avatar
      ltlcross: Complement deterministic automata. · 1029d08a
      Alexandre Duret-Lutz authored
      * src/bin/ltlcross.cc: Complement deterministic automata,
      and use them for additional intersection checks.
      * NEWS, doc/org/ltlcross.org, src/bin/man/ltlcross.x: Document it.
      1029d08a
    • Alexandre Duret-Lutz's avatar
      org: document dstar2tgba. · f704513b
      Alexandre Duret-Lutz authored
      * doc/org/dstar2tgba.org: New file.
      * doc/org/tools.org: Link to it.
      * doc/Makefile.am: Distribute it.
      * NEWS: Mention the generated web page.
      f704513b
    • Alexandre Duret-Lutz's avatar
      dstar: Improve conversion from DRA to BA. · d7027c34
      Alexandre Duret-Lutz authored
      Extended former conversion from DRA->DBA to handle
      the case where some SCC is not DBA-realizable.
      
      * src/dstarparse/dra2dba.cc: Rename as...
      * src/dstarparse/dra2ba.cc: ... this.
      (dra_to_dba, dra_to_dba_worker): Rename as...
      (dra_to_ba, dra_to_ba_worker): ... these and extend.
      * src/dstarparse/Makefile.am, src/dstarparse/public.hh,
      src/dstarparse/dstar2tgba.cc, src/dstarparse/nra2nba.cc: Adjust.
      * NEWS: Update the description of dstar2tgba accordingly.
      d7027c34
  17. 23 Aug, 2013 3 commits
    • Alexandre Duret-Lutz's avatar
      dstar2tgba: new command. · d3b81809
      Alexandre Duret-Lutz authored
      * src/bin/dstar2tgba.cc, src/bin/man/dstar2tgba.x: New files.
      * src/bin/Makefile.am, src/bin/man/Makefile.am: Add them.
      * NEWS: Mention it.
      * src/bin/ltl2tgba.cc, src/tgbaalgos/stats.cc, doc/org/ltl2tgba.org:
      Rename the %S sequence as %c, for consistency with dstar2tgba.
      * src/tgbatest/ltl2dstar.test: Add more tests.
      * src/tgbatest/ltl2dstar2.test: New file.
      * src/tgbatest/Makefile.am: Add it.
      d3b81809
    • Alexandre Duret-Lutz's avatar
      ltlcross: add support for ltl2dstar's output. · 337aeefc
      Alexandre Duret-Lutz authored
      * src/bin/ltlcross.cc: Add support for %D.
      * src/bin/man/ltlcross.x: Add example.
      * NEWS: Mention it.
      * src/tgbatest/ltl2dstar.test: New file.
      * src/tgbatest/Makefile.am: Add it.
      337aeefc
    • Alexandre Duret-Lutz's avatar
      degen: Improve when initial state is accepting without self-loop. · dfc5ff95
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/degen.cc: Choose the initial level according
      to acceptance condition common to all outgoing transitions.
      * src/tgbatest/degenid.test: Add test case.
      * NEWS: Mention it.
      dfc5ff95
  18. 29 Jul, 2013 1 commit