- 18 Mar, 2015 7 commits
-
-
Alexandre Duret-Lutz authored
* src/tgba/tgbagraph.hh (set_generalized_buchi, set_buchi): Move... * src/tgba/tgba.hh: ... here.
-
Alexandre Duret-Lutz authored
Fixes #66. * src/dstarparse/dra2ba.cc, src/dstarparse/nra2nba.cc, src/hoaparse/hoaparse.yy, src/tgba/tgbagraph.hh, src/tgbaalgos/complete.cc, src/tgbaalgos/degen.cc, src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/minimize.cc, src/tgbaalgos/postproc.cc: Here.
-
Alexandre Duret-Lutz authored
Fixes #65. * src/tgba/tgbagraph.hh (copy_acceptance_of, copy_ap_of): Move... * src/tgba/tgba.hh: ... here.
-
Alexandre Duret-Lutz authored
... into copy_acceptance_of(). For #65. * src/tgba/tgbagraph.hh, src/tgbaalgos/dupexp.cc, src/tgbaalgos/emptiness.cc, src/tgbaalgos/mask.cc, src/tgbaalgos/powerset.cc, src/tgbaalgos/sbacc.cc, src/tgbaalgos/simulation.cc, src/tgbaalgos/stutter.cc: Here.
-
Alexandre Duret-Lutz authored
* wrap/python/tests/automata.ipynb: Restrict dot size, and more examples.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* debian/control: Update standars-version. Add missing ${misc:Depends}. Use Depends: ${source:Version} for libspot-dev. Fix description of spot. * debian/spot-doc.doc-base: Move the doc to Science/Mathematics.
-
- 17 Mar, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
Fixes #62. * src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbasat.cc: Add call to prop_state_based_acc() when building an automaton with state-based acceptance. * src/tgbatest/satmin2.test: New test. * doc/org/satmin.org: Update.
-
Alexandre Duret-Lutz authored
* src/bin/man/Makefile.am: Make sure the header of spot-x.7 refers to section 7, not 1. This error was caught by lintian on the Debian packages.
-
Alexandre Duret-Lutz authored
This implement several new options for --dot in order to allow emptiness sets to be output as colored ⓿ or ❶... Also add a SPOT_DOTDEFAULT environment variable. * NEWS, src/bin/man/spot-x.x, src/bin/common_aoutput.cc, src/bin/dstar2tgba.cc: Document the new options. * doc/org/.dir-locals.el, doc/org/init.el.in: Setup SPOT_DOTEXTRA and SPOT_DOTDEFAULT for all documents. * doc/org/autfilt.org, doc/org/dstar2tgba.org, doc/org/ltl2tgba.org, doc/org/ltldo.org, doc/org/oaut.org, doc/org/randaut.org, doc/org/satmin.org: Adjust to this new setup. * src/misc/escape.cc, src/misc/escape.hh (escape_html): New function. * src/tgba/acc.cc, src/tgba/acc.hh (to_text, to_html): New method. * src/tgbaalgos/dotty.cc: Implement the new options. * src/tgbatest/readsave.test, wrap/python/tests/automata.ipynb: More tests. * wrap/python/spot.py: Make sure the default argument for dotty_reachable is None, so that SPOT_DOTDEFAULT is honored.
-
- 16 Mar, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/dotty.cc, src/taalgos/dotty.cc: Honnor the SPOT_DOTEXTRA environement variable. * src/tgbatest/readsave.test, wrap/python/tests/automata.ipynb: Test it. * NEWS, src/bin/man/spot-x.x: Document it.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
One of our ArchLinux build produice slightly different SVG. * wrap/python/tests/ipnbdoctest.py: Strip larger parts of SVG outputs.
-
- 15 Mar, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* wrap/python/spot.py: Introduce spot.translate (and spot.formula.translate) as well, as a wrapper around the spot.translator class. Also implement spot.tgba.show() to allow passing argument to dotty_reachable() before the result is converted to SVG. * wrap/python/tests/automata.ipynb: New test file. * wrap/python/tests/Makefile.am: Add it.
-
- 13 Mar, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 11 Mar, 2015 5 commits
-
-
Alexandre Duret-Lutz authored
* wrap/python/tests/ipnbdoctest.py: Ignore anything that look like an SVG coordinate to compare outputs.
-
Alexandre Duret-Lutz authored
* src/fdd.c, src/imatrix.c, src/kernel.c, src/reorder.c: Here.
-
Alexandre Duret-Lutz authored
With great help from the first two commits in https://github.com/paulgb/runipy/pull/49/commits * wrap/python/tests/ipnbdoctest.py: Update.
-
Alexandre Duret-Lutz authored
* src/misc/escape.hh, src/misc/escape.cc (escape_latex): New function. * src/ltlvisit/tostring.cc: Escape atomic proposition in LaTeX output. * wrap/python/spot.py: Make it easy to output formulas in different syntaxes. Also allow the AST to be shown. * wrap/python/spot_impl.i: Catch std::runtime_error. * wrap/python/tests/formulas.ipynb: New file. * wrap/python/tests/Makefile.am: Add it.
-
Alexandre Duret-Lutz authored
* debian/control: Make sure libspot-dev and spot have the same versions.
-
- 10 Mar, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
The bug was found while running Spot's src/tgbatest/randpsl.test on Debian i386 with gcc-4.9.2. The following call would crash: ./ltl2tgba -R3 -t '(!(F(({{{(p0) | {[*0]}}:{{{(p1)}[*2]}[:*]}[*]:[*2]}[:*0..3]}[]-> (G(F(p1)))) & (G((!(p1)) | ((!(p2)) W (G(!(p0)))))))))' On amd64 the call does not crash, but valgrind nonetheless report that uninitialized memory is being read by bdd_gbc() during the second garbage collect. * src/kernel.h (PUSHREF): Define as a function rather than a macro to avoid undefined behavior. See comments for details.
-
- 09 Mar, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 08 Mar, 2015 4 commits
-
-
Alexandre Duret-Lutz authored
* debian/python3-spot.install: New file. * Makefile.am: Ship it. * debian/control, debian/rules, debian/spot.install: Adjust.
-
Alexandre Duret-Lutz authored
* src/ltlvisit/randomltl.cc, src/ltlvisit/randomltl.hh: Throw invalid_argument exceptions consistently (not std::string), and use forwarding constructors to avoid the construct() method. * src/bin/randltl.cc: Catch the above exceptions. Destroy the opts variable right after its use, so that we don't need explicit destructor calls. * src/ltltest/rand.test: Add a test.
-
Alexandre Duret-Lutz authored
-
* wrap/python/spot.i: Rename to... * wrap/python/spot_impl.i: ...this, and import spot_impl from spot.py so that it is not needed to recompile everything when modifying python code. * wrap/python/spot.py: Adding python functions to mirror the functionalities found in src/bin. * src/bin/common_r.cc: Move simplification level... * src/ltlvisit/simplify.hh: ... here as a constructor of ltl_simplifier_options, to make it available in wrap/python. * src/bin/ltlfilt.cc: Set simplification level using the new ltl_simplifier_options constructor. * src/bin/randltl.cc: Move most of the code... * src/ltlvisit/randomltl.cc, src/ltlvisit/randomltl.hh: ... here, as a class named randltlgenerator. * wrap/python/tests/bddnqueen.py, wrap/python/tests/minato.py: Avoid calling bdd_init twice by moving 'import spot' after bdd initialization. * wrap/python/Makefile.am: Rename spot to spot_impl * wrap/python/tests/Makefile.am: Add ipnbdoctest.py. * wrap/python/.gitignore: Rename spot.py to spot_impl.py * src/ltlvisit/tostring.cc: \ttrue and \ffalse should be \top and \bot. * wrap/python/tests/ipnbdoctest.py: Run code cells of a python notebook and compare the output to the actual content of the notebook. * wrap/python/tests/randltl.ipynb: Document and test randltl. * wrap/python/tests/run.in: Call ipnbdoctest.py to run ipython notebooks.
-
- 05 Mar, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
* doc/org/oaut.org: Adjust the parameters of randaut so that we get a mix of deterministic and nondeterministic automata.
-
Alexandre Duret-Lutz authored
* src/tgba/acc.cc, src/tgba/acc.hh (to_cnf, is_cnf): New functions. * src/bin/autfilt.cc: Add a --cnf-acceptance option. * src/tgbatest/acc2.test: Test it.
-
Alexandre Duret-Lutz authored
A Fin() terms with multiple sets should not appear under an And. * src/tgba/acc.cc (is_dnf): Fix it. * src/tgbatest/acc.cc, src/tgbatest/acc.test: Augment test case.
-
- 04 Mar, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
This way we have for instance (Inf(1) | Fin(2)) & (Fin(1) | Inf(3)) & Inf(0) converted into just (Fin(1) & Fin(2) & Inf(0)) | (Inf(0)&Inf(1)&Inf(3)) while previously we would produce 4 terms: (Fin(2) & Fin(1) & Inf(0)) | (Fin(2) & (Inf(0)&Inf(3))) | (Fin(1) & (Inf(0)&Inf(1))) | (Inf(0)&Inf(1)&Inf(3)) * src/tgba/acc.cc (to_dnf): Recode it. * src/tgbatest/acc2.test: Adjust.
-
- 03 Mar, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
Because scc_info does not perform a full emptiness check, it is not always able to tell whether an SCC is accepting if the acceptance condition use Fin primitives. This introduce is_rejecting_scc() in addition to to is_accepting_scc(). Only one of them may be true, but they can both be false if scc_info has no idea whether the SCC is accepting. * src/tgbaalgos/sccinfo.cc, src/tgbaalgos/sccinfo.hh: Implement is_rejecting_scc(). * src/bin/ltlcross.cc, src/tgba/acc.cc, src/tgba/acc.hh, src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/isweakscc.cc, src/tgbaalgos/remfin.cc, src/tgbaalgos/safety.cc, src/tgbaalgos/sccfilter.cc: Use it. * src/tgbaalgos/dotty.cc: Use is_rejecting_scc() and is_accepting_scc() to color SCCs. * doc/org/oaut.org: Document the colors used. * src/tgbatest/neverclaimread.test, src/tgbatest/readsave.test: Adjust tests. * src/tgbatest/sccdot.test: New test case. * src/tgbatest/Makefile.am: Add it.
-
- 02 Mar, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc, src/bin/common_aoutput.cc, src/bin/common_finput.cc, src/bin/common_output.cc, src/bin/common_post.cc, src/bin/common_setup.cc, src/bin/common_trans.cc, src/bin/dstar2tgba.cc, src/bin/genltl.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc, src/bin/ltlcross.cc, src/bin/ltlfilt.cc, src/bin/ltlgrind.cc, src/bin/randaut.cc, src/bin/randltl.cc: Here.
-
- 01 Mar, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/simulation.cc (direct_simulation): Do not store the original_ automaton as a reference. Otherwise with LTO (+ probably NRVO) we get a situation where the result automaton (that will be stored in original_) copies the properties of itself.
-
Alexandre Duret-Lutz authored
* src/ltltest/stutter.test: Reverse the logic for the test for time, in case the shell has a builtin version.
-
Alexandre Duret-Lutz authored
-
- 28 Feb, 2015 5 commits
-
-
Alexandre Duret-Lutz authored
* configure.ac, debian/changelog.in: Adjust. * debian/source/format: Distribute this. * Makefile.am (deb): New target.
-
Alexandre Duret-Lutz authored
... and show it in the HOA output. Fixes #60. * src/tgba/tgba.hh: Add is_stutter_invariant(). * src/tgbaalgos/hoa.cc: Print stutter-invariant and inherently-weak. * src/tgbaalgos/ltl2tgba_fm.cc: Set both. * src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/complete.cc, src/tgbaalgos/degen.cc, src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/mask.cc, src/tgbaalgos/minimize.cc, src/tgbaalgos/remfin.cc, src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc, src/tgbaalgos/stutter.cc, src/tgbatest/hoaparse.test, src/tgbatest/ltldo.test, src/tgbatest/monitor.test, src/tgbatest/randomize.test, src/tgbatest/remfin.test, src/tgbatest/sbacc.test: Adjust.
-
Alexandre Duret-Lutz authored
Fixes #59. * src/tgbaalgos/hoa.cc: Add option i. * src/bin/common_aoutput.cc, src/bin/dstar2tgba.cc, src/tgbaalgos/hoa.hh: Document it. * src/tgbatest/hoaparse.test: Test it.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* debian/: New directory. * Makefile.am, README: Add it. * configure.ac: Generate debian/changelog.
-