1. 14 Feb, 2019 1 commit
    • Clément Gillard's avatar
      Several typos · 4ecd066c
      Clément Gillard authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * HACKING: Missing "to", extraneous 's'.
      * spot/misc/timer.hh: Extraneous space.
      * spot/twa/acc.hh: Extraneous 's', typos.
      * spot/twaalgos/genem.hh: Typo.
      * spot/twaalgos/sccinfo.cc: Fix indentation.
      * spot/twaalgos/sccinfo.hh: Missing 's'.
      * tests/python/acc_cond.ipynb: Extraneous 'e', missing comma.
      * tests/python/decompose.ipynb: Extraneous 't'.
      * tests/python/ltsmin-dve.ipynb: Extraneous verb.
      4ecd066c
  2. 13 Feb, 2019 1 commit
    • Alexandre Duret-Lutz's avatar
      python: better support for explicit Kripke · f26dd904
      Alexandre Duret-Lutz authored
      Part of issue #376, reported by Hashim Ali.
      
      * python/spot/impl.i: Add bindings for kripke_graph.
      * python/spot/__init__.py (automaton): Add a want_kripke option.
      * spot/kripke/kripkegraph.hh: Honnor the "state-names" property
      when displaying states.
      * spot/twaalgos/hoa.cc: Preserve names of Kripke states.
      * tests/python/ltsmin-dve.ipynb: Illustrate all the above.
      * NEWS: Mention those changes.
      * THANKS: Add Hashim.
      f26dd904
  3. 03 Nov, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      python: more conventional __repr__ for several types · 60296317
      Alexandre Duret-Lutz authored
      * NEWS: Mention the change.
      * python/spot/__init__.py: Add _repr_latex_ for twa_word, and
      remove __repr__ and __str__ for atomic_prop_set.
      * python/spot/impl.i: Implement __repr__ and __str__ for
      atomic_prop_set.  Fix __repr__ for trival, acc_code, acc_cond,
      mark_t.  Remove __repr__ for twa_run and twa_word.
      * tests/python/acc_cond.ipynb, tests/python/accparse.ipynb,
      tests/python/atva16-fig2a.ipynb, tests/python/automata.ipynb,
      tests/python/bdditer.py, tests/python/contains.ipynb,
      tests/python/gen.ipynb, tests/python/highlighting.ipynb,
      tests/python/ltlsimple.py, tests/python/ltsmin-dve.ipynb,
      tests/python/product.ipynb, tests/python/relabel.py,
      tests/python/satmin.ipynb tests/python/stutter-inv.ipynb,
      tests/python/word.ipynb: Adjust test cases.
      * tests/python/formulas.ipynb: Add test for atomic_prop_set.
      60296317
  4. 15 May, 2018 2 commits
    • Alexandre Duret-Lutz's avatar
      python: improve formating of double-quoted AP in MathJax · 36b5b76c
      Alexandre Duret-Lutz authored
      * python/spot/impl.i: Move the rendering code...
      * python/spot/__init__.py: ... here, and ajust it for MathJax.
      * tests/python/formulas.ipynb, tests/python/ltsmin-dve.ipynb: Adjust
      expected results.
      36b5b76c
    • Alexandre Duret-Lutz's avatar
      python: implicit str->formula conversion · 6a808492
      Alexandre Duret-Lutz authored
      * python/spot/impl.i, python/spot/__init__.py: Implement it.
      * NEWS: Mention it.
      * tests/python/atva16-fig2a.ipynb, tests/python/atva16-fig2b.ipynb,
      tests/python/formulas.ipynb, tests/python/ltsmin-dve.ipynb,
      tests/python/ltsmin-pml.ipynb, tests/python/stutter-inv.ipynb,
      doc/org/tut02.org: Modernize.
      6a808492
  5. 07 Apr, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      dot: name the digraph · 6cec4329
      Alexandre Duret-Lutz authored
      * spot/twaalgos/dot.cc: Here.
      * NEWS: Mention the change.
      * tests/core/alternating.test, tests/core/det.test,
      tests/core/dstar.test, tests/core/monitor.test,
      tests/core/neverclaimread.test, tests/core/readsave.test,
      tests/core/sccdot.test, tests/core/tgbagraph.test,
      tests/python/_altscc.ipynb, tests/python/_autparserr.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/gen.ipynb, tests/python/highlighting.ipynb,
      tests/python/ltsmin-dve.ipynb, tests/python/ltsmin-pml.ipynb,
      tests/python/parity.ipynb, tests/python/product.ipynb,
      tests/python/randaut.ipynb, tests/python/satmin.ipynb,
      tests/python/stutter-inv.ipynb, tests/python/testingaut.ipynb,
      tests/python/word.ipynb: Adjust test cases.
      6cec4329
  6. 10 Mar, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      dot: make "a" the default · 2a308182
      Alexandre Duret-Lutz authored
      Fixes #319.
      
      * spot/twaalgos/dot.cc: Enable "a" by default.
      * bin/common_aoutput.cc, NEWS: Document it.
      * doc/org/autfilt.org, doc/org/concepts.org, doc/org/dstar2tgba.org,
      doc/org/hierarchy.org, doc/org/ltl2tgba.org, doc/org/oaut.org,
      doc/org/randaut.org, doc/org/satmin.org, doc/org/tut23.org,
      doc/org/tut24.org, doc/org/tut30.org, doc/org/tut31.org: Adjust or
      simplify the documentation.
      * tests/core/det.test, tests/core/dstar.test, tests/core/monitor.test,
      tests/core/neverclaimread.test, tests/core/readsave.test,
      tests/core/tgbagraph.test, tests/core/wdba.test,
      tests/python/_autparserr.ipynb, tests/python/automata-io.ipynb,
      tests/python/automata.ipynb, tests/python/highlighting.ipynb
      tests/python/ltsmin-dve.ipynb, tests/python/ltsmin-pml.ipynb,
      tests/python/product.ipynb, tests/python/testingaut.ipynb,
      tests/python/word.ipynb: Adjust test cases.
      2a308182
  7. 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
  8. 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
  9. 04 Feb, 2017 1 commit
  10. 12 Jun, 2016 1 commit
  11. 22 Apr, 2016 2 commits
  12. 08 Apr, 2016 2 commits
  13. 16 Feb, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      cleanup ltsmin bindings · 9692d734
      Alexandre Duret-Lutz authored
      * python/spot/aux.py (rm_f): new function.
      * python/spot/ltsmin.i: Replace the %require magic by a simple function.
      Rewrite the %%dve magic.
      * tests/python/otfcrash.py: Simplify using spot.ltsmin.require()
      * tests/python/ltsmin.ipynb: Likewise, also add more text for the
      documentation.
      * NEWS: Adjust.
      9692d734
  14. 15 Feb, 2016 1 commit
  15. 03 Feb, 2016 1 commit
  16. 01 Feb, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      dot, hoa: default to "k" for kripke structure · 02b5460b
      Alexandre Duret-Lutz authored
      * spot/twaalgos/dot.cc, spot/twaalgos/hoa.cc: If a Kripke
      structure is passed, automatically enable the "k" option.
      * tests/core/parse_print_test.cc, tests/ltsmin/modelcheck.cc,
      tests/python/ltsmin.ipynb: Remove the explicit use of "k".
      * NEWS: Mention the change.
      02b5460b
    • Alexandre Duret-Lutz's avatar
      dot: add option "k" · a9b4560f
      Alexandre Duret-Lutz authored
      Fixes #134.
      
      * spot/twaalgos/dot.cc: Implement it.
      * bin/common_aoutput.cc, spot/twaalgos/dot.hh, NEWS: Document it.
      * tests/core/readsave.test, tests/python/ltsmin.ipynb: Test it.
      a9b4560f
  17. 29 Jan, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      dot: add a <N option · b11c07b3
      Alexandre Duret-Lutz authored
      * spot/twaalgos/dot.cc: Implement it.
      * spot/taalgos/dot.cc: Ignore it.
      * spot/twaalgos/copy.cc, spot/twaalgos/copy.hh: Add option
      to limit the number of states.
      * tests/python/ltsmin.ipynb: Improve test case.
      * tests/Makefile.am: Cleanup the files generated by ltsmin.ipynb.
      * python/spot/__init__.py (setup): Add a max_states argument
      that default to 50.
      * bin/common_aoutput.cc: Mention the <INT option.
      * NEWS: Likewise.
      b11c07b3
  18. 28 Jan, 2016 1 commit
  19. 26 Jan, 2016 3 commits
    • Alexandre Duret-Lutz's avatar
      ltsmin: add accessors for variable names and types · db1e842a
      Alexandre Duret-Lutz authored
      * spot/ltsmin/ltsmin.hh, spot/ltsmin/ltsmin.cc: Expose more of the
      ltsmin interface.
      * python/spot/ltsmin.i: Add some helper functions on top of this
      new interface.
      * tests/python/ltsmin.ipynb: Test them.
      * NEWS: Mention it.
      db1e842a
    • Alexandre Duret-Lutz's avatar
      ltsmin: implement a two-step loading · 907b72fb
      Alexandre Duret-Lutz authored
      * spot/ltsmin/ltsmin.cc, spot/ltsmin/ltsmin.hh: Split load_ltsmin() into
      ltsmin_model::load() and ltsmin_model::kripke().  Report errors using
      exceptions instead of on std::cerr.
      * python/spot/ltsmin.i: Deal with exceptions.
      * tests/ltsmin/modelcheck.cc, tests/python/ltsmin.ipynb: Adjust.
      907b72fb
    • Alexandre Duret-Lutz's avatar
      python: add bindings for ltsmin · 5a9b0aa1
      Alexandre Duret-Lutz authored
      * python/spot/ltsmin.i: New file.
      * python/Makefile.am: Add it.
      * python/spot/impl.i: Add bindings for kripke and fair_kripke.
      * tests/python/ltsmin.ipynb: New file.
      * tests/Makefile.am, doc/org/tut.org: Add it.
      * tests/python/ipnbdoctest.py: Make it possible for notebook
      to exit(77).
      * debian/control: Make the Python package dependent
      on libspotltsmin0.
      * python/spot/__init__.py: Typo.
      5a9b0aa1