- 08 Mar, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
Follow-up to an email from Ayrat Khalimov. * python/spot/impl.i: Include twa/formula2bdd.hh. * python/spot/__init__.py: Make the dictionnary optional. * spot/twa/formula2bdd.cc: Throw an exception instead of asserting. * tests/python/bdditer.py: New file. * tests/Makefile.am: Add it. * NEWS: Update.
-
- 18 Jan, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
* python/spot/__init__.py (show_mp_hierarchy, mp_hierarchy_svg): New functions. * tests/python/formulas.ipynb: Illustrate show_mp_hierarchy. * python/ajax/spotcgi.in: Use mp_hierarchy_svg. * python/ajax/css/trans.css: Adjust for possible overflows. * NEWS: Mention this new feature.
-
- 06 Jan, 2017 4 commits
-
-
Alexandre GBAGUIDI AISSE authored
* python/spot/__init__.py: Handle options. * spot/twaalgos/dtwasat.cc: Handle options. * spot/twaalgos/postproc.cc: Handle options. * spot/twaalgos/postproc.hh: Handle options. * tests/core/satmin.test: Update tests. Now use 'sat-minimize=4' to use the naive algo. * tests/core/satmin2.test: Update tests. Now use --sat-minimize='naive' to use the naive algo. * tests/python/satmin.py: Update tests. Now use 'naive=True' to use the naive algo.
-
Alexandre GBAGUIDI AISSE authored
* python/spot/__init__.py: Handle 'dicho' option in 'sat_minimize'. * spot/priv/satcommon.cc: Implement get_number_of_distinct_vals. * spot/priv/satcommon.hh: Declare get_number_of_distinct_vals. * spot/twaalgos/dtbasat.cc: Use get_number_of_distinct_vals. * spot/twaalgos/dtbasat.hh: Change dichotomy function's prototype. * spot/twaalgos/dtwasat.cc: Use get_number_of_distinct_vals. * spot/twaalgos/dtwasat.hh: Change dichotomy function's prototype. Handle options. * spot/twaalgos/postproc.cc: Handle options. * spot/twaalgos/postproc.hh: Add dicho_langmap_ var for options. * tests/core/satmin2.test: Add tests for dichotomy. * tests/core/satmin.test: Add tests for dichotomy. * tests/python/satmin.py: Replace 'dichotomy' with 'dicho' option.
-
Alexandre GBAGUIDI AISSE authored
* python/spot/__init__.py: Add 'assume' option. * spot/misc/satsolver.cc: Add function to handle assumptions. * spot/misc/satsolver.hh: Declare assumption function. * spot/twaalgos/dtbasat.cc: Implement dtba_sat_minimize_assume. * spot/twaalgos/dtbasat.hh: Declare it. * spot/twaalgos/dtwasat.cc: Implement dtwa_sat_minimize_assume and handle options. * spot/twaalgos/dtwasat.hh: Declare it. * spot/twaalgos/postproc.cc: Handle options. * spot/twaalgos/postproc.hh: Use param_ var for incr and assume. * tests/core/satmin.test: Add tests for the new function. * tests/core/satmin2.test: Add tests for the new function. * tests/python/satmin.py: Add tests for the new function.
-
Alexandre GBAGUIDI AISSE authored
* python/spot/__init__.py: Add 'incr' boolean argument. * spot/twaalgos/dtbasat.cc: Implement dtba_sat_minimize_incr(...). * spot/twaalgos/dtbasat.hh: Declare it. * spot/twaalgos/dtwasat.cc: Implement dtwa_sat_minimize_incr(...) and deal with options. * spot/twaalgos/dtwasat.hh: Declare it. * spot/twaalgos/postproc.cc: Add option --sat-minimize=incr. * spot/twaalgos/postproc.hh: Add incr parameter. * tests/core/satmin.test: Add tests for incremental version. Update expected result. * tests/core/satmin2.test: Add tests for incremental version. * tests/python/satmin.py: Add tests for incremental version.
-
- 15 Dec, 2016 2 commits
-
-
Alexandre Duret-Lutz authored
* python/spot/__init__.py (automata): Do not create a session for every command, this is only needed if automata() is run with a timeout parameter. * python/ajax/spotcgi.in: Adjust exclude the main process from the process group, so that only children are killed on SIGALRM. * NEWS: Mention the bug.
-
Alexandre Duret-Lutz authored
* python/spot/__init__.py (automata): Do not create a session for every command, this is only needed if automata() is run with a timeout parameter. * python/ajax/spotcgi.in: Adjust exclude the main process from the process group, so that only children are killed on SIGALRM. * NEWS: Mention the bug.
-
- 25 May, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/tl/contain.cc, spot/tl/contain.hh: Simplify the use of language_containment_checker by adding default argument. * python/spot/__init__.py, python/spot/impl.i: Bind it in Python. * doc/org/tut04.org: New file to illustrate it. * doc/org/tut.org, doc/Makefile.am: Add it. * NEWS: Mention those changes.
-
- 01 May, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #168. * python/spot/__init__.py: Implement it. * tests/python/formulas.ipynb: Test it. * NEWS: Mention it.
-
- 07 Mar, 2016 1 commit
-
-
* spot/twaalgos/word.hh: add parse_word method and a new constructor * spot/twaalgos/word.cc: implement word parsing * python/spot/__init__.py: add parse_word method binding * tests/python/word.ipynb: add word parsing tests
-
- 16 Feb, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
* python/spot/aux.py: New file, with function extracted from... * python/spot/__init__.py: ... here. * python/.gitignore, python/Makefile.am: Adjust.
-
- 12 Feb, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
* python/spot/__init__.py (translate): Mention 'generic' in doc string.
-
- 05 Feb, 2016 2 commits
-
-
Alexandre Duret-Lutz authored
This fixes the output gliches visible in the previous patches, where highlighting a state would remove its fill color. * spot/twaalgos/dot.cc, spot/taalgos/dot.cc: Implement option C(COLOR). * bin/common_aoutput.cc, doc/org/oaut.org: Document it. * doc/org/.dir-locals.el.in, doc/org/init.el.in, python/spot/__init__.py: Use it. * tests/python/automata-io.ipynb, tests/python/automata.ipynb, tests/python/highlighting.ipynb: Test it. * tests/core/readsave.test: Adjust. * NEWS: Mention recent changes.
-
Alexandre Duret-Lutz authored
* python/spot/impl.i (highlight_state, highlight_edge): New function. * python/spot/__init__.py (highlight_states, highlight_edges): New functions. * spot/twaalgos/dot.cc: Add a '#' option. * spot/taalgos/dot.cc: Ignore '#'. * tests/python/highlighting.ipynb: New file to illustrate everything. * tests/Makefile.am, doc/org/tut.org: Add it.
-
- 29 Jan, 2016 1 commit
-
-
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.
-
- 26 Jan, 2016 2 commits
-
-
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.
-
Alexandre Duret-Lutz authored
* python/spot.py, python/spot_impl.i: Rename as... * python/spot/__init__.py, python/spot/impl.i: ... these. * python/Makefile.am, tests/run.in: Adjust for new paths. * tests/python/automata-io.ipynb, tests/python/automata.ipynb, tests/python/decompose.ipynb, tests/python/piperead.ipynb, tests/python/testingaut.ipynb: Adjust messages to refer to spot.impl instead of spot_impl.
-
- 23 Jan, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #132. * python/spot.py (translate): Allow changing the dictionary. * tests/python/prodexpt.py: New file. * tests/Makefile.am: Add it. * spot/twa/twaproduct.cc, spot/twaalgos/product.cc: Add them. * NEWS: Mention the change.
-
- 21 Jan, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 25 Dec, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* wrap/python/: Rename to... * python/: ... this. * wrap/: Delete. * Makefile.am, README, configure.ac, debian/python3-spot.examples, debian/rules, doc/org/.dir-locals.el.in, doc/org/init.el.in, spot/sanity/ipynb.test: Adjust.
-
- 17 Nov, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* NEWS: Mention it. * wrap/python/spot.py: Rewrite the sat_minimize() function. * wrap/python/tests/satmin.py: New file. * wrap/python/tests/Makefile.am (TESTS): Add it.
-
- 13 Nov, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* wrap/python/spot.py: Here. * wrap/python/tests/decompose.ipynb: Use it to simplify the code.
-
- 05 Nov, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #117. * wrap/python/spot.py, wrap/python/spot_impl.i: Add binding. * wrap/python/tests/remfin.py: Add a small test case. * NEWS: Mention it.
-
- 26 Oct, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* src/parseaut/public.hh, src/parseaut/parseaut.yy, src/parseaut/fmterror.cc: Add a raise_errors options. Remove the parse_strict() method. Store parse errors and filename in the output parsed_aut to simplify usage. * doc/org/tut20.org, doc/org/tut21.org, doc/org/tut30.org, src/bin/autfilt.cc, src/bin/common_hoaread.cc, src/bin/dstar2tgba.cc, src/bin/ltlcross.cc, src/bin/ltldo.cc, src/tests/complementation.cc, src/tests/ikwiad.cc, src/tests/ltlcross3.test, src/tests/ltldo.test, wrap/python/spot.py, wrap/python/tests/parsetgba.py: Adjust usage. * NEWS: Mention the changes.
-
- 23 Oct, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
Doing so also work around some differences between Swig 3.0.2 and 3.0.7 observed on our build farm. * wrap/python/spot.py: Here. * wrap/python/spot_impl.i: Recognize None as a null formula on input.
-
Alexandre Duret-Lutz authored
Fixes #114. * src/parseaut/public.hh: Add support for a trust_hoa option. * src/parseaut/parseaut.yy: If trust_hoa is set, recognize the "inherently-weak" and "stutter-invariant" properties. * src/bin/common_conv.cc, src/bin/common_conv.hh (read_automaton): Move... * src/bin/common_hoaread.cc, src/bin/common_hoaread.hh: ... in this new file, that also handle the --trust-hoa option. * src/bin/Makefile.am: Add them. * src/bin/autfilt.cc, src/bin/dstar2tgba.cc, src/bin/ltlcross.cc, src/bin/ltldo.cc: Use them. * src/tests/parseaut.test, src/tests/ltldo.test: Adjust, and test --trust-hoa=no. * src/tests/complement.test, src/tests/prodor.test, src/tests/sbacc.test: Adjust. * wrap/python/spot.py (automata): Add option trust_hoa. * NEWS: Update.
-
Alexandre Duret-Lutz authored
* src/parseaut/public.hh, src/parseaut/parseaut.yy: Make it easier to pass new options to the parser. * src/tests/ikwiad.cc, wrap/python/spot.py: Adjust.
-
- 22 Oct, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 21 Oct, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* wrap/python/spot.py: Implement it. Also report non-zero exit using CalledProcessError. * wrap/python/tests/automata-io.ipynb, wrap/python/tests/piperead.ipynb: Adjust. * NEWS: Mention the change.
-
- 20 Oct, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* wrap/python/spot.py: Fix bindings for scc_filter. * wrap/python/tests/remfin.py: Test them.
-
- 19 Oct, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
This simplifies the use of the spot.postprocessor object. * wrap/python/spot.py: Add it. * wrap/python/tests/automata.ipynb: Use it. * NEWS: Mention it.
-
- 18 Oct, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
* doc/org/tut01.org, doc/tl/tl.tex, src/bin/common_r.hh, src/bin/ltlfilt.cc, src/tests/equalsf.cc, src/tests/ikwiad.cc, src/tests/randtgba.cc, src/tests/reduc.cc, src/tests/syntimpl.cc, src/tl/nenoform.cc, src/tl/randomltl.cc, src/tl/randomltl.hh, src/tl/simplify.cc, src/tl/simplify.hh, src/twaalgos/ltl2tgba_fm.cc, src/twaalgos/ltl2tgba_fm.hh, src/twaalgos/stutter.cc, src/twaalgos/translate.cc, src/twaalgos/translate.hh, wrap/python/ajax/spotcgi.in, wrap/python/spot.py, wrap/python/tests/interdep.py: Rename ltl_simplifier to tl_simplifier. * NEWS: Mention it.
-
Alexandre Duret-Lutz authored
* wrap/python/spot.py: Add the unabbreviate() method, and remove unabbrivate_ltl() and get_literal(). * wrap/python/tests/randltl.ipynb: Demonstrate unabbreviate().
-
- 08 Oct, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* wrap/python/spot.py: Use a decorator to extend classes. * wrap/python/tests/formulas.ipynb: Adjust expected help text.
-
- 04 Oct, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
* wrap/python/spot.py: Better docstrings. * wrap/python/tests/formulas.ipynb: Update.
-
Alexandre Duret-Lutz authored
-
- 03 Oct, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #105. * src/bin/common_trans.cc (quote_shell_string): Move ... * src/misc/escape.cc, src/misc/escape.hh (quote_shell_string): ... here. * wrap/python/spot_impl.i: Wrap escape.hh. * wrap/python/spot.py: Implement formula.__format__. * wrap/python/tests/ltlsimple.py: Test it. * NEWS, doc/org/tut01.org, wrap/python/tests/formulas.ipynb: Document it.
-