- 14 Jan, 2022 7 commits
-
-
Alexandre Duret-Lutz authored
* spot/twaalgos/sccinfo.cc (scc_info::get_accepting_run): Ignore edges whose colors are not part of the colors gathered in the SCC up to deciding acceptance. * tests/python/genem.py: New test case, reported by Clément Tamines. * THANKS: Add him. * NEWS: Mention the bug.
-
Alexandre Duret-Lutz authored
The related GraphViz issue is https://gitlab.com/graphviz/graphviz/-/issues/2179 * spot/twaalgos/dot.cc: Avoid initial newline in title. * NEWS: Mention the bug. * tests/core/det.test, tests/core/dstar.test, tests/core/neverclaimread.test, tests/python/automata-io.ipynb: Adjust test cases.
-
Alexandre Duret-Lutz authored
Reported by Reuben Rowe. * spot/twaalgos/complement.cc (complement): Remove the hard-coded simul=0 option on automata with >32 states. In 2.10 simul=0 now implies det-simul=0, causing the regression, and most importantly it is not needed anymore, because we have other threashold like simul-max and simul-trans-pruning in place. * tests/core/complement.test: Add Reuben's automaton as test case. * NEWS: Mention the fix.
-
Alexandre Duret-Lutz authored
This fixes #492, based on a report from Jérôme Dubois. * spot/twaalgos/sbacc.cc: If the initial state is in a rejecting component, start with an initial state whose colors are unsat_mark. * tests/core/sbacc.test: Add test case. * tests/python/pdegen.py: Adjust it.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* doc/org/index.org, tests/python/bdditer.py: Here.
-
Alexandre Duret-Lutz authored
* spot/twaalgos/sccinfo.cc (scc_info::get_accepting_run): Ignore edges whose colors are not part of the colors gathered in the SCC up to deciding acceptance. * tests/python/genem.py: New test case, reported by Clément Tamines. * THANKS: Add him. * NEWS: Mention the bug.
-
- 11 Jan, 2022 1 commit
-
-
Alexandre Duret-Lutz authored
The related GraphViz issue is https://gitlab.com/graphviz/graphviz/-/issues/2179 * spot/twaalgos/dot.cc: Avoid initial newline in title. * NEWS: Mention the bug. * tests/core/det.test, tests/core/dstar.test, tests/core/neverclaimread.test, tests/python/automata-io.ipynb: Adjust test cases.
-
- 10 Jan, 2022 1 commit
-
-
Alexandre Duret-Lutz authored
* doc/spot.bib (perez.19.hoa): New entry. * spot/parseaut/public.hh: Mention it. * spot/parseaut/parseaut.yy, spot/parseaut/scanaut.ll: Learn to parse the controllable-AP header. * spot/twaalgos/hoa.cc: Print it. * tests/core/ltlsynt.test, tests/core/parseaut.test, tests/core/readsave.test, tests/python/_synthesis.ipynb, tests/python/except.py, tests/python/games.ipynb, tests/python/mealy.py, tests/python/synthesis.py: Adjust or augment test cases.
-
- 07 Jan, 2022 1 commit
-
-
Philipp Schlehuber authored
Monitors can now be split AND completed at the same time. Split can be called on games without providing "synthesis-outputs" - relying on named prop. * spot/twaalgos/synthesis.cc, spot/twaalgos/synthesis.hh: Here * tests/python/_synthesis.ipynb: Testing
-
- 17 Dec, 2021 2 commits
-
-
Alexandre Duret-Lutz authored
* doc/org/concepts.org, NEWS: Document it. * spot/twaalgos/determinize.cc, spot/twaalgos/determinize.hh, spot/twaalgos/sbacc.cc, spot/twaalgos/sbacc.hh: Use it. * spot/twa/twagraph.cc: Update it on defrag. * spot/twa/twa.cc (copy_named_properties_of): Copy it. * tests/python/det.py: New file. * tests/Makefile.am: Add it. * python/spot/impl.i (get_original_states, get_original_classes): New methods, to help with the tests.
-
Alexandre Duret-Lutz authored
Reported by Reuben Rowe. * spot/twaalgos/complement.cc (complement): Remove the hard-coded simul=0 option on automata with >32 states. In 2.10 simul=0 now implies det-simul=0, causing the regression, and most importantly it is not needed anymore, because we have other threashold like simul-max and simul-trans-pruning in place. * tests/core/complement.test: Add Reuben's automaton as test case. * NEWS: Mention the fix.
-
- 16 Dec, 2021 2 commits
-
-
Alexandre Duret-Lutz authored
This fixes #492, based on a report from Jérôme Dubois. * spot/twaalgos/sbacc.cc: If the initial state is in a rejecting component, start with an initial state whose colors are unsat_mark. * tests/core/sbacc.test: Add test case. * tests/python/pdegen.py: Adjust it.
-
Alexandre Duret-Lutz authored
-
- 13 Dec, 2021 1 commit
-
-
Alexandre Duret-Lutz authored
* doc/org/index.org, tests/python/bdditer.py: Here.
-
- 10 Dec, 2021 3 commits
-
-
Philipp Schlehuber authored
Isomorph but different machines were created depending on ARM vs Intel * spot/twaalgos/mealy_machine.cc: Fix here * tests/python/_synthesis.ipynb: Test here
-
* spot/twaalgos/synthesis.cc, spot/twaalgos/synthesis.hh: Solved game to mealy now also supports the other mealy formats * tests/python/_synthesis.ipynb: Test * tests/Makefile.am: Test
-
* spot/twaalgos/aiger.cc, spot/twaalgos/aiger.hh: Here * tests/python/synthesis.ipynb: Tests
-
- 02 Dec, 2021 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/parsetl/scantl.ll: Diagnose delays (##n) larger than unbounded(). Remove all checks for delays with 1 or 2 characters. * tests/core/parseerr.test: Add a test case. * NEWS: Mention this fix.
-
- 22 Nov, 2021 1 commit
-
-
* spot/kripke/kripkegraph.hh, spot/misc/hash.hh, spot/twa/taatgba.cc, spot/twa/twagraph.hh, tests/core/ngraph.cc: Replace subtraction of pointeur minus nullptr by an explicit cast to size_t. * spot/twa/acc.hh: Add explicit default copy assignment operator for rs_pair.
-
- 19 Nov, 2021 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/twa/twagraph.cc (purge_dead_states): Be bddfalse-aware! * spot/twa/twagraph.hh, NEWS: Document this. * tests/python/alternating.py, tests/python/twagraph.py: Add some test cases.
-
- 18 Nov, 2021 3 commits
-
-
Alexandre Duret-Lutz authored
* spot/twaalgos/sbacc.cc (sbacc): Define the original-states property on the created automaton. * spot/twaalgos/sbacc.hh: Improve documentation. * tests/python/sbacc.py: Update test cases.
-
Alexandre Duret-Lutz authored
For issue #485. * spot/tl/formula.cc, spot/tl/formula.hh: Catch min/max overflow when the operators are constructed. Also disable travial simplification rules that would create such overflow. For instance x[*200][*2] will not become x[*400] anymore. * python/spot/impl.i: Catch std::overflow_error. * tests/core/equals.test, tests/python/except.py: Add test cases.
-
Alexandre Duret-Lutz authored
For issue #485. * spot/parsetl/parsetl.yy: Add a diagnostic. * tests/core/parseerr.test: Test it.
-
- 16 Nov, 2021 1 commit
-
-
Alexandre Duret-Lutz authored
* tests/Makefile.am (ltsmin_modelcheck_LDADD, ltsmin_testconvert_LDADD): Add libbddx as a dependecy.
-
- 15 Nov, 2021 1 commit
-
-
Alexandre Duret-Lutz authored
Newer Jupyter version are able to capture the system's stdout and stderr to display it in the notebook. This is done asynchronously, with a thread polling those file descriptor. While this will help us debug (finaly we can see the tracing code we put in C++) this causes two issues for testing. One is the asynchronous behaviour, which makes it very hard to reproduce notebooks. The second issue is that older version of Jupyter used to hide some of the prints from the notebook, so it is hard to accommodate both. In the case of the ltsmin-pml notebook, loading the PML file from a filename used to trigger a compilation silently (with output on the console, but not in the notebook). The newer version had the output of that compilation spread into two cells. * python/spot/ltsmin.i: Work around the issue by triggering the compilation from Python, and capturing its output explicitly, so it work with all Jupyter versions. Also adjust to use the more recent and simpler subprocess.run() interface, available since Python 3.5. * tests/python/ltsmin-pml.ipynb: Adjust expected output. * tests/python/ipnbdoctest.py (canonicalize): Adjust patterns.
-
- 12 Nov, 2021 2 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* spot/twaalgos/aiger.hh, spot/twaalgos/aiger.cc: Fix prototypes, as well as several error messages. * python/spot/impl.i: Implement an ad-hoc conversion for std::vector<const_twa_graph_ptr>. * tests/python/synthesis.ipynb: Use it to simplify the example. Adjust some comments.
-
- 11 Nov, 2021 1 commit
-
-
Philipp Schlehuber authored
"Strategy" was used for mealy machines and game strategies a like. Introduced the notion of mealy machine in three different flavors: mealy machine: twa_graph with synthesis-outputs separated mealy machine: mealy machine and all transitions have conditions of the form (bdd over inputs)&(bdd over outputs) split mealy machine: mealy machine that alternates between env and player states. Needs state-players * bin/ltlsynt.cc: renaming * python/spot/impl.i: Add vector for const_twa_graph_ptr * spot/twaalgos/aiger.cc, spot/twaalgos/aiger.hh: Adapting functions * spot/twaalgos/mealy_machine.cc, spot/twaalgos/mealy_machine.hh: Add test functions and propagate properties correctly. Adjust for names * spot/twaalgos/synthesis.cc, spot/twaalgos/synthesis.hh: Removing unnecessary functions and adapt to new names * tests/python/aiger.py, tests/python/_mealy.ipynb, tests/python/mealy.py, tests/python/synthesis.ipynb: Adjust
-
- 10 Nov, 2021 2 commits
-
-
Alexandre Duret-Lutz authored
* spot/twaalgos/zlktree.cc (acd_transform_sbacc): Fix the acceptance condition when colored is true. * tests/python/zlktree.py: Add test case.
-
Alexandre Duret-Lutz authored
-
- 06 Nov, 2021 1 commit
-
-
Florian Renkin authored
* tests/python/acc_cond.ipynb, tests/python/contains.ipynb, tests/python/decompose.ipynb, tests/python/games.ipynb, tests/python/randltl.ipynb, tests/python/synthesis.ipynb, tests/python/testingaut.ipynb: here.
-
- 05 Nov, 2021 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/tl/dot.cc: Show the min/max argument for Star/FStar nodes. * tests/python/formulas.ipynb: Adjust test.
-
- 04 Nov, 2021 3 commits
-
-
Alexandre Duret-Lutz authored
Fixes #480. * bin/common_trans.cc (shorthands_ltl, shorthands_autproc): Write those lists using regexes. Add entries for Owl 21.0. (show_shorthands, tool_spec): Adjust to use those regexes. * doc/org/autcross.org, doc/org/ltlcross.org, doc/org/ltldo.org: Update the list of shorthands. * tests/core/ltldo.test: Add a couple of tests. * NEWS: Mention this new feature.
-
Florian Renkin authored
* spot/twaalgos/synthesis.cc: add a new rewriting rule * tests/core/ltlsynt.test: test rewritings
-
Florian Renkin authored
* bin/ltlsynt.cc: here * tests/core/ltlsynt.test: add test
-
- 03 Nov, 2021 2 commits
-
-
Alexandre Duret-Lutz authored
* spot/twaalgos/aiger.cc, spot/twaalgos/aiger.hh (parse_aag_impl_): Do not display source filename in user facing errors. Use GNU-style "file:line: " prefixes for locations. Adjust all sscanf() calls to check for ignored trailing data. Add some missing checks about the order of input and output names, checks that output names do no intersect input names. Fix incorrect line number for unexpected input variable number, and avoid using std::stoi as that throws an std::invalid_argument on parse error. * tests/python/aiger.py: Add test cases for each error message.
-
Florian Renkin authored
* spot/twaalgos/aiger.cc: here. * tests/python/aiger.py: add tests * tests/python/synthesis.ipynb: correct notebook
-
- 02 Nov, 2021 1 commit
-
-
Florian Renkin authored
* spot/twaalgos/synthesis.cc: here * spot/twaalgos/synthesis.hh: introduce a realizability_code * bin/ltlsynt.cc, spot/twaalgos/aiger.cc: use this enum * tests/core/ltlsynt.test: update tests
-
- 29 Oct, 2021 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/twaalgos/dot.cc: Improve the aiger printer by using a more traditional dot syntax, indenting the output, adding some hard-coded colors, fixing a bug in the negation of latch inputs, and rotating the triangles for horizontal output. * tests/python/synthesis.ipynb: Adjust expected output, and add an example of horizontal layout.
-