- 11 Jun, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/twa/twa.hh (num_sets): New method. Delegating to acc_. * src/twa/twagraph.hh, src/twa/twaproduct.cc, src/twa/twaproxy.cc, src/twaalgos/degen.cc, src/twaalgos/dot.cc, src/twaalgos/dtgbacomp.cc, src/twaalgos/dtgbasat.cc, src/twaalgos/gv04.cc, src/twaalgos/hoa.cc, src/twaalgos/lbtt.cc, src/twaalgos/magic.cc, src/twaalgos/mask.cc, src/twaalgos/ndfs_result.hxx, src/twaalgos/postproc.cc, src/twaalgos/powerset.cc, src/twaalgos/product.cc, src/twaalgos/remfin.cc, src/twaalgos/se05.cc, src/twaalgos/simulation.cc, src/twaalgos/stats.cc, src/twaalgos/stutter.cc, src/twaalgos/tau03.cc, src/twaalgos/tau03opt.cc, src/twaalgos/totgba.cc: Simplify acc().num_sets() into num_sets().
-
Alexandre Duret-Lutz authored
Because this parser is not specific to HOA anymore. * src/hoaparse/Makefile.am, src/hoaparse/fmterror.cc, src/hoaparse/hoaparse.yy, src/hoaparse/parsedecl.hh, src/parseaut/public.hh, src/hoaparse/hoascan.ll, src/tests/hoaparse.test: Rename to... * src/parseaut/Makefile.am, src/parseaut/fmterror.cc, src/parseaut/parseaut.yy, src/parseaut/parsedecl.hh, src/hoaparse/public.hh, src/parseaut/scanaut.ll, src/tests/parseaut.test: ... these, and also adjust the name internally. For instance hoa_aut_ptr is now parsed_aut_ptr; hoa_stream_parser is now automaton_stream_parser, and hoa_parse() has become parse_aut(). * NEWS, README, configure.ac, doc/org/tut20.org, src/Makefile.am, src/bin/autfilt.cc, src/bin/common_aoutput.cc, src/bin/common_aoutput.hh, src/bin/common_conv.cc, src/bin/ltlcross.cc, src/bin/ltldo.cc, src/tests/Makefile.am, src/tests/complementation.cc, src/tests/ltl2tgba.cc, src/tests/readsave.test, wrap/python/ajax/spot.in, wrap/python/spot.py, wrap/python/spot_impl.i, wrap/python/tests/automata-io.ipynb, wrap/python/tests/parsetgba.py: Adjust.
-
- 10 Jun, 2015 5 commits
-
-
Alexandre Duret-Lutz authored
This addresses on item of #14. * doc/org/tut20.org: New file. * doc/Makefile.am: Add it. * doc/org/tut.org: Link to it. * doc/org/.dir-locals.el.in, doc/org/init.el.in: Fix some PATH issues.
-
Alexandre Duret-Lutz authored
* src/twaalgos/lbtt.hh (print_lbtt): Take a const char* opt argument. * src/twaalgos/lbtt.cc: Use it, select state-based vs. transition-based using automaton property, and implement output for generalized state-based acceptance. * src/bin/common_aoutput.cc, src/bin/common_aoutput.hh, src/bin/dstar2tgba.cc: Adjust usage. We do not need to handle --lbtt=t as a special case anymore. * src/tests/lbttparse.test, wrap/python/spot.py, wrap/python/tests/automata-io.ipynb, wrap/python/tests/piperead.ipynb: Adjust.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
As actually claimed (but not done) by 738f939f. * src/twaalgos/hoa.hh, src/twaalgos/hoa.cc: Rename it. * src/bin/common_aoutput.cc, src/bin/dstar2tgba.cc, src/bin/ltlcross.cc, src/tests/complementation.cc, src/tests/ltl2tgba.cc, src/tests/randtgba.cc, src/twaalgos/hoa.cc, wrap/python/spot.py: Adjust.
-
Alexandre Duret-Lutz authored
-
- 09 Jun, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #90. * src/hoaparse/hoaparse.yy: Here. * src/tests/hoaparse.test: Test it.
-
- 08 Jun, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
Fixes #92. * doc/tl/tl.tex: Complete grammar rules and operator precedence.
-
- 07 Jun, 2015 6 commits
-
-
Alexandre Duret-Lutz authored
* doc/org/install.org: New file. * doc/Makefile.am: Add it. * doc/org/index.org: Link to it. * doc/org/setup.org: Add macro for various version numbers. * doc/org/tools.org: Update version number. * NEWS, README, bench/ltl2tgba/README, debian/control, debian/copyright: Update URLs to website.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* doc/org/index.org, doc/org/tut.org: New files. * doc/Makefile.am: Add them. * doc/org/setup.org: Adjust HOME link. * doc/org/tools.org: Adjust UP link. * debian/spot-doc.doc-base: The root is now index.html.
-
Alexandre Duret-Lutz authored
This addresses one item in #14. * doc/org/tut10.org: New file. * doc/Makefile.am: Add it. * src/twaalgos/translate.hh: Fix inclusion of types from postprocessor. * wrap/python/spot.py (translate): Fix typo in doc string.
-
Alexandre Duret-Lutz authored
This fixes #61, and addresses one item of #14. * src/ltlvisit/relabel.hh: Use a map rather than a unordered_map, because the Swig binding for unordered_map do not seem functional. * wrap/python/spot_impl.i: Adjust. * wrap/python/tests/relabel.py: New file. * wrap/python/tests/Makefile.am: Add it. * doc/org/tut02.org: New file. * doc/Makefile.am: Add it.
-
- 05 Jun, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
* doc/org/tut01.org: Update. * doc/org/g++wrap.in: Include BuDDy's header.
-
Alexandre Duret-Lutz authored
The following renamings are made: never_claim_reachable -> print_never_claim hoa_reachable -> print_hoa lbtt_reachable -> print_lbtt dotty_reachable -> print_dot ltl::dotty -> print_dot_psl Fixes #89. * src/ltlvisit/dotty.cc, src/ltlvisit/dotty.hh, src/taalgos/dotty.cc, src/taalgos/dotty.hh src/twaalgos/dotty.cc, src/twaalgos/dotty.hh: Rename... * src/ltlvisit/dot.cc, src/ltlvisit/dot.hh src/taalgos/dot.cc, src/taalgos/dot.hh src/twaalgos/dot.cc, src/twaalgos/dot.hh: ... those. * bench/stutter/stutter_invariance_randomgraph.cc, iface/ltsmin/modelcheck.cc, src/bin/common_aoutput.cc, src/bin/dstar2tgba.cc, src/bin/ltl2tgta.cc, src/dstarparse/dra2ba.cc, src/ltlvisit/Makefile.am, src/taalgos/Makefile.am, src/tests/checkpsl.cc, src/tests/checkta.cc, src/tests/complementation.cc, src/tests/emptchk.cc, src/tests/ltl2tgba.cc, src/tests/ltlprod.cc, src/tests/randtgba.cc, src/tests/readltl.cc, src/tests/taatgba.cc, src/tests/twagraph.cc, src/twa/twa.hh, src/twa/twasafracomplement.cc, src/twaalgos/Makefile.am, src/twaalgos/dtbasat.cc, src/twaalgos/dtgbasat.cc, src/twaalgos/dupexp.cc, src/twaalgos/lbtt.cc, src/twaalgos/lbtt.hh, src/twaalgos/ltl2tgba_fm.cc, src/twaalgos/neverclaim.cc, src/twaalgos/neverclaim.hh, wrap/python/ajax/spot.in, wrap/python/spot.py, wrap/python/spot_impl.i, wrap/python/tests/ltl2tgba.py, wrap/python/tests/parsetgba.py: Adjust.
-
- 04 Jun, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
This actually performs three related changes, but separating them would be quite inconvenient. 1) rename tostring.hh to print.hh a welcome side-effect is that I could fix several files that included this file for not reason. 2) de-overload some of the to_string functions, and rename them as follow: to_string -> print_psl, print_sere, str_psl, str_sere to_utf8_string -> print_utf8_psl, print_utf8_sere, str_utf8_psl, str_utf8_sere to_spin_string -> print_spin_ltl, str_spin_ltl to_wring_string -> print_wring_ltl, str_wing_ltl to_lbt_string -> print_lbt_ltl, str_lbt_ltl to_latex_string -> print_latex_psl, str_latex_psl to_sclatex_string -> print_sclatex_psl, str_sclatex_psl Now it is clearer what these functions do, and their restrictions. 3) all those print_* functions now take the stream to write onto as their first argument. This fixes #88. * src/ltlvisit/tostring.cc, src/ltlvisit/tostring.hh: Rename into... * src/ltlvisit/print.cc, src/ltlvisit/print.hh: ... those, and make the changes listed above. * doc/org/tut01.org, src/bin/common_output.cc, src/bin/common_trans.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc, src/bin/ltlcross.cc, src/bin/ltldo.cc, src/bin/ltlfilt.cc, src/bin/randltl.cc, src/ltlparse/ltlparse.yy, src/ltlvisit/Makefile.am, src/ltlvisit/mark.cc, src/ltlvisit/relabel.cc, src/ltlvisit/simplify.cc, src/ltlvisit/snf.cc, src/ta/taexplicit.cc, src/ta/tgtaexplicit.cc, src/taalgos/tgba2ta.cc, src/tests/equalsf.cc, src/tests/ltl2tgba.cc, src/tests/ltlrel.cc, src/tests/randtgba.cc, src/tests/reduc.cc, src/tests/syntimpl.cc, src/tests/tostring.cc, src/twa/bdddict.cc, src/twa/bddprint.cc, src/twa/taatgba.cc, src/twa/taatgba.hh, src/twa/twagraph.cc, src/twaalgos/compsusp.cc, src/twaalgos/lbtt.cc, src/twaalgos/ltl2taa.cc, src/twaalgos/ltl2tgba_fm.cc, src/twaalgos/neverclaim.cc, src/twaalgos/remprop.cc, src/twaalgos/stats.cc, wrap/python/ajax/spot.in, wrap/python/spot.py, wrap/python/spot_impl.i: Adjust.
-
Alexandre Duret-Lutz authored
* bench/stutter/stutter_invariance_formulas.cc, bench/stutter/stutter_invariance_randomgraph.cc: Adjust after the tgba->twa changes.
-
Alexandre Duret-Lutz authored
parse -> parse_infix_psl parse_lbt -> parse_prefix_ltl parse_sere -> parse_infix_sere parse_boolean -> parse_infix_boolean Fixes #87. * src/ltlparse/ltlparse.yy, src/ltlparse/public.hh: Do the above changes. * doc/mainpage.dox, doc/org/tut01.org, iface/ltsmin/modelcheck.cc, src/bin/common_finput.cc, src/hoaparse/hoaparse.yy, src/kripkeparse/kripkeparse.yy, src/tests/checkpsl.cc, src/tests/checkta.cc, src/tests/complementation.cc, src/tests/consterm.cc, src/tests/emptchk.cc, src/tests/equalsf.cc, src/tests/kind.cc, src/tests/length.cc, src/tests/ltl2tgba.cc, src/tests/ltlprod.cc, src/tests/ltlrel.cc, src/tests/randtgba.cc, src/tests/readltl.cc, src/tests/reduc.cc, src/tests/syntimpl.cc, src/tests/tostring.cc, wrap/python/ajax/spot.in, wrap/python/tests/alarm.py, wrap/python/tests/interdep.py, wrap/python/tests/ltl2tgba.py, wrap/python/tests/ltlparse.py: Adjust.
-
- 03 Jun, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
Fixes #86. * src/ltlvisit/lbt.hh, src/ltlvisit/lbt.cc: Delete and move contents into... * src/ltlvisit/tostring.hh, src/ltlvisit/tostring.cc: ... these. * doc/org/tut01.org, src/bin/common_output.cc, src/bin/common_trans.cc, src/bin/ltlcross.cc, src/ltlvisit/Makefile.am, src/twaalgos/lbtt.cc, wrap/python/spot_impl.i: Adjust.
-
Alexandre Duret-Lutz authored
The difficulty is not the example, but setting up org-mode to allow Python and C++ example that use the local libraries, not those installed system-wide. * doc/org/.dir-locals.el: Rename as... * doc/org/.dir-locals.el.in: ... this, so we can easily define PYTHONPATH and other environment variables. * doc/org/init.el.in: Enable C++, and make sure but Python and C++ use the local libraries. * doc/org/g++wrap.in, doc/org/tut01.org: New files. * doc/Makefile.am, configure.ac: Adjust. * wrap/python/spot.py (to_str): Take a parenth argument.
-
Alexandre Duret-Lutz authored
* src/twa/acc.hh (acc_word): This is a 32-bit structure, so we can use short for both size and op.
-
- 02 Jun, 2015 3 commits
-
-
Alexandre Duret-Lutz authored
* src/bin/common_trans.cc: Skip leading directories, and do not require that the prefix is followed by space of 0. * src/tests/ltldo.test: Add a test. * doc/org/ltlcross.org: Update.
-
Alexandre Duret-Lutz authored
* src/bin/common_trans.cc: Here. * doc/org/ltlcross.org: Adjust examples.
-
Alexandre Duret-Lutz authored
* doc/org/hoa.org: Here.
-
- 01 Jun, 2015 7 commits
-
-
Alexandre Duret-Lutz authored
Fixes #83. * src/bin/randaut.cc: Add option. * src/twaalgos/randomgraph.cc, src/twaalgos/randomgraph.hh: Honor it. * src/tests/randaut.test: Add tests. * doc/org/randaut.org: Document it.
-
Alexandre Duret-Lutz authored
Fixes #84. * src/twaalgos/hoa.cc: Detect and output the colored property. * src/tests/hoaparse.test, src/tests/satmin2.test: Update.
-
Alexandre Duret-Lutz authored
This fixes #85. * src/misc/random.hh (barand): Use round() before casting. * doc/org/oaut.org: Recompute example. * src/tests/randaut.test, wrap/python/tests/randaut.ipynb: Adjust.
-
Alexandre Duret-Lutz authored
This is particularly important for src/tests/satmin.test, where ltl2tgba might be killed while writing a huge temporary file used for SAT-based minimization. Before this patch, the temporary files would remain in src/tests/satmin.dir/, easily overflowing the 100GB limit of the docker containers we use on the build farm. * src/bin/common_setup.cc: Catch termination signals for all tools, even those that do not yet clear temporary files. * configure.ac: Check for sigaction.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
This way -S means --state-based-acc like with other tools producing automata. This fixes #82. * src/bin/randaut.cc: Rename -S as -Q, rename --state-acc as --state-based-acc (with --sbacc as a synonym), and declare -S as the short version of --state-based-acc. * doc/org/autfilt.org, doc/org/oaut.org, doc/org/randaut.org, src/tests/isomorph.test, src/tests/randaut.test, src/tests/randtgba.test, src/tests/readsave.test, src/tests/uniq.test, wrap/python/tests/randaut.ipynb: Adjust all calls to randaut.
-
- 30 May, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* doc/org/hoa.org: New file. * doc/org/oaut.org, doc/org/tools.org: Link to it. * doc/Makefile.am: Distribute it.
-
- 27 May, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
gcc version 6.0.0 20150516 (experimental) [trunk revision 223239] (Debian 20150516-1) * src/hoaparse/hoaparse.yy (state_info): Initialize used and declared, otherwise they are uninitialized after a vector resize.
-
- 26 May, 2015 2 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/bin/randaut.cc: Replace the --acc-type and --acc-sets options by a more general --acceptance option, that take either an acceptance formula, or an acceptance name parametred by ranges. Also accept a range for the number of atomic propositions. * src/twaalgos/randomgraph.cc (random_acceptance): Move... * src/twa/acc.cc, src/twa/acc.hh (random): ... here. (parse_acc_code): Generalize to accept ranges instead of numbers whenever sensible, and accept a 'random' acceptance. * src/tests/randaut.test: Adjust tests and add more. * wrap/python/tests/randaut.ipynb: Adjust call to randaut.
-
- 25 May, 2015 1 commit
-
-
Alexandre Duret-Lutz authored
-