- 20 Apr, 2015 1 commit
-
-
Etienne Renault authored
* src/ltlvisit/remove_x.cc, src/ltltest/remove_x.test: here.
-
- 19 Apr, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
Add these two options as an answer to comments in https://github.com/adl/hoaf/issues/39 * src/bin/autfilt.cc: Add those options. Also make --keep-state use --remove-unreachable-states instead of the less efficient --remove-dead-states by default. * src/tgbatest/readsave.test: Test them.
-
Alexandre Duret-Lutz authored
This was discussed in the comments of https://github.com/adl/hoaf/issues/39 * src/hoaparse/hoaparse.yy: Rename defined_states as info_states and keep additional information about states in this vector to diagnose undefined states. * src/tgbatest/hoaparse.test: Add a test case.
-
- 17 Apr, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/stutter.cc: Add a new variant of Etessami's check, closer to his original paper in IPL. * src/ltltest/stutter.test: Add more tests. * bench/stutter/user.sh: Include this new variant in the benchmark.
-
- 16 Apr, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/dotty.cc: Add option 'o'. * src/bin/common_aoutput.cc, src/bin/dstar2tgba.cc: Document it. * src/taalgos/dotty.cc: Ignore this option. * src/tgbatest/readsave.test: Test it.
-
- 15 Apr, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* src/tgba/acc.cc, src/tgba/acc.hh (parse_acc_code): New function. * src/tgbatest/acc.cc, src/tgbatest/acc.test: Test it.
-
- 14 Apr, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
* src/tgba/acc.hh: Make it possible to call acc_cond::mark_t({1,2,3}), and acc_code::fin({1,2,3}).
-
Alexandre Duret-Lutz authored
Some tests calling spot.automaton('non-existing|') where failing either with a "process returned 127", or, under heavier load, with "failed to read from...". The latter occur if we poll() the exit status before the children has had the tame to finish. * wrap/python/spot.py: Make sure we wait for the child process if we reach EOF, so that we can report the error status. * wrap/python/tests/automata-io.ipynb, wrap/python/tests/piperead.ipynb: Update.
-
Alexandre Duret-Lutz authored
* wrap/python/tests/ipnbdoctest.py: Store all the history in memory.
-
- 13 Apr, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
For #42. * src/graph/graph.hh, src/ltlast/multop.hh, src/ltlenv/defaultenv.hh, src/misc/tmpfile.hh, src/tgba/taatgba.hh, src/tgba/tgbagraph.hh, src/tgba/tgbaproduct.hh, src/tgbaalgos/gtec/gtec.hh: Declare more classes as final.
-
Alexandre Duret-Lutz authored
* wrap/python/tests/run.in: Make it easier to run python with gdb. * wrap/python/tests/automata-io.ipynb: Add test case. * wrap/python/spot.py (spot.automata): Make sure p is defined in all cases. * src/hoaparse/hoascan.ll: Make sure we do not close a file that hasn't been opened.
-
- 03 Apr, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
Fixes #73. * debian/python3-spot.examples: New file. * Makefile.am: Distribute it.
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/totgba.cc: false must become true... * src/tgbatest/remfin.test: adjust.
-
- 02 Apr, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
Fixes #72. * src/tgbaalgos/totgba.cc, src/tgbaalgos/totgba.hh: New files. * src/tgbaalgos/Makefile.am: Add them. * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: Add a Generic output type, and call to_generalized_buchi() if this type is not selected. * src/tgbatest/remfin.test: Add some tests. * src/bin/autfilt.cc: Add a --generic option, and set it by default.
-
Alexandre Duret-Lutz authored
* src/taalgos/dotty.cc, src/taalgos/dotty.hh: Add an interface similar to that of tgba/dotty.hh, even if we have to ignore most options. * src/taalgos/tgba2ta.cc, src/taalgos/tgba2ta.hh: Add an option to display the intermediate automaton with explicit stuttering transitions, for the purpose of making demonstrations. * src/tgba/tgbagraph.hh: Tweak the file so that SWIG can read it. * wrap/python/spot.py: Add wrappers for testing automata. * wrap/python/spot_impl.i: Fix support for atomic_prop_collect_as_bdd, and include a few more files. * wrap/python/tests/testingaut.ipynb: New file. * wrap/python/tests/Makefile.am: Add it.
-
- 01 Apr, 2015 4 commits
-
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/degen.cc, src/tgbaalgos/degen.hh: New argument to disable the "jump to the accepting level if the entering state as an accepting self-loop" optimization. * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: Check the degen-lowinit option and pass it on to degeneralize(). * src/bin/spot-x.cc: Document it. * src/tgbatest/degenlskip.test: Add some tests. * src/tgbatest/ltl2ta.test: Update value. We output less accepting states now.
-
Alexandre Duret-Lutz authored
Doing so is not wrong, but it's superfluous, and the extra accepting state will cause additional work in emptiness checks based on NDFS. Report from Jan Strejček. * src/tgbaalgos/degen.cc: Here. * src/tgbatest/degenid.test: Add a test case.
-
Alexandre Duret-Lutz authored
* wrap/python/spot.py: Here.
-
Alexandre Duret-Lutz authored
* m4/pypath.m4: Check for Python 3.2+. * README, NEWS, HACKING: Reflect this change.
-
- 31 Mar, 2015 4 commits
-
-
Alexandre Duret-Lutz authored
if a transition with the same label already exist, reuse it * src/tgbaalgos/stutter.cc: Here. * src/tgbatest/stutter.test: Add a test case.
-
Alexandre Duret-Lutz authored
Fixes #71. * src/bin/randaut.cc: Implement option --acc-type. * src/tgbaalgos/randomgraph.cc, src/tgbaalgos/randomgraph.hh (random_acceptance): New function. * src/tgbatest/randaut.test, wrap/python/tests/randaut.ipynb: Test it.
-
Alexandre Duret-Lutz authored
* wrap/python/spot_impl.i: Include cleanacc.hh. * wrap/python/tests/randaut.ipynb: New file. * wrap/python/tests/Makefile.am: Add it.
-
Alexandre Duret-Lutz authored
And add a cleanup_acceptance() version that copies. * src/tgbaalgos/cleanacc.cc, src/tgbaalgos/cleanacc.hh: Rename and add the second version. * src/bin/autfilt.cc, src/bin/ltlcross.cc, src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/remfin.cc: Use cleanup_acceptance_here.
-
- 30 Mar, 2015 4 commits
-
-
Alexandre Duret-Lutz authored
* src/bin/common_trans.cc: Update to expect HOA by default. * doc/org/ltlcross.org, doc/org/ltldo.org: Adjust.
-
Alexandre Duret-Lutz authored
* src/hoaparse/hoaparse.yy, src/hoaparse/hoascan.ll, src/hoaparse/parsedecl.hh, src/hoaparse/public.hh: Add a way to read automata from a file descriptor. * wrap/python/spot.py: Add machinery to read from pipes. * wrap/python/tests/piperead.ipynb: New file. * wrap/python/tests/Makefile.am: Add it. * wrap/python/tests/run.in: Setup PATH.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Add option. * src/ltlvisit/exclusive.cc, src/ltlvisit/exclusive.hh: implement it. * src/tgbatest/exclusive.test: Test it. * src/misc/minato.cc, src/misc/minato.hh: Add an interface to simplify a Boolean function with don't care.
-
- 27 Mar, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* src/hoaparse/fmterror.cc, src/hoaparse/public.hh, src/hoaparse/hoaparse.yy (hoa_stream_parser::parse_strict): New method that raises an exception whenever a syntax error is encountered. * src/ltlparse/public.hh (parse_error): Move ... * src/misc/common.hh: ... here. * wrap/python/spot_impl.i: Wrap the hoa output. * wrap/python/spot.py: Implement spot.automata. * wrap/python/tests/automata-io.ipynb: New test. * wrap/python/tests/Makefile.am: Add it.
-
- 26 Mar, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
Suggested by Akim Demaille. Fixes #69. * doc/org/.dir-locals.el, doc/org/init.el.in, wrap/python/tests/automata.ipynb: Set arrowhead and arrowsize. * doc/org/autfilt.org, doc/org/dstar2tgba.org, doc/org/ltl2tgba.org, doc/org/oaut.org: Adjust.
-
Alexandre Duret-Lutz authored
This work around what appears to be an exception handling bug, causing binaries to not always catch excepting thrown by the library. * debian/rules: Here.
-
- 25 Mar, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
Fixes #70. We don't modify the behavior of mask_keep_states(), because it is actually useful in some algorithm to remove states without renumbering all the other states. * src/bin/autfilt.cc: Call purge_dead_states(). * src/tgbatest/maskkeep.test: Adjust.
-
Alexandre Duret-Lutz authored
* src/tgba/acc.cc, src/tgba/acc.hh: Add a way to extract an unstatisfiable mark, and fix the eval() function for Fin acceptance. * src/tgbaalgos/complete.cc: Label the sink state using an unsatisfiable mark. Do not assume generalized Büchi. * src/tgbatest/complete.test: New test. * src/tgbatest/Makefile.am: Add it.
-
Alexandre Duret-Lutz authored
Sometimes, simplifying the acceptance condition (because it refers to sets that do not appear in the automaton) cause more sets to be removed from the acceptance condition, and therefore warrant another pass to remove those sets from the automaton. * src/tgbaalgos/cleanacc.cc: Here. * src/tgbatest/hoaparse.test: Add a test case.
-
- 24 Mar, 2015 5 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/remprop.cc, src/tgbaalgos/remprop.hh: New files. * src/tgbaalgos/Makefile.am: Add them. * src/tgbatest/remprop.test: New test. * src/tgbatest/Makefile.am: Add it. * src/bin/autfilt.cc: Implement the option. * doc/org/autfilt.org: Document it.
-
Alexandre Duret-Lutz authored
It makes more sense to assume that the removed set cannot be visited. * src/tgbaalgos/mask.cc: Flip a Boolean. * src/tgbatest/maskacc.test: Adjust test case. * doc/org/autfilt.org: Add an example.
-
Alexandre Duret-Lutz authored
* src/tgba/tgbagraph.cc (purge_dead_states): Using a DFS to compute a topological order, allowing to remove useless using a second pass (instead of iterating the passes until there is nothing to remove). * src/tgbaalgos/remfin.cc: Call purge_dead_states(). * src/tgbatest/remfin.test, src/tgbatest/det.test: Adjust expected output. * doc/org/autfilt.org: Update example.
-
Alexandre Duret-Lutz authored
* doc/org/oaut.org: Some typos. * doc/org/autfilt.org: Add some examples.
-
- 23 Mar, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/dotty.cc: Here. * src/tgbaalgos/sbacc.cc: Make the produced automata as state-based. * src/tgbatest/readsave.test: Add a test.
-
Alexandre Duret-Lutz authored
* src/ltlvisit/exclusive.cc, src/ltlvisit/exclusive.hh: Implement constrain() for automata. * src/bin/autfilt.cc: Add --exclusive-ap option. * src/tgba/bdddict.cc, src/tgba/bdddict.hh: Add a has_registered_proposition() method. * src/tgbatest/exclusive.test: New file. * src/tgbatest/Makefile.am: Add it.
-