1. 29 Sep, 2017 1 commit
  2. 05 Sep, 2017 2 commits
  3. 03 Sep, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      gen: rename KS_COBUCHI to KS_NCA for consistency · e7df182a
      Alexandre Duret-Lutz authored
      * spot/gen/automata.cc, spot/gen/automata.hh, bin/genaut.cc: Rename
      the enum, function, and command-line option.
      * tests/core/genaut.test, tests/python/gen.ipynb, tests/python/gen.py:
      Adjust test cases.
      * doc/org/genaut.org: Adjust doc.
      e7df182a
  4. 02 Sep, 2017 5 commits
    • Alexandre Duret-Lutz's avatar
      simplify: rewrite GF(a & Fb) as G(Fa & Fb) · 6cd6802a
      Alexandre Duret-Lutz authored
      This addresses part of #35, and is just a generalization of the rules
      from 646c5170 for #263 (hence, no new documentation).
      
      * spot/tl/simplify.cc: Implement this.
      * tests/core/reduccmp.test: Add test cases.
      * tests/core/stutter-tgba.test: Adjust to expect smaller automata.
      6cd6802a
    • Alexandre Duret-Lutz's avatar
      Improve simplification of expr[*0..1] · e8527d5a
      Alexandre Duret-Lutz authored
      Fixes #108.
      
      * spot/tl/simplify.cc: Implement the reduction.
      * doc/tl/tl.tex, NEWS: Document it.
      * tests/core/reduccmp.test: Test it.
      e8527d5a
    • Alexandre Duret-Lutz's avatar
      ltl2tgba_fm: implement a small optimization · 190d4cfa
      Alexandre Duret-Lutz authored
      Fixes #277.
      
      * spot/twaalgos/ltl2tgba_fm.cc: Improve the translation of f U g
      when f is universal.  Suggested by Maximilien Colange.
      * tests/core/ltl2tgba.test: Test it.
      190d4cfa
    • Alexandre Duret-Lutz's avatar
      genltl: add --gxf-and and --fxg-or · 42abcf85
      Alexandre Duret-Lutz authored
      As suggested in #263.
      
      * spot/gen/formulas.cc, spot/gen/formulas.hh, bin/genltl.cc: Implement
      these options.
      * tests/core/genltl.test: Use them.
      * NEWS: Mention them.
      42abcf85
    • Alexandre Duret-Lutz's avatar
      simplify: some new simplification rules · 646c5170
      Alexandre Duret-Lutz authored
      For #263, reported by Mikuláš Klokočka.
      
      G(a & Xe1 & F(b & e2)) = G(a & e1 & Fb & e2)
      F(a | Xu1 | G(b | u2)) = F(a | u1 | Gb | u2)
      
      * spot/tl/simplify.cc: Implement the rules.
      * doc/tl/tl.tex, NEWS: Document them.
      * tests/core/reduccmp.test, tests/core/eventuniv.test: Add test cases.
      * tests/core/det.test, tests/core/ltl2tgba2.test: Adjust to expect
      smaller automata.
      * THANKS: Add Mikuláš.
      646c5170
  5. 01 Sep, 2017 3 commits
  6. 31 Aug, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      dot: add x option for dot2tex · fbb9e437
      Alexandre Duret-Lutz authored
      * spot/twa/acc.cc, spot/twa/acc.hh: Add a LaTeX output for acceptance
      conditions.
      * spot/twaalgos/dot.cc: Implement the 'x' option and refactor the code
      a bit to limit duplication.
      * tests/core/dot2tex.test: New test case (requires dot2tex).
      * tests/Makefile.am: Add dot2tex.test.
      * tests/core/alternating.test, tests/core/readsave.test,
      tests/python/automata-io.ipynb: Adjust expected output.
      * NEWS, doc/org/oaut.org: Mention the new option.
      fbb9e437
  7. 30 Aug, 2017 2 commits
    • Alexandre Duret-Lutz's avatar
      dot: add option 'A' to disable 'a' · b242122c
      Alexandre Duret-Lutz authored
      This way in 2.5 we can make 'a' the default, and tell people to use
      SPOT_DOTDEFAULT=A if they want the old behavior in both 2.4 and 2.5.
      
      * spot/twaalgos/dot.cc: Implement the option.
      * NEWS, bin/common_aoutput.cc: Mention it.
      * tests/core/readsave.test: Test it.
      b242122c
    • Alexandre Duret-Lutz's avatar
      dot: display Rabin-like and Streett-like acceptances · 205294c2
      Alexandre Duret-Lutz authored
      * spot/twaalgos/dot.cc (print_acceptance_for_human): Add Rabin-like
      and Streett-like checks.
      * tests/core/sccdot.test, tests/python/decompose.ipynb,
      tests/python/randaut.ipynb, tests/core/alternating.test: Adjust.
      205294c2
  8. 28 Aug, 2017 2 commits
    • Maximilien Colange's avatar
      Fix a bug in spot.complete() · 1b2f2a79
      Maximilien Colange authored
      spot.complete() could complete an empty co-Büchi automaton into an
      automaton accepting everything.
      
      * NEWS: Document it
      * spot/twaalgos/complete.cc: Fix it
      * tests/core/complete.test, tests/core/prodor.test: Test it
      1b2f2a79
    • Maximilien Colange's avatar
      Typos · eb91ecf6
      Maximilien Colange authored
      * NEWS, doc/org/concepts.org, doc/org/hierarchy.org,
        spot/misc/optionmap.hh, spot/twa/acc.hh, spot/twaalgos/ltl2tgba_fm.hh,
        spot/twaalgos/sccinfo.hh, spot/twaalgos/translate.cc: fix typos
      eb91ecf6
  9. 22 Aug, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      switch to C++14 compilation · f5dce597
      Alexandre Duret-Lutz authored
      * configure.ac: Compile in C++14 by default and rename
      --enable-c++14 as c++17.
      * doc/org/compile.org, doc/org/concepts.org, doc/org/index.org,
      doc/org/install.org, doc/org/tut.org, doc/org/upgrade2.org, HACKING,
      NEWS, README: Adjust all mentions of C++11.
      * spot/twaalgos/stats.hh: Use std::make_unique.
      f5dce597
  10. 17 Aug, 2017 5 commits
    • Alexandre Duret-Lutz's avatar
      dot: display acceptance names · 1cc45b24
      Alexandre Duret-Lutz authored
      * spot/twaalgos/dot.cc: Display common acceptance names.
      * NEWS: Mention the change.
      * doc/org/oaut.org: Adjust text.
      * tests/core/alternating.test, tests/core/readsave.test,
      tests/python/_altscc.ipynb, tests/python/alternation.ipynb,
      tests/python/atva16-fig2a.ipynb, tests/python/atva16-fig2b.ipynb,
      tests/python/automata.ipynb, tests/python/decompose.ipynb,
      tests/python/gen.ipynb, tests/python/highlighting.ipynb,
      tests/python/product.ipynb, tests/python/randaut.ipynb: Adjust test
      cases.
      1cc45b24
    • Alexandre Duret-Lutz's avatar
      acc: fix operator| and operator& · f8ef06ac
      Alexandre Duret-Lutz authored
      Bug introduced in abe2c08b, visible in tests/python/product.ipynb,
      and tests/python/acc_cond.ipynb.
      
      * spot/twa/acc.hh: fix operator| and operator&.
      * tests/python/acc_cond.ipynb: Adjust test case.
      f8ef06ac
    • Alexandre Duret-Lutz's avatar
      hierarchy: avoid sbacc() · 2e8a6702
      Alexandre Duret-Lutz authored
      * spot/tl/hierarchy.cc (is_recurrence): Do not request state-based
      acceptance, now that the Rabin->DBA conversionn works on
      transition-based acceptance as well.
      2e8a6702
    • Alexandre Duret-Lutz's avatar
      remfin: remove some unnecessary copies · e3b30e6d
      Alexandre Duret-Lutz authored
      * spot/twaalgos/remfin.cc (tra_to_tba, is_scc_tba_type): Here.
      e3b30e6d
    • Thomas Medioni's avatar
      to_weak_alternating(): fixes a bug on generalized co-Büchi automata · 4b5606e7
      Thomas Medioni authored
      Fixes #278. Also adds a test ensuring non-regression.
      
      * spot/twaalgos/toweak.cc: Fixes the bug.
      * tests/python/toweak.py: Add a test case.
      4b5606e7
  11. 09 Aug, 2017 2 commits
  12. 08 Aug, 2017 1 commit
  13. 04 Aug, 2017 3 commits
    • Alexandre Duret-Lutz's avatar
      fix error message in exception · 55113ed1
      Alexandre Duret-Lutz authored
      * spot/twaalgos/alternation.cc: Here.
      55113ed1
    • Alexandre Duret-Lutz's avatar
      stats: allow counting complete SCCs · 1cf5778f
      Alexandre Duret-Lutz authored
      * bin/common_aoutput.cc, NEWS: Update documentation.
      * spot/twaalgos/stats.cc: Honor c and C.
      * tests/core/alternating.test: Test it.
      1cf5778f
    • Alexandre Duret-Lutz's avatar
      is_weak_scc and friend: make them work for alternating automata · 223b0c6a
      Alexandre Duret-Lutz authored
      * spot/twaalgos/isweakscc.cc, spot/twaalgos/isweakscc.hh,
      spot/twaalgos/mask.cc, spot/twaalgos/mask.hh: Adjust to
      work with alternating automata.
      * spot/twaalgos/sccinfo.cc, spot/twaalgos/sccinfo.hh
      (determine_unknown_acceptance): Do not complain about
      not supporting alternating automata if there is not
      indeterminate acceptance.
      * spot/twaalgos/stats.cc: Fix a bug were %[iw]c was
      read as %[iww]c.
      * tests/core/alternating.test: Test is_inherently_weak_scc() and
      is_weak_scc().
      * python/spot/impl.i: Add missing python bindings
      for isweakscc.hh.
      223b0c6a
  14. 03 Aug, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      dot: extend the palette from 9 to 16 colors · e041db61
      Alexandre Duret-Lutz authored
      Let's close #212 even if this does not cover the 32 sets.
      
      * spot/twaalgos/dot.cc: Change the palette.
      * doc/org/autfilt.org, NEWS: Adjust documentation.
      * tests/core/alternating.test, tests/core/readsave.test,
      tests/core/tgbagraph.test, tests/python/_altscc.ipynb,
      tests/python/alternation.ipynb, tests/python/atva16-fig2a.ipynb,
      tests/python/automata-io.ipynb, tests/python/automata.ipynb,
      tests/python/decompose.ipynb, tests/python/gen.ipynb,
      tests/python/highlighting.ipynb, tests/python/ltsmin-dve.ipynb,
      tests/python/piperead.ipynb, tests/python/product.ipynb,
      tests/python/randaut.ipynb, tests/python/word.ipynb: Adjust
      test cases.
      e041db61
  15. 02 Aug, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      formula: hide throw statements from inline methods · ab42075d
      Alexandre Duret-Lutz authored
      * spot/tl/formula.hh: Move all throw statements behind
      some [[noreturn]] report...() methods...
      * spot/tl/formula.cc: ... defined here.  This makes the methods
      shorter and helps their inlining.  Incidentally, this also removes the
      uninitialized read that weirdly occurs when _GLIBCXX_DEBUG is on, as
      observed with #184, but I do not know why.
      ab42075d
  16. 01 Aug, 2017 2 commits
  17. 31 Jul, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      hoa: fix I/O of determinism · d3607a7c
      Alexandre Duret-Lutz authored
      Fixes #212.
      
      * spot/parseaut/parseaut.yy, spot/twaalgos/hoa.cc: Recognize
      exist-branch, and adjust printer to the 1.1 semantics.
      * tests/core/alternating.test, tests/core/complete.test,
      tests/core/det.test, tests/core/explsum.test,
      tests/core/parseaut.test, tests/core/readsave.test,
      tests/core/sbacc.test, tests/core/tgbagraph.test,
      tests/python/alternating.py, tests/python/dualize.py: Adjust test
      cases.
      * NEWS: Mention the change.
      d3607a7c
  18. 27 Jul, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      parseaut: make the scanner reentrant · b9fff6a4
      Alexandre Duret-Lutz authored
      * spot/parseaut/parseaut.yy, spot/parseaut/parsedecl.hh,
      spot/parseaut/public.hh, spot/parseaut/scanaut.ll: Use a reentrant
      scanner, so that we can now parse multiple automaton streams at the
      same time.  This is needed for the future autcross, which is going to
      read several individual automata produced by different tools, while
      reading the stream of automata to process.
      b9fff6a4
  19. 25 Jul, 2017 3 commits
    • Alexandre Duret-Lutz's avatar
      parseaut: use prop_universal() instead of prop_deterministic() · ff4f4ee4
      Alexandre Duret-Lutz authored
      * spot/parseaut/parseaut.yy: Here.
      ff4f4ee4
    • Alexandre Duret-Lutz's avatar
      acc: make &= and |= symmetrical · abe2c08b
      Alexandre Duret-Lutz authored
      Operator &= used to always move Fin to the front, it does not anymore.
      The only thing it does now is to merge Inf(x)&Inf(y) as Inf({x,y}).
      Operator |= is now symmetrical and merges Fin()s.
      
      Fixes #253.
      
      * spot/twa/acc.cc, spot/twa/acc.hh: Simplify &= and make |= symmetrical.
      * spot/twaalgos/cleanacc.cc: Fix conjunction order.
      * tests/core/acc.test, tests/core/acc2.test, tests/core/parseaut.test,
      tests/core/readsave.test, tests/core/satmin2.test,
      tests/core/sccdot.test, tests/python/acc_cond.ipynb,
      tests/python/accparse.ipynb, tests/python/automata.ipynb,
      tests/python/product.ipynb, tests/python/randaut.ipynb: Adjust test
      cases.
      abe2c08b
    • Alexandre Duret-Lutz's avatar
      deprecate copy() in favor of make_twa_graph() · 8e685e00
      Alexandre Duret-Lutz authored
      Fixes #258.
      
      * spot/twaalgos/copy.cc: Delete, and move the code...
      * spot/twa/twagraph.cc: ... in some anonymous namespace here.
      * spot/twa/twagraph.hh: Adjust the make_twa_graph() overload.
      * spot/twaalgos/copy.hh, NEWS: Mark copy() as deprecated and redirect
      to make_twa_graph().
      * doc/org/upgrade2.org, doc/org/tut51.org, python/spot/impl.i,
      spot/twaalgos/dot.cc, spot/twaalgos/langmap.cc, tests/core/ikwiad.cc:
      Adjust callers.
      * spot/twaalgos/Makefile.am: Remove copy.cc.
      8e685e00
  20. 24 Jul, 2017 2 commits