- 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
-
- 10 Dec, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* wrap/python/spot_impl.i: Get rid of some warnings about missing typecheck for spot::formula.
-
- 04 Dec, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* NEWS: Mention the change. * src/: Rename as ... * spot/: ... this, adjust all headers to include <spot/...> instead of "...", and adjust all Makefile.am to search headers from the top-level directory. * HACKING: Add conventions about #include. * spot/sanity/style.test: Add a few more grep to catch cases that do not follow these conventions. * .gitignore, Makefile.am, README, bench/stutter/Makefile.am, bench/stutter/stutter_invariance_formulas.cc, bench/stutter/stutter_invariance_randomgraph.cc, configure.ac, debian/rules, doc/Doxyfile.in, doc/Makefile.am, doc/org/.dir-locals.el.in, doc/org/g++wrap.in, doc/org/init.el.in, doc/org/tut01.org, doc/org/tut02.org, doc/org/tut03.org, doc/org/tut10.org, doc/org/tut20.org, doc/org/tut21.org, doc/org/tut22.org, doc/org/tut30.org, iface/ltsmin/Makefile.am, iface/ltsmin/kripke.test, iface/ltsmin/ltsmin.cc, iface/ltsmin/ltsmin.hh, iface/ltsmin/modelcheck.cc, wrap/python/Makefile.am, wrap/python/ajax/spotcgi.in, wrap/python/spot_impl.i, wrap/python/tests/ltl2tgba.py, wrap/python/tests/randgen.py, wrap/python/tests/run.in: Adjust.
-
- 28 Nov, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #4 and fixes #5. * NEWS: Mention the change. * src/kripkeparse/: Delete. * README, src/Makefile.am, configure.ac: Adjust. * src/kripke/kripkeexplicit.cc, src/kripke/kripkeexplicit.hh, src/kripke/kripkeprint.cc, src/kripke/kripkeprint.hh: Delete. * src/kripke/kripkegraph.hh: New file. * src/kripke/Makefile.am: Adjust. * src/parseaut/parseaut.yy, src/parseaut/public.hh: Add an option to read kripke structures. * src/tests/bad_parsing.test: Delete. * src/tests/Makefile.am: Adjust. * src/tests/kripke.test, src/tests/parse_print_test.cc: Rewrite. * src/tests/ikwiad.cc, src/tests/parseaut.test, iface/ltsmin/modelcheck.cc, wrap/python/spot_impl.i: Adjust.
-
- 24 Nov, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* src/twaalgos/dtgbasat.cc, src/twaalgos/dtgbasat.hh: Rename as... * src/twaalgos/dtwasat.cc, src/twaalgos/dtwasat.hh: ... these. * src/bin/autfilt.cc, src/tests/ikwiad.cc, src/twaalgos/Makefile.am, src/twaalgos/postproc.cc, wrap/python/spot_impl.i: Adjust. * NEWS: Mention the renamings.
-
- 07 Nov, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* src/twaalgos/safety.cc, src/twaalgos/safety.hh: Rename as ... * src/twaalgos/strength.cc, src/twaalgos/strength.hh: ... these. * src/bin/ltlfilt.cc, src/tests/ikwiad.cc, src/twaalgos/Makefile.am, src/twaalgos/compsusp.cc, src/twaalgos/minimize.cc, wrap/python/spot_impl.i: Adjust.
-
- 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.
-
- 29 Oct, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* src/twaalgos/emptiness.hh, src/twaalgos/emptiness.cc: Declare the operator<< for twa_run, not for twa_run_ptr (the shared_ptr automatically forward operator<<). * wrap/python/spot_impl.i: Add __str__ to twa_run, not twa_run_ptr.
-
- 25 Oct, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
This simplify all laters invocations, because we do not have to pass the automaton the run was generated on. This fixes #113 by allowing the __str__ function to be implemented on runs. * src/twaalgos/emptiness.cc, src/twaalgos/emptiness.hh (twa_run): Store the automaton. (prin_twa_run): Rewrite as an overloaded <<. * src/twaalgos/reducerun.cc, src/twaalgos/reducerun.hh (reduce_run): Do not like the automaton as a parameter. * src/twaalgos/replayrun.cc, src/twaalgos/replayrun.hh (replay_twa_run): Likewise. * src/bin/common_aoutput.hh, src/bin/ltlcross.cc, src/tests/complementation.cc, src/tests/ikwiad.cc, src/tests/randtgba.cc, src/twaalgos/gtec/ce.cc, src/twaalgos/gv04.cc, src/twaalgos/magic.cc, src/twaalgos/ndfs_result.hxx, src/twaalgos/se05.cc, src/twaalgos/projrun.cc: Adjust. * wrap/python/ajax/spotcgi.in: Add a __str__ function to twa_run_ptr. * wrap/python/spot_impl.i: Adjust.
-
- 24 Oct, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
Part of #113. * src/twaalgos/emptiness.cc, src/twaalgos/emptiness.hh (tgba_run): Rename as ... (twa_run): ... this. * NEWS: Mention it. * iface/ltsmin/modelcheck.cc, src/tests/complementation.cc, src/tests/emptchk.cc, src/tests/ikwiad.cc, src/tests/randtgba.cc, src/twa/twa.hh, src/twaalgos/bfssteps.cc, src/twaalgos/bfssteps.hh, src/twaalgos/gtec/ce.cc, src/twaalgos/gtec/ce.hh, src/twaalgos/gv04.cc, src/twaalgos/magic.cc, src/twaalgos/minimize.cc, src/twaalgos/ndfs_result.hxx, src/twaalgos/projrun.cc, src/twaalgos/projrun.hh, src/twaalgos/reducerun.cc, src/twaalgos/reducerun.hh, src/twaalgos/replayrun.cc, src/twaalgos/replayrun.hh, src/twaalgos/se05.cc, src/twaalgos/word.cc, src/twaalgos/word.hh, wrap/python/ajax/spotcgi.in, wrap/python/spot_impl.i: Adjust.
-
- 23 Oct, 2015 1 commit
-
-
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.
-
- 18 Oct, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* wrap/python/spot_impl.i (get_name, set_name): New methods for twa. * wrap/python/tests/remfin.py: Test them. * wrap/python/ajax/spotcgi.in: Use set_name(). * NEWS: Mention it.
-
- 13 Oct, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
The previous code was sometime doing the work of remove_fin() in addition to complementing the acceptance conditions. This separate the two operations clearly. Also the specialized code for complementing weak automata is now a specialized code for remove_fin() on weak automata. * src/twaalgos/dtgbacomp.hh, src/twaalgos/dtgbacomp.cc: Rename as ... * src/twaalgos/complement.hh, src/twaalgos/complement.cc: ... these. * src/twaalgos/Makefile.am: Adjust. * src/twaalgos/complement.hh (dtgba_complement): Rename as ... (dtwa_complement): ... this, and restrict the purpose to completion and accetance complementation. Further acceptance simplification can be done with remove_fin() and to_generalized_buchi(). * src/twaalgos/remfin.cc (remove_fin): Specialize handling of weak automata using the code that was originally in dtgba_complement(). Also mark the output as state-based when the input has to Inf. * src/twaalgos/postproc.cc, src/twaalgos/postproc.hh: Make sure scc_filter is always called after to_generalized_buchi(). * bench/stutter/stutter_invariance_randomgraph.cc, src/bin/ltlcross.cc, src/tests/ikwiad.cc, src/twaalgos/minimize.cc, src/twaalgos/powerset.cc, src/twaalgos/stutter.cc: Adjust usage. * src/tests/dstar.test, src/tests/ltl2dstar4.test, src/tests/remfin.test: Adjust expected outputs. * wrap/python/spot_impl.i: Export dtwa_complement().
-
- 03 Oct, 2015 3 commits
-
-
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.
-
Alexandre Duret-Lutz authored
* wrap/python/spot_impl.i: Map null formulas to None. * wrap/python/tests/randgen.py: New file. * wrap/python/tests/Makefile.am: Add it.
-
Alexandre Duret-Lutz authored
* src/twaalgos/complete.cc, src/twaalgos/complete.hh (tgba_complete, tgba_complete_here): Rename as... (complete, complete_here): ... these. Also fix useless output of acceptance marks on transition leading to the sink when the automaton does not use state-based acceptance. * src/tests/ikwiad.cc, src/twaalgos/dtgbacomp.cc, src/twaalgos/dtgbasat.cc, src/twaalgos/postproc.cc, src/twaalgos/product.cc: Adjust. * wrap/python/spot_impl.i: Export these function. * wrap/python/tests/automata.ipynb: Test spot.complete().
-