Alexandre Duret-Lutz
a9b4560f3d
dot: add option "k"
...
Fixes #134 .
* spot/twaalgos/dot.cc: Implement it.
* bin/common_aoutput.cc, spot/twaalgos/dot.hh, NEWS: Document it.
* tests/core/readsave.test, tests/python/ltsmin.ipynb: Test it.
2016-02-01 08:38:45 +01:00
Alexandre Duret-Lutz
5a5f83f468
python: add missing bindings for twa_word and twa_run
...
Fixes #133 .
* python/spot/impl.i: Add bindings for twa_word. Add a __repr__
for twa_run, and instantiate templates for twa_run's members.
* tests/python/word.ipynb: New file with examples.
* tests/Makefile.am, doc/org/tut.org: Add it.
2016-01-31 21:05:44 +01:00
Alexandre Duret-Lutz
eb0a0b6b34
dot: use circles if state names are all short
...
* spot/twaalgos/dot.cc: Check for state names sizes.
* tests/core/readsave.test: Test the change.
* tests/core/tgbagraph.test: Adjust.
2016-01-29 13:39:17 +01:00
Alexandre Duret-Lutz
b11c07b351
dot: add a <N option
...
* spot/twaalgos/dot.cc: Implement it.
* spot/taalgos/dot.cc: Ignore it.
* spot/twaalgos/copy.cc, spot/twaalgos/copy.hh: Add option
to limit the number of states.
* tests/python/ltsmin.ipynb: Improve test case.
* tests/Makefile.am: Cleanup the files generated by ltsmin.ipynb.
* python/spot/__init__.py (setup): Add a max_states argument
that default to 50.
* bin/common_aoutput.cc: Mention the <INT option.
* NEWS: Likewise.
2016-01-29 09:09:05 +01:00
Alexandre Duret-Lutz
4571d6dd3a
copy: rewrite as a BFS without using reachiter
...
* spot/twaalgos/copy.hh: Trim includes.
* spot/twaalgos/copy.cc: Rewrite.
* tests/python/ltsmin.ipynb: Adjust.
2016-01-28 15:37:00 +01:00
Alexandre Duret-Lutz
9b95b697a5
twa: introduce the state_map template alias
...
* spot/twa/twa.hh: Introduce the type.
* spot/taalgos/emptinessta.cc, spot/taalgos/emptinessta.hh,
spot/taalgos/minimize.cc, spot/taalgos/reachiter.cc,
spot/taalgos/reachiter.hh, spot/taalgos/tgba2ta.cc,
spot/twa/twasafracomplement.cc, spot/twaalgos/dtwasat.cc,
spot/twaalgos/emptiness.cc, spot/twaalgos/gtec/status.cc,
spot/twaalgos/gtec/status.hh, spot/twaalgos/gv04.cc,
spot/twaalgos/magic.cc, spot/twaalgos/minimize.cc,
spot/twaalgos/minimize.hh, spot/twaalgos/reachiter.cc,
spot/twaalgos/reachiter.hh, spot/twaalgos/se05.cc,
spot/twaalgos/tau03.cc, spot/twaalgos/tau03opt.cc: Use it.
2016-01-28 13:15:48 +01:00
Alexandre Duret-Lutz
6230f320bf
python: fix installation
...
* python/Makefile.am: Use nobase_ for installing python files. This
required removing the $(srcdir) prefix used almost everywhere in this
file, which in turn enabled the use of subdir-objects to remove
an Automake warning. The downside is that the Makefile probably won't
support VPATH builds with some inferior implementations of Make.
2016-01-28 10:46:55 +01:00
Alexandre Duret-Lutz
c968e7b856
ltl2tgba_fm: fix setting of unambiguous property
...
Report from Joachim Klein.
* spot/twaalgos/ltl2tgba_fm.cc: Set the property, do not read it.
* tests/core/unambig.test: Add a test.
* NEWS: Mention the bug.
2016-01-26 19:38:50 +01:00
Alexandre Duret-Lutz
a3c2691632
debian: add missing file
...
* debian/libspotltlsmin0.install: Rename as...
* debian/libspotltsmin0.install: ... this, and
* Makefile.am: Actually distribute it!
2016-01-26 19:21:35 +01:00
Alexandre Duret-Lutz
db1e842a67
ltsmin: add accessors for variable names and types
...
* spot/ltsmin/ltsmin.hh, spot/ltsmin/ltsmin.cc: Expose more of the
ltsmin interface.
* python/spot/ltsmin.i: Add some helper functions on top of this
new interface.
* tests/python/ltsmin.ipynb: Test them.
* NEWS: Mention it.
2016-01-26 19:21:35 +01:00
Alexandre Duret-Lutz
907b72fbfb
ltsmin: implement a two-step loading
...
* spot/ltsmin/ltsmin.cc, spot/ltsmin/ltsmin.hh: Split load_ltsmin() into
ltsmin_model::load() and ltsmin_model::kripke(). Report errors using
exceptions instead of on std::cerr.
* python/spot/ltsmin.i: Deal with exceptions.
* tests/ltsmin/modelcheck.cc, tests/python/ltsmin.ipynb: Adjust.
2016-01-26 19:21:35 +01:00
Alexandre Duret-Lutz
84031d2ae1
more files to ignore
...
* python/.gitignore, tests/.gitignore: Here.
2016-01-26 19:21:35 +01:00
Alexandre Duret-Lutz
0c2997990d
* tests/run.in: Honor PREFIXCMD even without argument.
2016-01-26 19:21:35 +01:00
Alexandre Duret-Lutz
5a9b0aa1c1
python: add bindings for ltsmin
...
* python/spot/ltsmin.i: New file.
* python/Makefile.am: Add it.
* python/spot/impl.i: Add bindings for kripke and fair_kripke.
* tests/python/ltsmin.ipynb: New file.
* tests/Makefile.am, doc/org/tut.org: Add it.
* tests/python/ipnbdoctest.py: Make it possible for notebook
to exit(77).
* debian/control: Make the Python package dependent
on libspotltsmin0.
* python/spot/__init__.py: Typo.
2016-01-26 19:20:53 +01:00
Alexandre Duret-Lutz
215fcb799a
Make spot.py a python package instead of a module
...
* python/spot.py, python/spot_impl.i: Rename as...
* python/spot/__init__.py, python/spot/impl.i: ... these.
* python/Makefile.am, tests/run.in: Adjust for new paths.
* tests/python/automata-io.ipynb, tests/python/automata.ipynb,
tests/python/decompose.ipynb, tests/python/piperead.ipynb,
tests/python/testingaut.ipynb: Adjust messages to refer to spot.impl
instead of spot_impl.
2016-01-26 19:20:26 +01:00
Alexandre Duret-Lutz
727d4cc678
* doc/org/concepts.org: Fix a few typos.
2016-01-23 22:11:18 +01:00
Alexandre Duret-Lutz
c4e9083f4e
product: raise an exception if the dict are different
...
Fixes #132 .
* python/spot.py (translate): Allow changing the dictionary.
* tests/python/prodexpt.py: New file.
* tests/Makefile.am: Add it.
* spot/twa/twaproduct.cc, spot/twaalgos/product.cc: Add them.
* NEWS: Mention the change.
2016-01-23 21:28:35 +01:00
Alexandre Duret-Lutz
78fd7beaaf
org: Add a Concepts page.
...
* doc/org/concepts.org: New file.
* doc/Makefile.am: Add it.
* doc/org/oaut.org: Add anchor.
* doc/org/index.org, doc/org/tut.org: Add links to concepts.org.
* doc/org/spot.css: Set up boxes for implementation details.
* NEWS: Mention the new page.
2016-01-23 17:49:32 +01:00
Alexandre Duret-Lutz
2364ff8148
typos
...
* bin/autfilt.cc, spot/twaalgos/degen.cc, spot/twaalgos/dtwasat.cc,
spot/twaalgos/remfin.cc, spot/twaalgos/sccfilter.cc: "only work" ->
"only works".
2016-01-21 19:11:25 +01:00
Alexandre Duret-Lutz
73b1a0901e
* doc/org/.gitignore: Add sitemap.org.
2016-01-21 19:07:48 +01:00
Alexandre Duret-Lutz
7673b4b535
* python/spot.py: Make it possible to call str('dot') on formula.
2016-01-21 19:07:48 +01:00
Alexandre Duret-Lutz
ad8b964520
org: generate a sitemap
...
* doc/org/.dir-locals.el.in, doc/org/init.el.in: Enable sitemap
generation.
2016-01-18 16:57:26 +01:00
Alexandre Duret-Lutz
5b82978449
* doc/org/setup.org: Disable html postamble.
2016-01-18 16:57:06 +01:00
Alexandre Duret-Lutz
dc93e13490
* NEWS, configure.ac: Bump version number.
2016-01-15 16:29:09 +01:00
Alexandre Duret-Lutz
f466320b4a
Release Spot 1.99.7
...
* NEWS, configure.ac, doc/org/setup.org: Bump version to 1.99.7.
2016-01-15 11:30:16 +01:00
Alexandre Duret-Lutz
c22ef61037
* python/ajax/spotcgi.in: Rename acc.is_tt() to acc.is_t().
2016-01-15 08:50:48 +01:00
Alexandre Duret-Lutz
f5d156abf2
* NEWS: Minor cleanup.
2016-01-15 08:49:08 +01:00
Alexandre Duret-Lutz
0f39da9ed6
* doc/org/compile.org: Typos.
2016-01-15 08:39:08 +01:00
Alexandre Duret-Lutz
66d8f3ce09
work around core dump created by running ipython4
...
* tests/Makefile.am (distclean-local): Erase python/core.
2016-01-14 18:37:48 +01:00
Alexandre Duret-Lutz
51483b9b7f
fix complete
...
Alexandre Lewkowicz reported a case where complete() would peek an
existing state that is accepting, and wrongly use it as a sink.
* spot/twaalgos/complete.cc: Fix the function.
* tests/core/complete.test: Add two more tests.
* NEWS: Mention the bug.
2016-01-14 17:16:17 +01:00
Alexandre Duret-Lutz
6c62362fe9
parseaut: add support for negated properties
...
* spot/parseaut/parseaut.yy: Here.
* tests/core/parseaut.test: Test it.
* NEWS: Mention it.
2016-01-14 16:58:17 +01:00
Alexandre Duret-Lutz
da391492f3
twa: store property bits as trivals
...
* spot/twa/twa.hh: Store property bits as trivals.
* NEWS: Mention the change.
* spot/parseaut/parseaut.yy, spot/twaalgos/are_isomorphic.cc,
spot/twaalgos/complete.cc, spot/twaalgos/dot.cc, spot/twaalgos/hoa.cc,
spot/twaalgos/isdet.cc, spot/twaalgos/isunamb.cc, spot/twaalgos/lbtt.cc,
spot/twaalgos/ltl2tgba_fm.cc, spot/twaalgos/postproc.cc,
spot/twaalgos/remfin.cc, spot/twaalgos/strength.cc,
spot/twaalgos/stutter.cc, spot/twaalgos/stutter.hh,
spot/twaalgos/totgba.cc, tests/core/ikwiad.cc,
tests/python/product.ipynb, tests/python/remfin.py: Adjust.
* doc/org/hoa.org, doc/org/tut21.org: Update documentation.
2016-01-13 17:57:54 +01:00
Alexandre Duret-Lutz
1aeb260adf
trival: new class for tri-valued logic
...
* spot/misc/trival.hh: New file.
* spot/misc/Makefile.am: Add it.
* python/spot_impl.i: Add Python bindings.
* tests/core/trival.cc, tests/core/trival.test,
tests/python/trival.py: New files, testing it.
* tests/Makefile.am: Add them.
2016-01-13 17:57:54 +01:00
Etienne Renault
e764cf6f3b
Preserve named-states during defrag
...
* spot/twa/twagraph.cc, spot/twa/twagraph.hh,
tests/core/tgbagraph.test, tests/core/twagraph.cc,
NEWS: here.
2016-01-12 21:06:46 +01:00
Alexandre Duret-Lutz
d22ecba9b6
twa: call unregister_all_my_variables()
...
Fixes #129 .
* spot/twa/twa.cc (~twa): call unregister_all_my_variables()
* spot/twa/twagraph.hh, spot/twa/twaproduct.cc,
spot/twaalgos/stutter.cc: Simplify.
* NEWS: Mention the change.
2016-01-10 21:02:31 +01:00
Alexandre Duret-Lutz
d0b38156f3
bin: make HOA the default output
...
* bin/common_aoutput.cc: Make HOA the default output.
* NEWS: Mention this.
* doc/org/autfilt.org, doc/org/dstar2tgba.org, doc/org/hoa.org,
doc/org/ltl2tgba.org, doc/org/ltl2tgta.org, doc/org/ltlcross.org,
doc/org/ltldo.org, doc/org/oaut.org, doc/org/randaut.org,
doc/org/satmin.org, doc/org/tut02.org, doc/org/tut03.org,
doc/org/tut20.org, doc/org/tut21.org, doc/org/tut30.org,
tests/core/dstar.test, tests/core/ltldo2.test, tests/core/monitor.test,
tests/python/piperead.ipynb: Adjust.
2016-01-08 13:42:57 +01:00
Alexandre Duret-Lutz
9d6727da5c
bin: add support for SPOT_DEFAULT_FORMAT
...
* bin/common_aoutput.cc, bin/common_aoutput.hh, bin/common_setup.cc:
Implement it.
* NEWS, bin/man/spot-x.x: Document it.
* tests/core/readsave.test: Test it.
2016-01-06 18:17:06 +01:00
Alexandre Duret-Lutz
cca2022e90
bin: add -d as a shorthand for --dot
...
* bin/common_aoutput.cc: Here.
* NEWS, doc/org/oaut.org: Mention it.
* tests/core/readsave.test: Use it once.
2016-01-06 16:27:59 +01:00
Alexandre Duret-Lutz
ea5f52ddbb
randaut: rename -d as -e
...
This is so that we can have -d as an alias for --dot everywhere.
* bin/randaut.cc: Rename -d as -e.
* NEWS: Mention the change.
* doc/org/autfilt.org, doc/org/oaut.org, doc/org/randaut.org,
tests/core/parseaut.test, tests/core/readsave.test: Adjust.
2016-01-06 15:54:11 +01:00
Alexandre Duret-Lutz
8c04e31a35
org: fix definition of PATH
...
* doc/org/.dir-locals.el.in, doc/org/init.el.in: bin/ is no longer in
spot/.
2016-01-06 15:43:36 +01:00
Alexandre Duret-Lutz
5232e6a2fb
* tests/core/randaut.test: Simplify calls to randaut/autfilt.
2016-01-06 15:17:59 +01:00
Alexandre Duret-Lutz
d5c8574650
* bin/README: Typo.
2016-01-06 15:08:28 +01:00
Alexandre Duret-Lutz
3b115f0105
* HACKING: Minor updates to a few sections.
2016-01-06 14:25:37 +01:00
Alexandre Duret-Lutz
f470edc6c4
Do not run the Python tests when --disable-python.
...
* tests/Makefile.am (TESTS_python): Define conditionally.
2016-01-06 14:24:51 +01:00
Alexandre Duret-Lutz
bf7df62032
* tools/test-driver-teamcity: Do not add tests/ in the output.
2016-01-05 17:20:51 +01:00
Alexandre Duret-Lutz
f08dbe7000
* NEWS: Mention recent directory moves.
2016-01-05 17:20:51 +01:00
Alexandre Duret-Lutz
82a718a0f2
* bin/common_setup.cc: Bump copyright year.
2016-01-05 17:20:51 +01:00
Alexandre Duret-Lutz
d68db6ad44
use find to clean to test suite temporary directories
...
* tests/Makefile.am (distclean-local): Here.
2016-01-05 17:20:51 +01:00
Alexandre Duret-Lutz
6e854b6d83
move the sanity tests in tests/sanity/
...
* spot/sanity/: Move ...
* tests/sanity/: ... here.
* spot/sanity/Makefile.am: Merge with...
* tests/Makefile.am: ... this.
* tests/run.in: Learn to run perl tests.
* README, configure.ac, spot/Makefile.am: Adjust.
* spot/tl/mark.hh: Add missing SPOT_API detected by
fixed private.test.
* spot/twaalgos/weight.cc, spot/twaalgos/weight.hh: Move...
* spot/priv/weight.cc, spot/priv/weight.hh: ... here, as
suggested by fixed private.test.
* spot/twaalgos/tau03opt.cc, spot/twaalgos/Makefile.am,
spot/priv/Makefile.am: Adjust.
2016-01-05 17:20:51 +01:00
Alexandre Duret-Lutz
6b881a2e38
* tests/python/ipnbdoctest.py: 80 columns.
2016-01-05 11:53:03 +01:00