- 09 Mar, 2017 2 commits
-
-
Alexandre Duret-Lutz authored
* python/spot/impl.i: Here. * tests/python/declenv.py: New file. * tests/Makefile.am: Add it.
-
Thomas Medioni authored
Fixes #231. * NEWS: Mention of implementation of sum, sum_and. * bin/autfilt.cc: Add --sum, --sum-or and --sum-and options. * python/spot/impl.i: Add bindings for sum, sum_and. * spot/twaalgos/Makefile.am: Add sum.cc, sum.hh. * spot/twaalgos/sum.cc: Implement sum, sum_and. * spot/twaalgos/sum.hh: Declaration of sum, sum_and. * tests/Makefile.am: Add sum tests. * tests/core/explsum.test: Test the sum of two automatons, false or false, unsatisfied mark propagation, handling of univ. transitions. * tests/python/sum.py: Check that two automatons that does not share their bdd dict are not accepted, then run tests over the sum of randomly generated LTL formulas.
-
- 08 Mar, 2017 4 commits
-
-
Alexandre Duret-Lutz authored
* python/spot/impl.i: Here. * NEWS: Mention it.
-
Alexandre Duret-Lutz authored
* python/spot/impl.i: Here. * NEWS: Mention it.
-
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.
-
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.
-
- 07 Mar, 2017 2 commits
-
-
Alexandre Duret-Lutz authored
The goal is to improve coverage stats, but I discovered two issues while doing so. * tests/python/twagraph.py: New test case. * tests/Makefile.am: Add it. * spot/twa/twagraph.hh: Add fix typos in error messages. * python/spot/impl.i: Fix broken wrappers for state_from_number and state_acc_sets.
-
Alexandre Duret-Lutz authored
The goal is to improve coverage stats, but I discovered two issues while doing so. * tests/python/twagraph.py: New test case. * tests/Makefile.am: Add it. * spot/twa/twagraph.hh: Add fix typos in error messages. * python/spot/impl.i: Fix broken wrappers for state_from_number and state_acc_sets.
-
- 20 Feb, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
Related to #172, where we discussed that scc_info bindings were missing. * spot/twaalgos/sccinfo.hh (spot::scc_info::scc_node): Move... (spot::scc_info_node): ... here to help Swig. * python/spot/impl.i: Add bindings for scc_info. * tests/python/sccinfo.py: New file. * tests/Makefile.am: Add it.
-
- 14 Jan, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
* bin/common_output.cc: Move some of the printing code... * spot/tl/hierarchy.cc, spot/tl/hierarchy.hh: ... here, as new variants of mp_class... * python/spot/impl.i: ... that we can now call from Python. * python/ajax/spotcgi.in: Use those to simplify and extend the code printing class membership.
-
- 06 Jan, 2017 1 commit
-
-
Alexandre GBAGUIDI AISSE authored
* python/spot/impl.i: Add python bindings. * spot/twaalgos/langmap.cc: Implement algo. * spot/twaalgos/langmap.hh: Declare algo. * spot/twaalgos/Makefile.am: Add new files. * tests/python/langmap.py: Add tests. * NEWS: Update.
-
- 27 Dec, 2016 3 commits
-
-
Alexandre Duret-Lutz authored
This should will come handy to implement the convertion from LTL to alternating automata, and to handle automata with multiple initial states. * spot/twaalgos/alternation.hh, spot/twaalgos/alternation.cc: New files. * spot/twaalgos/Makefile.am: Add them. * python/spot/impl.i: Add bindings. * tests/python/alternating.py: Test states_and.
-
Alexandre Duret-Lutz authored
The only missing point is that the HOA parser cannot deal with multiple universal initial states, as seen in parseaut.test. * spot/graph/graph.hh (new_univ_dests): New function, extracted from... (new_univ_edge): ... this one. * spot/twa/twagraph.hh (set_univ_init_state): Implement using new_univ_dests. * spot/twaalgos/dot.cc, spot/twaalgos/hoa.cc, python/spot/impl.i: Add support for universal initial states. * spot/parseaut/parseaut.yy: Add preliminary support for universal initial states. Multiple universal initial states are still not supported. * tests/core/alternating.test, tests/core/parseaut.test, tests/python/alternating.py: Adjust tests and exercise this new feature.
-
Alexandre Duret-Lutz authored
This only allows creating universal edges, and reading the associated destinations. * spot/twa/twagraph.hh (new_univ_edges, univ_dests, is_alternating): New function. * python/spot/impl.i: Add Python bindings. * tests/python/alternating.py: New file. * tests/Makefile.am: Add it.
-
- 05 Nov, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #187. * spot/tl/ltlf.cc, spot/tl/ltlf.hh: New files. * spot/tl/Makefile.am: Add them. * bin/ltlfilt.cc: Add a new option. * bin/man/ltlfilt.x: Add bibliographic reference. * tests/core/ltlfilt.test: Add more tests. * tests/python/ltlf.py: New file. * tests/Makefile.am: Add it. * python/spot/impl.i: Python bindings. * NEWS: Mention it.
-
- 29 Jul, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
Reported by Laurent Xu. * python/spot/impl.i: Fix the iterator to return pointers instead of references. Because references are ultimately copied. * tests/python/automata.ipynb: Add test cases. * NEWS: Mention it.
-
- 19 Jul, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
* python/spot/impl.i: Here. * NEWS: Mention it. * tests/python/highlighting.ipynb: Add test case.
-
- 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.
-
- 22 Apr, 2016 2 commits
-
-
Alexandre Duret-Lutz authored
* python/spot/impl.i: Here. * tests/python/automata.ipynb: Use it. * NEWS: Mention it.
-
Alexandre Duret-Lutz authored
* python/spot/impl.i: Here. * tests/python/automata.ipynb: Use it. * NEWS: Mention it.
-
- 08 Apr, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #159. * python/spot/ltsmin.i: Here. * python/spot/impl.i: Disable duplicate instantiation. * tests/python/ltsmin.ipynb: Test it.
-
- 10 Mar, 2016 1 commit
-
-
Laurent XU authored
* spot/twa/twagraph.hh (edges): Do not hide from SWIG. * spot/graph/graph.hh: Hide stuff that SWIG do not understand. * python/spot/impl.i: Add some typemaps and fragment to iterate over the result of twa_graph::edges().
-
- 17 Feb, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
This gets the interface of all the functions parsing formula in line with the interface of the automaton parser: both return a "parsed_*" object (parsed_formula or parsed_automaton) that contains the said object and its list of errors. Doing so avoid having to declare the parse_error_list in advance. * spot/tl/parse.hh, spot/parsetl/parsetl.yy: Do the change. * spot/parsetl/fmterror.cc: Adjust the error printer. * NEWS: Document it. * bin/common_finput.cc, bin/common_finput.hh, bin/ltlcross.cc, bin/ltldo.cc, bin/ltlfilt.cc, doc/org/tut01.org, doc/org/tut02.org, doc/org/tut10.org, doc/org/tut20.org, python/ajax/spotcgi.in, python/spot/impl.i, spot/parseaut/parseaut.yy, tests/core/checkpsl.cc, tests/core/checkta.cc, tests/core/consterm.cc, tests/core/emptchk.cc, tests/core/equalsf.cc, tests/core/ikwiad.cc, tests/core/kind.cc, tests/core/length.cc, tests/core/ltlprod.cc, tests/core/ltlrel.cc, tests/core/randtgba.cc, tests/core/readltl.cc, tests/core/reduc.cc, tests/core/safra.cc, tests/core/syntimpl.cc, tests/core/tostring.cc, tests/ltsmin/modelcheck.cc, tests/python/alarm.py, tests/python/interdep.py, tests/python/ltl2tgba.py, tests/python/ltlparse.py: Adjust all uses.
-
- 12 Feb, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/twa/twasafracomplement.cc, spot/twa/twasafracomplement.hh, tests/core/complementation.cc: Delete. * tests/Makefile.am, spot/twa/Makefile.am: Adjust. * tests/core/complementation.test: Rewrite using the new determinization code. * python/spot/impl.i: Do not mention twa_safra_complement anymore. * NEWS: Mention the removal.
-
- 05 Feb, 2016 1 commit
-
-
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.
-
- 31 Jan, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #133. * python/spot/impl.i: Add bindings for twa_word. Add a __repr__ for twa_run, and instantiate templates for twa_run's members. * tests/python/word.ipynb: New file with examples. * tests/Makefile.am, doc/org/tut.org: Add it.
-
- 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.
-
- 13 Jan, 2016 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/misc/trival.hh: New file. * spot/misc/Makefile.am: Add it. * python/spot_impl.i: Add Python bindings. * tests/core/trival.cc, tests/core/trival.test, tests/python/trival.py: New files, testing it. * tests/Makefile.am: Add them.
-
- 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.
-
- 24 Dec, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* wrap/python/tests/product.ipynb: New file. * wrap/python/tests/Makefile.am, doc/org/tut.org: Add it. * wrap/python/tests/ipnbdoctest.py: Ignore %timeit results. * wrap/python/spot_impl.i: Add bindings for set_state_names()/get_state_names(). * spot/twaalgos/product.cc: Fix computation of properties. * doc/org/hoa.org: Name. * NEWS: Update.
-
- 18 Dec, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
* spot/twa/acc.hh, spot/twa/acc.cc (parse_acc_code): Rename as... (acc_cond::acc_code): ... this, making it a lot easier to build acceptance conditions from strings. * NEWS: Mention the change. * spot/twaalgos/dtwasat.cc, spot/bin/randaut.cc, spot/tests/acc.cc: Adjust. * wrap/python/tests/acc_cond.ipynb, wrap/python/tests/accparse.ipynb, wrap/python/tests/accparse2.py: Simplify, but not completely to exercise all variants. * wrap/python/spot_impl.i: Make acc_code's constructor implicit.
-
Alexandre Duret-Lutz authored
* spot/twa/acc.hh: Here. * wrap/python/spot_impl.i: Adjust for the strange return type of unsat_mark(). * wrap/python/tests/acc_cond.ipynb: Augment.
-
Alexandre Duret-Lutz authored
* wrap/python/spot_impl.i: Here. * wrap/python/tests/acc_cond.ipynb: Document it. * spot/twa/acc.cc (is_parity): Always initialize max.
-
- 17 Dec, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/twa/acc.cc, spot/twa/acc.hh: Here. * spot/parseaut/parseaut.yy, spot/twa/acc.hh, spot/twaalgos/gtec/gtec.cc, spot/twaalgos/hoa.cc, spot/twaalgos/neverclaim.cc, spot/twaalgos/product.cc, spot/twaalgos/remfin.cc, spot/twaalgos/strength.cc: Adjust. * NEWS: Mention the changes. * wrap/python/spot_impl.i: Bind acc_cond the printer. * wrap/python/tests/acc_cond.ipynb: Add more examples.
-
- 16 Dec, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* wrap/python/tests/acc_cond.ipynb: New file. * wrap/python/tests/Makefile.am, doc/org/tut.org: Add it. * wrap/python/spot_impl.i: Add printer for acc_cond::mark_t.
-
- 15 Dec, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* wrap/python/spot_impl.i: Extend acc_cond::mark_t to with a constructor that takes a vector. * doc/org/tut22.org: Add a Python version. * doc/org/tut.org: Adjust the list, we don't have any C++-specific example. * NEWS: Mention it.
-
- 14 Dec, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #118. * spot/twa/twagraph.hh: Avoid using graph_t::state to help Swig. * wrap/python/spot_impl.i: Add a __str__ function for acc_cond::mark_t. * doc/org/tut21.org: Add the Python version. * doc/org/tut.org: Move tut21.org to the Python/C++ section. * NEWS: Update.
-
- 11 Dec, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
* spot/twa/twagraph.hh (out): Do not hide from SWIG. * spot/graph/graph.hh: Hide stuff that SWIG do not understand. * wrap/python/spot_impl.i: Add some typemaps and fragment to iterate over the result of twa_graph::out().
-
Alexandre Duret-Lutz authored
-