1. 23 Feb, 2018 1 commit
  2. 21 Feb, 2018 1 commit
    • Maximilien Colange's avatar
      Improve cleanup_parity · e945beb6
      Maximilien Colange authored
      * spot/twaalgos/parity.cc: cleanup_parity and cleanup_parity_here are
        now better at finding useless parity colors
      * tests/python/parity.py: test it
      * NEWS: document the change
      e945beb6
  3. 20 Feb, 2018 2 commits
  4. 19 Feb, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      fix handling of Rabin-like input for dnf_to_dca() · 81e5357e
      Alexandre Duret-Lutz authored
      The bug is mentioned by Maximilien Colange in a comment to issue #317,
      but turned out to be unrelated to that original issue.
      
      * spot/twaalgos/totgba.cc (dnf_to_streett): Save the correspondence
      between the created states an the DNF clause in a named property.
      * doc/org/concepts.org, spot/twaalgos/totgba.hh: Mention the new
      property.
      * spot/twaalgos/cobuchi.cc (save_inf_nca_st): Rewrite using the named
      property.  Relying on seen marks and trying to deduce the matching
      original clause could only work from plain Rabin.
      * tests/core/dca.test: Add the test from Maximilien.
      * NEWS: Mention the issue.
      81e5357e
  5. 17 Feb, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      fix tra_to_tba() · e42fea09
      Alexandre Duret-Lutz authored
      Fixes #324, reported by Tobias Meggendorfer and František Blahoudek.
      
      * spot/twa/acc.hh (rs_pairs_view::paired_with): Rename as...
      (rs_pairs_view::paired_with_fin):... this and adjust the code.
      * spot/twaalgos/remfin.cc: Use paired_with_fin instead of
      paired_with, and do it once per pair.
      * tests/core/remfin.test: Add a test case.
      * NEWS: Mention the issue.
      e42fea09
  6. 16 Feb, 2018 1 commit
  7. 24 Jan, 2018 1 commit
    • Maximilien Colange's avatar
      Improve IAR construction · 1ebd86de
      Maximilien Colange authored
      spot::iar() was fixed to handle correctly Rabin-like conditions.
      It also now supports Streett-like conditions.
      
      * NEWS, spot/twaalgos/postproc.cc: document it
      * spot/twaalgos/rabin2parity.cc, spot/twaalgos/rabin2parity.hh:
        implement it
      * tests/core/rabin2parity.test, tests/python/except.py: test it
      1ebd86de
  8. 23 Jan, 2018 1 commit
  9. 20 Jan, 2018 2 commits
  10. 19 Jan, 2018 1 commit
  11. 16 Jan, 2018 2 commits
    • Maximilien Colange's avatar
      Rabin to parity translation · 7e02aae3
      Maximilien Colange authored
      * spot/twaalgos/rabin2parity.cc, spot/twaalgos/rabin2parity.hh:
        implement it
      * spot/twaalgos/postproc.cc: use it
      * spot/twaalgos/Makefile.am: build the new files
      * NEWS: document the new function
      * python/spot/impl.i: Python bindings for the new function
      * tests/Makefile.am, tests/core/rabin2parity.test: test the new function
      7e02aae3
    • Maximilien Colange's avatar
      Typos and duplicates · 7bf68b4c
      Maximilien Colange authored
      * spot/twaalgos/degen.cc: typo in an error message
      * NEWS: fix typos and remove duplicates
      7bf68b4c
  12. 14 Jan, 2018 3 commits
    • Alexandre Duret-Lutz's avatar
      work around issue #317 · c920825f
      Alexandre Duret-Lutz authored
      * spot/twaalgos/cobuchi.cc: Call sbacc() on transition-based input.
      * tests/Makefile.am: Remove XFAIL_TESTS.
      * NEWS: Adjust.
      c920825f
    • Alexandre Duret-Lutz's avatar
      postproc: add support for co-Büchi output · 61b0a542
      Alexandre Duret-Lutz authored
      * spot/twaalgos/cobuchi.cc, spot/twaalgos/cobuchi.hh (to_nca): New
      function.
      (weak_to_cobuchi): New internal function, used in to_nca and to_dca
      when appropriate.
      * spot/twaalgos/postproc.cc, spot/twaalgos/postproc.hh: Implement
      the CoBuchi option.
      * python/spot/__init__.py: Support it in Python.
      * bin/common_post.cc: Add support for --buchi.
      * bin/autfilt.cc: Remove the --dca option.
      * tests/core/dca.test, tests/python/automata.ipynb: Adjust and add
      more tests.  In particular, add more complex persistence and
      recurrence formulas to the list of dca.test.
      * tests/python/dca.test: Adjust and rename to...
      * tests/core/dca2.test: ... this.  Add more tests, to the point
      that this is now failing, as described in issue #317.
      * tests/python/dca.py: Remove.
      * tests/Makefile.am: Adjust.
      61b0a542
    • Alexandre Duret-Lutz's avatar
      fix streett_to_generalized_buchi · 9464043d
      Alexandre Duret-Lutz authored
      Fixes #316.
      
      * spot/twaalgos/totgba.cc: Fix confusing definition of scc_inf_wo_fin.
      * tests/python/streett_totgba2.py: New test case.
      * tests/Makefile.am: Add it.
      * NEWS: Mention the bug.
      9464043d
  13. 10 Jan, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      misc: fix some down_cast issues · 8a74ae6c
      Alexandre Duret-Lutz authored
      We had new failure on MinGW with GCC believing that some pointer
      returned by down_cast could be NULL; and the down_cast function was in
      the global namespace.
      
      * spot/misc/casts.hh: Rewrite.
      * NEWS: Mention the small issues.
      * tests/core/ikwiad.cc, tests/core/ngraph.cc: Adjust to use
      spot::down_cast instead of down_cast.
      8a74ae6c
  14. 09 Jan, 2018 2 commits
  15. 08 Jan, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      postproc: add support for colored-parity · bd6dc7a8
      Alexandre Duret-Lutz authored
      * spot/twaalgos/postproc.cc, spot/twaalgos/postproc.hh: Add support
      for a colored option.
      * bin/common_post.cc, bin/common_post.hh bin/autfilt.cc,
      bin/ltl2tgba.cc, bin/dstar2tgba.cc: Add support for --colored-parity.
      * bin/ltldo.cc: Adjust as well for consistency, even if --parity and
      --colored-parity is not used here.
      * tests/core/parity2.test: Add tests.
      * doc/org/autfilt.org, doc/org/ltl2tgba.org: Add examples.
      * NEWS: Mention --colored-parity.
      bd6dc7a8
  16. 07 Jan, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      python: upgrade notebook format to v4 · 58e64e75
      Alexandre Duret-Lutz authored
      Fixes #311.
      
      * tests/python/ipnbdoctest.py: Adjust to process the new format,
      with a lot of inspiration from Vcsn's copy of this file.
      * tests/python/_altscc.ipynb, tests/python/_aux.ipynb,
      tests/python/acc_cond.ipynb, tests/python/accparse.ipynb,
      tests/python/alternation.ipynb, tests/python/atva16-fig2a.ipynb,
      tests/python/atva16-fig2b.ipynb, tests/python/automata-io.ipynb,
      tests/python/automata.ipynb, tests/python/decompose.ipynb,
      tests/python/formulas.ipynb, tests/python/gen.ipynb,
      tests/python/highlighting.ipynb, tests/python/ltsmin-dve.ipynb,
      tests/python/ltsmin-pml.ipynb, tests/python/parity.ipynb,
      tests/python/piperead.ipynb, tests/python/product.ipynb,
      tests/python/randaut.ipynb, tests/python/randltl.ipynb,
      tests/python/stutter-inv.ipynb, tests/python/testingaut.ipynb,
      tests/python/word.ipynb: Upgrade to the new format.
      * NEWS: Mention the change.
      58e64e75
  17. 06 Jan, 2018 3 commits
    • Alexandre Duret-Lutz's avatar
      ltlcross: detect remove_fin failures · 020c9811
      Alexandre Duret-Lutz authored
      Fixes #314, reported by František Blahoudek.
      
      * bin/ltlcross.cc: Here.
      * tests/core/ltlcross3.test: Add new test case.
      * NEWS: Mention the bug.
      020c9811
    • Alexandre Duret-Lutz's avatar
      remove_fin: use simplify_acceptance · a924bc56
      Alexandre Duret-Lutz authored
      * spot/twaalgos/remfin.cc: Simplify acceptance before trying the
      different strategies.
      * spot/twaalgos/cleanacc.cc: Skip simplify_complementary_marks_here()
      on generalized Büchi.
      * tests/core/remfin.test, tests/python/tra2tba.py: Adjust.
      * spot/twaalgos/totgba.cc: Simplify the result of Streett->GBA.
      * NEWS: Adjust.
      a924bc56
    • Alexandre Duret-Lutz's avatar
      simplify_acceptance: fix handling of first edge · 2feba6ad
      Alexandre Duret-Lutz authored
      Fixes #315.
      
      * spot/twaalgos/cleanacc.cc (simplify_acceptance_here): Do not
      compare the first edge against previous_a.
      * tests/core/accsimpl.test: New file.
      * tests/Makefile.am: Add it.
      * NEWS: Mention the bug.
      2feba6ad
  18. 04 Jan, 2018 1 commit
  19. 02 Jan, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      postproc: introduce --parity output · 42ebf8b1
      Alexandre Duret-Lutz authored
      * spot/twaalgos/postproc.hh, spot/twaalgos/postproc.cc: Add parity
        options.
      * bin/common_post.cc: Add support for --parity.
      * NEWS: Mention it.
      * tests/core/parity2.test: New file.
      * tests/Makefile.am: Add it.
      42ebf8b1
  20. 25 Dec, 2017 5 commits
  21. 24 Dec, 2017 1 commit
  22. 22 Dec, 2017 3 commits
  23. 19 Dec, 2017 2 commits
  24. 18 Dec, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      introduce check_determinism() · ac80b07d
      Alexandre Duret-Lutz authored
      * spot/twaalgos/isdet.hh, spot/twaalgos/isdet.cc (check_determinism):
      New function.
      * NEWS: Mention it.
      * tests/python/semidet.py: New file.
      * tests/Makefile.am: Add it.
      ac80b07d
  25. 10 Dec, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      Add support for computing operator nesting depth · 62d1e021
      Alexandre Duret-Lutz authored
      * spot/tl/hierarchy.hh, spot/tl/hierarchy.cc (nesting_depth): New
      function.
      * python/spot/__init__.py: Also make it a method of formula in Python
      * bin/common_output.cc, bin/common_output.hh: Implement
      --stats=%[OP]n.
      * NEWS: Mention it.
      * tests/core/format.test, tests/python/formulas.ipynb: Test it.
      62d1e021