- 09 Sep, 2020 1 commit
-
-
Alexandre Duret-Lutz authored
* python/spot/impl.i: Process game.hh. * spot/misc/game.cc, spot/misc/game.hh: Make the output of parity_game_solve() a solved_game object for easier manipulation in Python. * bin/ltlsynt.cc: Adjust usage. * tests/python/paritygame.ipynb: New file. * tests/Makefile.am, doc/org/tut.org: Add it. * NEWS: Mention these bindings.
-
- 08 Sep, 2020 2 commits
-
-
Alexandre Duret-Lutz authored
* bin/ltlsynt.cc (complete_env): Replace this function by... * spot/misc/game.hh, spot/misc/game.cc (propagate_players): ... this new one, hiding the "state-player" business from ltlsynt. Also do not create a sink states unless necessary. * tests/core/ltlsynt.test: Adjust expected number of states.
-
Alexandre Duret-Lutz authored
This class was a simple wrapper on top of twa_graph_ptr, but it's easier to simply use a twa_graph_ptr with a "state-player" property instead, this way we will be able to modify the automata I/O routines to support games directly. * spot/misc/game.cc, spot/misc/game.hh: Rewrite the solver and pg_printer interface. * bin/ltlsynt.cc: Adjust. * NEWS: Mention this change. * doc/org/concepts.org: Mention the state-player property.
-
- 03 Aug, 2020 2 commits
-
-
Alexandre Duret-Lutz authored
* spot/misc/minato.cc: Use bdd_ite() to exercise one of the function rewritten in the next patch, and also because that is supposedly faster.
-
Alexandre Duret-Lutz authored
-
- 28 Jul, 2020 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 16 Jul, 2020 1 commit
-
-
Alexandre Duret-Lutz authored
* configure.ac: Activate C++17, and replace --enable-c++17 by --enable-c++20. * NEWS: Mention the news. * .gitlab-ci.yml: Use C++20 for the former C++17 builds. * HACKING, README, doc/org/compile.org, doc/org/concepts.org, doc/org/index.org, doc/org/install.org, doc/org/tut.org, doc/org/upgrade2.org, spot/misc/escape.hh: Adjust mentions of C++14.
-
- 13 Jul, 2020 1 commit
-
-
Alexandre Duret-Lutz authored
Allocate the first chunk when the fixpool is created. This avoid a undefined behavior reported in issue #413 without requiring an extra comparison in allocate(). * spot/misc/fixpool.hh, spot/misc/fixpool.cc (new_chunk_): New method extracted from allocate(). Use it in the constructor as well. * NEWS: Mention the bug.
-
- 03 Jun, 2020 5 commits
-
-
Etienne Renault authored
* spot/bricks/brick-bitlevel, spot/misc/Makefile.am, spot/misc/bitset.hh, spot/misc/clz.cc, spot/misc/clz.hh, spot/misc/fixpool.hh: here.
-
Etienne Renault authored
* spot/misc/fixpool.hh: Here.
-
Etienne Renault authored
In 3fe74f1c, fixed_size_pool was changed in order to help memcheck to detect "potential" memory leaks. In a multithreaded context, this could raise false alarm. To solve this, we proprose 2 policies for the pool, one with the check and one without. * spot/misc/fixpool.cc: deleted ... * spot/ltsmin/ltsmin.cc, spot/ltsmin/spins_kripke.hh, spot/mc/deadlock.hh, spot/misc/Makefile.am, spot/misc/fixpool.cc, spot/misc/fixpool.hh, spot/priv/allocator.hh, spot/ta/tgtaproduct.cc, spot/ta/tgtaproduct.hh, spot/twa/twaproduct.cc, spot/twa/twaproduct.hh, tests/core/mempool.cc: Here.
-
Etienne Renault authored
Swarming implies that a single instance of the kripke structure (or product) will be explored by diffrent threads with their own exploration order. Most of the modification aims to have a thread safe kripke structure. * spot/kripke/kripke.hh, spot/ltsmin/ltsmin.cc, spot/ltsmin/ltsmin.hh, spot/mc/ec.hh, spot/mc/intersect.hh, spot/mc/reachability.hh, spot/misc/hash.hh, spot/twacube/twacube.hh, tests/core/twacube.test, tests/ltsmin/modelcheck.cc: here.
-
Etienne Renault authored
* spot/misc/timer.hh: here.
-
- 22 May, 2020 1 commit
-
-
Alexandre Duret-Lutz authored
Allocate the first chunk when the fixpool is created. This avoid a undefined behavior reported in issue #413 without requiring an extra comparison in allocate(). * spot/misc/fixpool.hh, spot/misc/fixpool.cc (new_chunk_): New method extracted from allocate(). Use it in the constructor as well. * NEWS: Mention the bug.
-
- 31 Dec, 2019 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/misc/tmpfile.cc: Display strerror(errno) plus some suggestions that depend on the error. Based on a report from Shengping Shaw. * THANKS: Add reporter. * tests/core/ltlcross5.test: New file. * tests/Makefile.am: Add it.
-
- 15 Dec, 2019 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/misc/tmpfile.cc: Display strerror(errno) plus some suggestions that depend on the error. Based on a report from Shengping Shaw. * THANKS: Add reporter. * tests/core/ltlcross5.test: New file. * tests/Makefile.am: Add it.
-
- 26 Sep, 2019 2 commits
-
-
Alexandre Duret-Lutz authored
* spot/misc/bitvect.hh (bitvect_array::at): Fix pointer cast. * spot/twa/bddprint.cc: Adjust to use signed char* explicitly. * spot/twaalgos/gtec/gtec.hh: Work around GCC bug #90309. * .gitlab-ci.yml: Add raspbian build.
-
Alexandre Duret-Lutz authored
* spot/misc/bitvect.hh (bitvect_array::at): Fix pointer cast. * spot/twa/bddprint.cc: Adjust to use signed char* explicitly. * spot/twaalgos/gtec/gtec.hh: Work around GCC bug #90309. * .gitlab-ci.yml: Add raspbian build.
-
- 26 Aug, 2019 1 commit
-
-
Alexandre Duret-Lutz authored
Bison 3.0 was released in 2013, and the current Debian stable (buster) has version 3.3.2. * m4/bison.m4: Remove -Wno-precedence and -Wno-empty-rule, keep -Wno-deprecated just to protect from future deprecation warnings that would be interpreted as errors. * spot/parseaut/parseaut.yy, spot/parsetl/parsetl.yy: Use %empty rules, prefer %precedence over %nonassoc, update %error-versbose and %name-prefix to their more modern equivalent. * spot/misc/trival.hh (maybe): Mark this function as noexcept to please the compiler while compiling the parsers.
-
- 14 Jun, 2019 1 commit
-
-
Alexandre Duret-Lutz authored
* doc/tl/tl.bib: Move ... * doc/spot.bib: ... here, and augment it with all references that appeared verbatim in Doxygen comments. * doc/Makefile.am, doc/tl/Makefile.am doc/tl/tl.tex: Adjust for the move. * doc/Doxyfile.in: Point to spot.bib. * spot/gen/automata.hh, spot/gen/formulas.hh, spot/misc/game.hh, spot/misc/minato.hh spot/taalgos/emptinessta.hh, spot/taalgos/minimize.hh, spot/taalgos/tgba2ta.hh, spot/tl/formula.hh, spot/tl/remove_x.hh, spot/tl/simplify.hh, spot/tl/snf.hh, spot/twaalgos/cobuchi.hh, spot/twaalgos/cycles.hh, spot/twaalgos/dualize.hh, spot/twaalgos/gtec/gtec.hh, spot/twaalgos/gv04.hh, spot/twaalgos/ltl2taa.hh, spot/twaalgos/ltl2tgba_fm.hh, spot/twaalgos/magic.hh, spot/twaalgos/minimize.hh, spot/twaalgos/parity.hh, spot/twaalgos/powerset.hh, spot/twaalgos/randomgraph.hh, spot/twaalgos/se05.hh, spot/twaalgos/simulation.hh, spot/twaalgos/strength.hh, spot/twaalgos/stutter.hh, spot/twaalgos/tau03.hh, spot/twaalgos/totgba.hh, spot/twaalgos/toweak.hh: Use \cite instead of a verbatim bibtex entry.
-
- 14 Feb, 2019 1 commit
-
-
* HACKING: Missing "to", extraneous 's'. * spot/misc/timer.hh: Extraneous space. * spot/twa/acc.hh: Extraneous 's', typos. * spot/twaalgos/genem.hh: Typo. * spot/twaalgos/sccinfo.cc: Fix indentation. * spot/twaalgos/sccinfo.hh: Missing 's'. * tests/python/acc_cond.ipynb: Extraneous 'e', missing comma. * tests/python/decompose.ipynb: Extraneous 't'. * tests/python/ltsmin-dve.ipynb: Extraneous verb.
-
- 13 Feb, 2019 1 commit
-
-
Alexandre Duret-Lutz authored
Do not call std::make_shared on classes inheriting from std::enable_shared_from_this when compiling with g++ 8.2. * NEWS: Mention the bug. * spot/misc/common.hh (SPOT_make_shared_enabled__): New macro. * spot/twa/twagraph.cc, spot/twa/twagraph.hh, spot/twa/twaproduct.hh, spot/twa/taatgba.hh, spot/twaalgos/couvreurnew.cc, spot/twaalgos/magic.cc, spot/twaalgos/se05.cc, spot/twaalgos/tau03.cc, spot/twaalgos/tau03opt.cc, spot/twaalgos/gv04.cc, spot/ltsmin/ltsmin.cc, spot/twaalgos/gtec/gtec.cc: Use it.
-
- 29 Nov, 2018 1 commit
-
-
Etienne Renault authored
* bin/common_finput.hh, bin/common_trans.cc, bin/common_trans.hh, spot/misc/minato.hh, spot/ta/ta.cc, spot/ta/ta.hh, spot/twa/acc.hh, spot/twaalgos/cycles.hh, spot/twaalgos/emptiness.hh, spot/twaalgos/gtec/gtec.hh, spot/twaalgos/ndfs_result.hxx, spot/twaalgos/sccinfo.hh, spot/twaalgos/word.cc, spot/twaalgos/word.hh: Here.
-
- 10 Nov, 2018 1 commit
-
-
Alexandre Duret-Lutz authored
Reported by Maxime Bouton. * spot/misc/tmpfile.cc: Include stdlib.h, not cstdlib, so that our replacement secure_getenv() is found. * THANKS: Add Maxime.
-
- 27 Sep, 2018 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/misc/game.hh: Here.
-
- 02 Aug, 2018 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/misc/escape.hh: Here.
-
- 27 Jul, 2018 1 commit
-
-
Maximilien Colange authored
ltlsynt now offers two algorithms: one where splitting occurs before determinization (the historical one) and one where determinization occurs before splitting. * bin/ltlsynt.cc: here * tests/core/ltlsynt.test: test it and refactor test file * NEWS: document it * spot/misc/game.hh, spot/misc/game.cc: remove Calude's algorithm
-
- 19 Jul, 2018 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/ltsmin/ltsmin.cc, spot/misc/tmpfile.cc, spot/parseaut/parseaut.yy, spot/taalgos/dot.cc, spot/tl/hierarchy.cc, spot/tl/unabbrev.cc, spot/twa/acc.cc, spot/twa/twagraph.cc, spot/twaalgos/dot.cc, spot/twaalgos/hoa.cc, spot/twaalgos/lbtt.cc, spot/twaalgos/neverclaim.cc, spot/twaalgos/strength.cc, spot/twaalgos/word.cc: Replace std::string("foo") by "foo"s, and include namespace std::string_literals.
-
- 18 Jul, 2018 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/misc/escape.hh: Here.
-
- 04 Jul, 2018 1 commit
-
-
Alexandre Duret-Lutz authored
Hopefully fixes #359. * spot/misc/trival.hh: Declare a global operator==(trival,trival) that replace the specialized operator==(bool,trival), and the in class trival::operator(trival), thanks to the implicit construction from bool to trival. Make the repr_t/value_t constructor explicit, are those are mostly internal to the library and may cause conflicts. * spot/twa/twa.hh: Adjust to construct trival explicitly. * python/spot/impl.i: Since Swig/Python does not support global comparison operators, implement a member version, supporting only __eq__(trival,bool) as before. * tests/python/setacc.py: Adjust erroneous code. * tests/python/trival.py: Add test cases.
-
- 20 Jun, 2018 2 commits
-
-
Maximilien Colange authored
* spot/priv/allocator.hh, spot/priv/Makefile.am: add a STL-compliant allocator based on spot::fixed_size_pool * spot/misc/fixpool.hh, spot/misc/fixpool.cc, spot/misc/Makefile.am: refactor the existing spot::fixed_size_pool * spot/ltsmin/ltsmin.cc, spot/twa/twaproduct.cc: reflect changes in the interface of spot::fixed_size_pool * tests/core/mempool.cc: test the new allocator
-
Maximilien Colange authored
Annotate pools with valgrind macros so that it detects errors in pool usage. Typically, we wish valgrind to detect a leak when the user fails to call proper deallocation function. * spot/misc/fixpool.hh, spot/misc/mspool.hh: here * configure.ac: ensure that valgrind header exists * tests/Makefile.am, tests/core/mempool.cc, tests/core/mempool.test, tests/core/.gitignore: add tests to ensure valgrind accurately detects leaks
-
- 15 Jun, 2018 1 commit
-
-
Maximilien Colange authored
Zielonka algorithm used to iterate over an std::unordered_set, thus producing different strategies depending on compiler... * spot/misc/game.cc: replace std::unordered_set with std::set
-
- 26 May, 2018 1 commit
-
-
Alexandre Duret-Lutz authored
* spot/misc/bitset.cc, spot/misc/bitset.hh (set, clear): Turn asserts into exceptions. * spot/twa/acc.hh (mark_t): As a consequence, the constructor is not noexcept anymore. * tests/core/acc.cc, tests/python/except.py: More tests.
-
- 25 May, 2018 2 commits
-
-
Alexandre Duret-Lutz authored
The exception raised by << and >> when shifting mark_t by too many bits are only enabled in SPOT_DEBUG, as those operations are quite low-level. However we were always testing them, and although we wanted them to be active in Python, it was not always the case. * spot/twa/acc.hh: introduce max_accsets() as a static constexpr method, so we can see it in Python. * spot/misc/bitset.hh: Fix preprocessing directive so the check is actually enabled when compiling the Python bindings. * bin/autcross.cc, bin/autfilt.cc, bin/ltlcross.cc: Use max_accsets(). * tests/core/acc.cc: Comment out the shifting exception when SPOT_DEBUG is unset. * tests/python/except.py: Make sure the exception is always raised in Python.
-
Maximilien Colange authored
* spot/misc/bitset.hh: add methods set() and clear() * spot/twa/acc.hh: deprecate comparison of mark_t with unsigned, and rely more on biset for efficiency
-
- 24 May, 2018 2 commits
-
-
Alexandre Duret-Lutz authored
* spot/misc/bitset.hh: Here. * spot/misc/bitset.cc: New file. * spot/misc/Makefile.am: Add it. * spot/twa/acc.hh: Conditionally remove the exception checks around shift operators. * spot/misc/common.hh (SPOT_ASSUME): New macro.
-
Alexandre Duret-Lutz authored
* spot/misc/common.hh (SPOT_BUILTIN_UNREACHABLE): Typo.
-
- 23 May, 2018 1 commit
-
-
Maximilien Colange authored
* spot/misc/bitset.hh: here * tests/core/acc.cc: test it
-
- 22 May, 2018 1 commit
-
-
Alexandre Duret-Lutz authored
This longstanding issue caused some emptiness checks options to be ignored in the test suite, reducing coverage. * spot/misc/optionmap.cc (set): Insert the other keys without erasing the existing ones.
-