- 05 May, 2017 4 commits
-
-
Alexandre Duret-Lutz authored
Fixes #255. * spot/twaalgos/split.cc, spot/twaalgos/split.hh, tests/core/split.test: New files. * spot/twaalgos/Makefile.am, tests/Makefile.am: Add them. * bin/autfilt.cc (--split-edges): New option. * python/spot/impl.i: Process split.hh. * tests/python/alternating.py: Test split_edges() on an alternating automaton.
-
Alexandre Duret-Lutz authored
Fixes #257. * spot/twaalgos/degen.cc: Implement this optimization. * tests/core/degendet.test: Add a few test cases. * tests/core/ltl2tgba2.test: Adjust expected sizes. * NEWS: Mention the change.
-
Alexandre Duret-Lutz authored
* spot/twa/twagraph.cc, spot/twa/twagraph.hh (format_state): Honor the state-names and product-states properties. * tests/python/highlighting.ipynb: Adjust.
-
Alexandre Duret-Lutz authored
* spot/twa/twagraph.cc, spot/twa/twagraph.hh: Here. Also make sure "original-states" survives defrag_states(). * NEWS: Mention it. * tests/python/origstate.py: New file. * tests/Makefile.am: Add it.
-
- 04 May, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #259. * bin/common_setup.cc: Register a cleanup_tmpfiles() via atexit. * tests/core/ltldo.test: Add a test case. * NEWS: Mention the bug.
-
- 01 May, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #233, although more cleanup would be welcome. * spot/twaalgos/minimize.cc: Replace the uses of twa methods by twa_graph methods, and simplify some data structures. * tests/core/acc_word.test, tests/core/readsave.test, tests/python/automata.ipynb: Adjust changed output due to different data structures.
-
- 28 Apr, 2017 6 commits
-
-
Alexandre Duret-Lutz authored
* spot/gen/automata.hh, spot/gen/automata.cc, bin/genaut.cc: Introduce L_DSA. * tests/core/genaut.test: Add quick test.
-
Alexandre Duret-Lutz authored
* spot/gen/automata.cc: Set more properties. * tests/python/gen.py: Check that they are set.
-
Alexandre Duret-Lutz authored
* spot/gen/automata.cc, spot/gen/automata.hh: Define AUT_L_NBA. * bin/genaut.cc (--l-nba): New option. * bin/man/genaut.x, doc/org/genaut.org, NEWS: Document it. * tests/python/gen.py, tests/core/genaut.test: Test it.
-
Alexandre Duret-Lutz authored
* spot/gen/automata.hh (aut_pattern): Add the dict argument. * spot/gen/automata.cc, python/spot/gen.i: Adjust. * tests/python/gen.py: Make sure two automata built without specifying any dictionary share the same one.
-
Alexandre Duret-Lutz authored
* spot/gen/automata.hh, spot/gen/automata.cc: Hide ks_cobuchi() behind introduce aut_pattern(), as we have already done for the formulas. * bin/genaut.cc: Simplify using this interface. * python/spot/gen.i: Introduce aut_patterns(). * tests/python/gen.ipynb, tests/python/gen.py: Adjust.
-
Alexandre Duret-Lutz authored
This helps with autocompletion in IPython, and it will prevent us from mixing LTL patterns with automata patterns (once we have more than one automata generator). * spot/gen/formulas.hh: Here. * spot/gen/formulas.cc, bin/genltl.cc, tests/python/gen.ipynb, tests/python/gen.py: Adjust.
-
- 26 Apr, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/gen/formulas.hh, spot/gen/formulas.cc (genltl): Rename as... (ltl_pattern): This. (ltl_pattern_max): New function. * bin/genltl.cc: Adjust names, and simplify using ltl_pattern_max(). * python/spot/gen.i (ltl_patterns): New function. * tests/python/gen.py: Test it. * tests/python/gen.ipynb: New file to document the spot.gen package. * tests/Makefile.am, doc/org/tut.org: Add gen.ipynb.
-
- 25 Apr, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #254. * spot/gen/formulas.cc, spot/gen/formulas.hh: New files. * spot/gen/Makefile.am: Add them. * spot/Makefile.am: Fix build order. * bin/genltl.cc: Move most code to the above files and adjust. * bin/Makefile.am: Link genltl with libspotgen. * doc/org/arch.tex: Adjust picture to show that genltl uses libspotgen. * python/spot/gen.i: Include formulas.hh. * tests/python/gen.py: Make sure genltl() and ltl_pattern_name() can be called.
-
- 24 Apr, 2017 1 commit
-
-
Maximilien Colange authored
* tests/python/gen.py: implement the check.
-
- 23 Apr, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
For #254. * python/spot/gen.i, tests/python/gen.py: New files. * python/Makefile.am, tests/Makefile.am: Adjust. * NEWS: Mention the spot.gen python package.
-
- 22 Apr, 2017 3 commits
-
-
Alexandre Duret-Lutz authored
* spot/gen/automata.hh: State the precondition. * spot/gen/automata.cc: Catch n==0. * tests/core/genaut.test: Test it.
-
Alexandre Duret-Lutz authored
* tests/sanity/bin.test: New file. * tests/Makefile.am: Run it.
-
Alexandre Duret-Lutz authored
* bin/genaut.cc: Use RANGE instead of N, and document it. Output the FORMAT documentation, and fix handling of %F and %L. * tests/core/genaut.test: New file. * tests/Makefile.am: Add it.
-
- 21 Apr, 2017 1 commit
-
-
Thomas Medioni authored
Adds the method spot::acc_cond::is_streett_like() that behaves like spot::acc_cond::is_streett() except that it works on a wider range of acceptance conditions, called Streett-like. Also adds spot::acc_cond::streett_like_pairs() that returns a boolean assessing whether the acceptance condition is Streett-like and also returns all the Streett_like pairs. Defines the new struct type spot::acc_cond::rs_pair. Similarily, Adds the methods spot::acc_cond::is_rabin_like() and spot::acc_cond::rabin_like_pairs(). * NEWS: Mention this modification * python/spot/impl.i: Declares the new struct to SWIG, and defines the streett_like_pairs() vector as an output parameter, which makes the python code return a tuple (boolean, vector) rather than a pass-by-reference vector. * spot/twa/acc.cc, spot/twa/acc.hh: Declares an implements the new methods and the new nested struct. * tests/Makefile.am: Add new tests to the suite * tests/python/rs_like.py: Tests the new methods and the SWIG bindings.
-
- 20 Apr, 2017 2 commits
-
-
Alexandre Duret-Lutz authored
* spot/twaalgos/degen.cc, spot/twaalgos/degen.hh, spot/twaalgos/mask.hh: Store original states in "original-states" properties. * spot/twaalgos/dot.cc: Add support for option 'd'. * bin/common_aoutput.cc: Document it. * doc/org/concepts.org, NEWS: Document "original-states". * tests/core/readsave.test: Add some tests.
-
Thomas Medioni authored
spot::mark_t::sets() was modified so that it now returns an iterable object rather than an std::vector<unsigned>. * NEWS: Mention the modification. * python/spot/impl.i: Declares mark_container as iterable to SWIG. * spot/parseaut/parseaut.yy: Adapts to the modification. * spot/twa/acc.hh: Implement the modification. * tests/python/acc_cond.ipynb: Adapts to the modification.
-
- 19 Apr, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
Reported by Thibaud Michaud * spot/twaalgos/sbacc.cc: Do not label rejecting SCCs with the empty mark, as it might be accepting. * tests/core/sbacc.test: Add test cases. * NEWS: Mention the bug.
-
- 07 Apr, 2017 6 commits
-
-
Thomas Medioni authored
* NEWS: Mention this addition. * bin/autfilt.cc: Add dualize option * tests/Makefile.am: Add dualize option test file to the suite. * tests/core/dualize.test: Test the dualize option.
-
Thomas Medioni authored
* NEWS: Mention of the deprecation * bench/stutter/stutter_invariance_randomgraph.cc, bin/autfilt.cc, bin/ltlcross.cc, spot/twaalgos/langmap.cc, spot/twaalgos/minimize.cc, spot/twaalgos/powerset.cc, spot/twaalgos/stutter.cc, tests/core/ikwiad.cc, tests/python/bugdet.py, tests/python/remfin.py, tests/python/sum.py: Refactor calls to dtwa_complement() with calls to dualize(). * doc/org/upgrade2.org: Change mention of dtwa_complement with dualize. * spot/twaalgos/complement.hh: Add deprecation notice. * python/spot/impl.i: Add deprecation notice for the python bindings.
-
Thomas Medioni authored
* NEWS: Mention the implementation * python/spot/impl.i: Add dualize() to python interface. * spot/twaalgos/Makefile.am: Add dualize.cc,hh to the build * spot/twaalgos/dualize.cc: Implement dualize() that takes an automaton and returns its dual * spot/twaalgos/dualize.hh: Implement dualize() * tests/Makefile.am: Add dualize tests to the test suite * tests/python/dualize.py: Test cases for dualize
-
Alexandre Duret-Lutz authored
Fixes #246. * bin/genltl.cc: Implement it. * bin/man/genltl.x, doc/org/genltl.org, NEWS: Document it. * tests/core/ltl2tgba2.test: Test it.
-
Alexandre Duret-Lutz authored
Fixes #245. * bin/genltl.cc: Add the option. * bin/man/genltl.x: Add reference. * tests/core/ltl2tgba2.test: Use these patterns. * doc/org/genltl.org, NEWS: Document the options.
-
Alexandre Duret-Lutz authored
when fin_alone sets where presents (i.e., not really Rabin condition), the rabin_to_buchi_maybe() could fail to notice DBA-typeness. * spot/twaalgos/remfin.cc: Don't set scc_ba_type to false when fin_alone is present. * tests/core/remfin.test: Add a test case.
-
- 04 Apr, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
when fin_alone sets where presents (i.e., not really Rabin condition), the rabin_to_buchi_maybe() could fail to notice DBA-typeness. * spot/twaalgos/remfin.cc: Don't set scc_ba_type to false when fin_alone is present. * tests/core/remfin.test: Add a test case.
-
- 03 Apr, 2017 1 commit
-
-
Thomas Medioni authored
* spot/twaalgos/sum.cc: Fix the sum of automatas having universal initial transitions. * tests/core/explsum.test: Add test case testing the handling of universal initial transitions in sum.
-
- 31 Mar, 2017 2 commits
-
-
Alexandre Duret-Lutz authored
* bench/dtgbasat/gen.py, spot/twaalgos/complement.hh: Fix looser->loser and lossing->losing. * tests/sanity/style.test: Catch 'an uni[^n]'. * spot/ta/ta.hh, spot/taalgos/tgba2ta.cc, spot/taalgos/tgba2ta.hh, spot/twa/twagraph.cc, spot/twaalgos/complement.hh, spot/twaalgos/sccinfo.cc: Fix various occurences of this pattern.
-
Alexandre Duret-Lutz authored
* tests/python/ipnbdoctest.py: Use importlib instead of imp. * tests/python/ltlparse.py: Fix invalid escape sequence.
-
- 30 Mar, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
* bench/dtgbasat/gen.py, spot/twaalgos/complement.hh: Fix looser->loser and lossing->losing. * tests/sanity/style.test: Catch 'an uni[^n]'. * spot/ta/ta.hh, spot/taalgos/tgba2ta.cc, spot/taalgos/tgba2ta.hh, spot/twa/twagraph.cc, spot/twaalgos/complement.hh, spot/twaalgos/sccinfo.cc, spot/twaalgos/sum.hh: Fix various occurences of this pattern.
-
- 29 Mar, 2017 4 commits
-
-
Alexandre Duret-Lutz authored
* tests/python/ipnbdoctest.py: Use importlib instead of imp. * tests/python/ltlparse.py: Fix invalid escape sequence.
-
Maximilien Colange authored
* tests/sanity/style.test: improve detection of assert in headers, and of template arguments.
-
Alexandre Duret-Lutz authored
The algorithm had two problems: it was removing only useless destination from universal destination (instead of removing the entire edge), and it was not properly iterating over the entire reachable automaton. * spot/twa/twagraph.cc: Fix it. * spot/twa/twagraph.hh: Adjust documentation. * tests/core/alternating.test: Add more tests. * tests/python/twagraph.py: Adjust. * NEWS: Mention the bug.
-
Alexandre Duret-Lutz authored
The algorithm had two problems: it was removing only useless destination from universal destination (instead of removing the entire edge), and it was not properly iterating over the entire reachable automaton. * spot/twa/twagraph.cc: Fix it. * spot/twa/twagraph.hh: Adjust documentation. * tests/core/alternating.test: Add more tests. * tests/python/twagraph.py: Adjust. * NEWS: Mention the bug.
-
- 28 Mar, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
Reported by Thomas Medioni. * spot/twaalgos/complement.cc: Here. * tests/core/complement.test: Add a test case. * NEWS: Mention it.
-
- 27 Mar, 2017 1 commit
-
-
Alexandre Duret-Lutz authored
Reported by Thomas Medioni. * spot/twaalgos/complement.cc: Here. * tests/core/complement.test: Add a test case. * NEWS: Mention it.
-