Alexandre Duret-Lutz
933c4cde0c
couvreur99_new: fix two memory leaks found by ASAN
...
This only occurs when doing the emptiness check of twa with allocated
states.
* spot/twaalgos/couvreurnew.cc: Here.
* NEWS: Mention the bug.
2017-11-17 18:11:55 +01:00
Maximilien Colange
b86cbf0514
Mark bdd_hash as noexcept
...
* spot/misc/bddlt.hh: do it
2017-11-17 14:31:03 +01:00
Etienne Renault
4bc68f8ab8
misc: improve previous commit (thanks to A. Duret-Lutz)
...
* spot/misc/game.cc: here.
2017-11-17 14:07:23 +01:00
Etienne Renault
d7fa7f4826
Fixes #304
...
* spot/misc/game.cc: here.
2017-11-17 08:58:05 +01:00
Alexandre Duret-Lutz
50fe34a55a
introduce is_obligation(f)
...
This is not optimal yet because it still construct a minimal WDBA
internally, but it's better than the previous way to call
minimize_obligation() since it can avoid constructing the minimized
automaton in a few more cases.
* spot/tl/hierarchy.cc, spot/tl/hierarchy.hh: Introduce
is_obligation().
* bin/ltlfilt.cc: Wire it to --obligation.
* spot/twaalgos/minimize.cc: Implement is_wdba_realizable(),
needed by the above.
* tests/core/obligation.test: Test it.
* bin/man/spot-x.x, NEWS: Document it.
2017-11-16 07:26:34 +01:00
Alexandre GBAGUIDI AISSE
f7ee9ed18e
hierarchy: Fix #303
...
* spot/tl/hierarchy.cc: code was actually reachable.
2017-11-16 02:14:18 +01:00
Alexandre Duret-Lutz
18b4566762
wdba_minimization: make the reverse check first
...
* spot/twaalgos/minimize.cc (minimize_obligation): When
needed (i.e. in the non-deterministic case), make the reverse check
before the forward check, because it does not require translating the
negated formula.
2017-11-15 15:12:26 +01:00
Alexandre Duret-Lutz
f0735d4d86
wdba_minimization: avoid translating !f when input is deterministic
...
* spot/twaalgos/minimize.cc (wdba_minimization): Here.
2017-11-15 15:00:41 +01:00
Alexandre Duret-Lutz
32019b6e1a
wdba_minimization: skip one inclusion test on deterministic input
...
* spot/twaalgos/minimize.cc (wdba_minimization): Improve handling of
deterministic input by not doing the powerset/wdba_scc_is_accepting
duo, and skipping the one inclusion test.
2017-11-15 15:00:41 +01:00
Alexandre Duret-Lutz
43b580ccee
fix some g++-snapshot warnings
...
* spot/twaalgos/couvreurnew.cc: explicit operator bool is not used by
return.
2017-11-15 14:40:51 +01:00
Alexandre Duret-Lutz
230801c420
dstar2tgba: remove some useless call
...
* bin/dstar2tgba.cc: Do not call to_generalized_buchi(), it's
already done in postproc.
2017-11-15 14:40:48 +01:00
Alexandre Duret-Lutz
42a94c4dbe
bin: add support for SPOT_OOM_ABORT
...
* bin/common_setup.cc: Here.
* NEWS, bin/man/spot-x.x: Document it.
2017-11-15 14:38:07 +01:00
Alexandre Duret-Lutz
b20687630b
org: ltl3hoa -> ltl3tela
...
Fixes #296 .
* doc/org/ltlcross.org: Here.
2017-11-07 17:15:13 +01:00
Alexandre Duret-Lutz
010b418583
Merge branch 'master' into next
2017-11-07 07:48:53 +01:00
Alexandre Duret-Lutz
7c8d52640e
Bump version to 2.4.2.dev
...
* configure.ac, NEWS: Here.
2017-11-07 07:46:53 +01:00
Alexandre Duret-Lutz
ed5463cf6f
Release Spot 2.4.2
...
* NEWS, configure.ac, doc/org/setup.org: Update.
2017-11-07 07:44:27 +01:00
Alexandre Duret-Lutz
8d461b25bd
bin: add shorthand for ltl3tela
...
That's the new name of ltl3hoa.
* bin/common_trans.cc: Add it.
2017-11-07 07:40:59 +01:00
Alexandre Duret-Lutz
e5a37ff98f
symplify_acceptance: More rules
...
Fixes #297 . Implement the following rules.
Fin(i) & Fin(j) by f if i and j are complementary
Fin(i) & Inf(i) by f
Inf(i) | Inf(j) by t if i and j are complementary
Fin(i) | Inf(i) by t.
* spot/twaalgos/cleanacc.cc, spot/twaalgos/cleanacc.hh: Here.
* tests/python/merge.py: Add more test cases.
* NEWS: Mention the change.
2017-11-06 17:31:59 +01:00
Alexandre Duret-Lutz
d9f8c517fa
* tests/core/bdddict.cc: Trap SIGABORT so coverage works.
2017-11-05 15:37:45 +01:00
Alexandre Duret-Lutz
ba5a89a620
tests: add a test for bdd_dict::assert_emptiness()
...
This improves the coverage for bdd_dict::assert_emptiness() and
bdd_dict::dump().
* tests/core/bdddict.cc, tests/core/bdddict.test: New files.
* tests/Makefile.am, tests/core/.gitignore: Adjust.
2017-11-05 11:17:56 +01:00
Alexandre Duret-Lutz
df73b84a47
bdd_dict: remove register_all_propositions_of
...
* spot/twa/bdddict.cc, spot/twa/bdddict.hh: Here.
* NEWS: Mention this removal.
2017-11-05 09:43:01 +01:00
Alexandre Duret-Lutz
0f26125f08
acc::name(): recognize generalized Streett
...
* spot/twa/acc.cc: Implement this.
* tests/python/randaut.ipynb: Adjust.
2017-11-05 09:26:18 +01:00
Alexandre Duret-Lutz
62302b6046
autfilt: introduce --acceptance-is
...
Fixes #288 .
* bin/autfilt.cc: Implement it.
* spot/twa/acc.cc, spot/twa/acc.hh: Add
acc_cond::is_generalized_streett, acc_cond::operator==, and
acc_cond::operator!=.
* tests/core/randaut.test: Add some tests.
* NEWS: Mention it.
2017-11-04 21:17:59 +01:00
Alexandre Duret-Lutz
3334d37bb5
acc::name(): recognize Fin-less acceptance
...
* spot/twa/acc.cc: Implement this.
* tests/python/automata.ipynb, tests/python/randaut.ipynb,
tests/python/stutter-inv.ipynb: Adjust.
2017-11-04 12:44:43 +01:00
Alexandre Duret-Lutz
75a1d6ac61
bin: add %g options to print acceptance name
...
Fixes #289 .
* spot/twaalgos/stats.cc, spot/twaalgos/stats.hh,
bin/common_aoutput.cc, bin/common_aoutput.hh: plug %g and %G into
acc_cond::name() when arguments are given as %[arg]g. or %[arg]G.
* tests/core/acc2.test: Add test case.
* doc/org/randaut.org, NEWS: Document it.
2017-11-04 07:43:41 +01:00
Alexandre Duret-Lutz
bd39edde27
acc: introduce acc_cond::name()
...
* spot/twa/acc.cc, spot/twa/acc.hh (acc_cond::name): New method.
* spot/twaalgos/dot.cc: Use it.
* tests/python/acc_cond.ipynb: Add a small test.
* NEWS: Mention it.
2017-11-04 07:38:24 +01:00
Alexandre Duret-Lutz
4711dcd74f
introduce stutter_invariant_letters()
...
* spot/twaalgos/stutter.cc,
spot/twaalgos/stutter.hh (stutter_invariant_letters)
(stutter_invariant_states): Get rid of the broken local variant.
* tests/python/stutter-inv.ipynb, NEWS: Document.
* python/spot/impl.i: Bind vector<bdd>.
2017-11-03 17:02:30 +01:00
Alexandre Duret-Lutz
f84ca9995c
test the SPOT_SATSOLVER envvar
...
* tests/core/satmin3.test: New file.
* tests/Makefile.am: Add it.
* spot/misc/satsolver.cc: Cleanup error messages.
* spot/misc/satsolver.hh (satsolver_get_solution): Remove this unused
function.
* tests/core/readsat.cc, tests/core/readsat.test: Delete (unused).
* tests/Makefile.am: Adjust.
2017-11-02 20:13:58 +01:00
Alexandre Duret-Lutz
161bb0675f
test the SPOT_BDD_TRACE envvar
...
* tests/core/bdd.test: New file.
* tests/Makefile.am: Add it.
2017-11-02 11:12:38 +01:00
Alexandre Duret-Lutz
0bbcb7f35d
random: remove bmrand() and prand()
...
We do not need these functions in Spot.
* spot/misc/random.cc, spot/misc/random.hh (bmrand, prand): Remove.
* NEWS: Mention it.
2017-11-02 10:24:08 +01:00
Alexandre Duret-Lutz
74215eaa4a
parseaut: improve coverage
...
* tests/core/parseaut.test: Add more tests.
2017-11-01 20:34:01 +01:00
Alexandre Duret-Lutz
679fdfd853
doc: fix some doxygen commands
...
* spot/twaalgos/iscolored.hh, spot/twaalgos/parity.hh: Here.
2017-11-01 10:40:41 +01:00
Alexandre Duret-Lutz
6459877a1a
overhaul the stutter-invariance checks
...
* spot/twaalgos/stutter.cc, spot/twaalgos/stutter.hh: Cleanup and
document the api.
* spot/twa/twa.hh, doc/mainpage.dox: Add a stutter-invariant section.
* tests/python/stutter-inv-states.ipynb: Rename as ...
* tests/python/stutter-inv.ipynb: ... this, and add more comments.
* tests/Makefile.am, doc/org/tut.org: Adjust renaming.
* bench/stutter/stutter_invariance_randomgraph.cc,
bench/stutter/stutter_invariance_formulas.cc,
bench/stutter/Makefile.am: Make it compile again.
* bin/autfilt.cc: Call inplace variants.
* NEWS: Mention the overhaul.
2017-11-01 10:35:11 +01:00
Alexandre Duret-Lutz
7510743b47
org: update for gpg-signed Debian repository
...
* doc/org/install.org: Mention the GPG key.
2017-10-23 17:59:57 +02:00
Alexandre Duret-Lutz
2222661f98
org: update for gpg-signed Debian repository
...
* doc/org/install.org: Mention the GPG key.
2017-10-23 17:58:32 +02:00
Alexandre Duret-Lutz
d597c58106
org: improve wording
...
* doc/org/tut04.org: This tests equivalence, not equality.
2017-10-19 18:45:55 +02:00
Alexandre Duret-Lutz
f42f156861
bin: add shorthand for ltl3tela
...
That's the new name of ltl3hoa.
* bin/common_trans.cc: Add it.
2017-10-19 18:44:37 +02:00
Alexandre Duret-Lutz
566d8e5c87
acc: simplify mark_t::subset()
...
* spot/twa/acc.hh: Here.
2017-10-19 18:44:37 +02:00
Alexandre Duret-Lutz
bdfa2b3983
org: improve wording
...
* doc/org/tut04.org: This tests equivalence, not equality.
2017-10-19 18:44:37 +02:00
Maximilien Colange
bd739a5712
Heavily rewrite and optimize the determinization
...
* NEWS: document the rewrite
* spot/twaalgos/determinize.cc: lots of code optimizations
* tests/core/safra.test, tests/python/highlighting.ipynb,
tests/python/simstate.py: Update tests
2017-10-19 14:17:55 +02:00
Alexandre Duret-Lutz
1a0dcf4f69
document the recent changes to implication rules
...
* doc/tl/tl.tex: This adds the rules implemented in 0a2bca137
for #293 .
2017-10-18 14:53:29 +02:00
Alexandre Duret-Lutz
427c696954
org: fix the example for ltlcross --verbose
...
* doc/org/ltlcross.org: Use SPOT_HOA_TOLERANT=1 to work around a bug
in ltl3ba -H1.
2017-10-18 14:52:30 +02:00
Alexandre Duret-Lutz
5b037f96e0
man: add missing crossrefs in spot(7)
...
Part of #292 .
* bin/man/spot.x, bin/spot.cc: Here.
2017-10-18 14:50:58 +02:00
Alexandre Duret-Lutz
42452ba4a3
simplify: improve the logic of some implication checks
...
Fixes #293 .
* spot/tl/simplify.cc: Test implications that would yield tt or ff
first. In rules of the form "if a => b, a op b = b" also check
if b => a, and in this case return smallest(a,b).
* tests/core/reduccmp.test: Add a test.
* NEWS: Mention it.
2017-10-18 14:50:11 +02:00
Alexandre Duret-Lutz
e6c4eb15c1
genaut: fix ks_nca
...
* spot/gen/automata.cc (ks_nca): The output is complete.
* tests/core/genaut.test: Add test.
* NEWS: Mention the bug.
2017-10-18 14:50:11 +02:00
Alexandre Duret-Lutz
b521fef226
simulation: do not create scc_info
...
* spot/twaalgos/simulation.cc: Remove useless creation of scc_info
object.
2017-10-18 14:50:11 +02:00
Alexandre Duret-Lutz
da65479696
Bump version to 2.4.1.dev
...
* NEWS, configure.ac: Here.
2017-10-18 14:45:21 +02:00
Alexandre Duret-Lutz
308415f88a
document the recent changes to implication rules
...
* doc/tl/tl.tex: This adds the rules implemented in 0a2bca137
for #293 .
2017-10-17 17:58:59 +02:00
Alexandre Duret-Lutz
fcccd5f425
ltlcross: add support for --reference translators
...
Suggested by Tobias Meggendorfer. Fixes #295 .
* bin/ltlcross.cc, bin/common_trans.hh, bin/common_trans.cc: Implement
this --reference option.
* NEWS, doc/org/ltlcross.org: Document it.
* tests/core/ltlcross3.test: Test it.
2017-10-15 19:35:28 +02:00
Alexandre Duret-Lutz
77c0e76258
org: fix the example for ltlcross --verbose
...
* doc/org/ltlcross.org: Use SPOT_HOA_TOLERANT=1 to work around a bug
in ltl3ba -H1.
2017-10-15 18:48:00 +02:00