- 24 Aug, 2014 2 commits
-
-
Alexandre Duret-Lutz authored
* wrap/python/spot.i (tgba._repr_svg_): Call dot to output SVG using the same logic as in Vaucanson 2.
-
Alexandre Duret-Lutz authored
* src/ltlparse/public.hh, src/ltlparse/ltlparse.yy, src/ltlparse/ltlscan.ll (parse_error): New class. (parse_formula): New function that raises a parse_error exception on error. * src/ltlvisit/tostring.hh, src/ltlvisit/tostring.cc: (to_sclatex_string): New method. * wrap/python/spot.i: Catch the parser_error exception, and use the to_sclatex_string for MathJax rendering. * wrap/python/tests/run.in: Start ipython on demand.
-
- 23 Aug, 2014 3 commits
-
-
Alexandre Duret-Lutz authored
At the same time, this adds a is_empty() method to the tgba class, simplifying many places that ran emptiness checks. * iface/dve2/dve2check.cc, src/bin/ltlcross.cc, src/dstarparse/dra2ba.cc, src/ltlvisit/contain.cc, src/tgba/tgba.cc, src/tgba/tgba.hh, src/tgbaalgos/emptiness.cc, src/tgbaalgos/emptiness.hh, src/tgbaalgos/gtec/ce.cc, src/tgbaalgos/gtec/ce.hh, src/tgbaalgos/gtec/gtec.cc, src/tgbaalgos/gtec/gtec.hh, src/tgbaalgos/gv04.cc, src/tgbaalgos/gv04.hh, src/tgbaalgos/magic.cc, src/tgbaalgos/magic.hh, src/tgbaalgos/minimize.cc, src/tgbaalgos/ndfs_result.hxx, src/tgbaalgos/powerset.cc, src/tgbaalgos/projrun.cc, src/tgbaalgos/projrun.hh, src/tgbaalgos/reducerun.cc, src/tgbaalgos/reducerun.hh, src/tgbaalgos/replayrun.cc, src/tgbaalgos/replayrun.hh, src/tgbaalgos/rundotdec.cc, src/tgbaalgos/rundotdec.hh, src/tgbaalgos/se05.cc, src/tgbaalgos/se05.hh, src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03.hh, src/tgbaalgos/tau03opt.cc, src/tgbaalgos/tau03opt.hh, src/tgbaalgos/word.cc, src/tgbaalgos/word.hh, src/tgbatest/checkpsl.cc, src/tgbatest/complementation.cc, src/tgbatest/emptchk.cc, src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc, wrap/python/ajax/spot.in, wrap/python/spot.i: Use shared_ptr.
-
Alexandre Duret-Lutz authored
* src/ltlvisit/apcollect.cc, src/ltlvisit/apcollect.hh: Take automaton by reference.
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/compsusp.hh, src/tgbaalgos/dotty.hh, src/tgbaalgos/emptiness.hh, src/tgbaalgos/hoaf.hh, src/tgbaalgos/neverclaim.hh, src/tgbaalgos/randomgraph.hh, src/tgbaalgos/simulation.hh: Here.
-
- 22 Aug, 2014 3 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/bin/dstar2tgba.cc, src/bin/ltlcross.cc, src/bin/randltl.cc, src/ltltest/reduccmp.test, src/neverparse/neverclaimparse.yy, src/tgbatest/ltl2ta.test, src/tgbatest/ltl2tgba.cc, src/tgbatest/ltlcross.test, src/tgbatest/neverclaimread.test, wrap/python/ajax/ltl2tgba.html: Fix conflicts.
-
Alexandre Duret-Lutz authored
-
- 21 Aug, 2014 10 commits
-
-
Alexandre Duret-Lutz authored
* configure.ac, doc/org/tools.org, NEWS: Bump version to 1.2.5.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/ltl2tgba_fm.cc: Fix. * src/tgbatest/randpsl.test: Rewrite using ltlcross and add a testcase. * NEWS: Mention it.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
Suggested by Joachim Klein. * wrap/python/ajax/ltl2tgba.html: Name the tab. * wrap/python/ajax/css/ltl2tgba.css: Give it some space.
-
Alexandre Duret-Lutz authored
Suggested by Joachim Klein. * wrap/python/ajax/ltl2tgba.html: New option. * wrap/python/ajax/protocol.txt, NEWS: Document it. * wrap/python/ajax/spot.in: Implement it. * wrap/python/spot.i: Export src/ltlvisit/lbt.hh.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
Suggested by Joachim Klein. * src/bin/ltlcross.cc: Implement it. * src/tgbatest/ltlcross3.test: Test it. * doc/org/ltlcross.org, NEWS: Document it.
-
Alexandre Duret-Lutz authored
Reported by Joachim Klein. * src/bin/randltl.cc: Here. * NEWS: Mention the fix.
-
Alexandre Duret-Lutz authored
Suggested by Joachim Klein. * src/bin/randltl.cc: Implement it. * src/ltltest/rand.test: Test it. * doc/org/randltl.org, NEWS: Document it.
-
- 20 Aug, 2014 9 commits
-
-
Alexandre Duret-Lutz authored
The specifications are at http://adl.github.io/hoaf/ * src/tgbaalgos/hoaf.cc, src/tgbaalgos/hoaf.hh: New files. * src/tgbaalgos/Makefile.am: Add them. * src/bin/dstar2tgba.cc, src/bin/ltl2tgba.cc, src/tgbatest/ltl2tgba.cc: Add option to output HOA. * NEWS: Mention it.
-
Alexandre Duret-Lutz authored
Suggested by Joachim Klein. * wrap/python/ajax/spot.in: Try parse_lbt() when parse() fails. * NEWS: Mention it.
-
Alexandre Duret-Lutz authored
So that people using white-background terminal can still read them... Reported by Joachim Klein. * src/bin/ltlcross.cc: Adjust. * NEWS: Mention it.
-
Alexandre Duret-Lutz authored
The bug was reported by Joachim Klein. * src/tgbaalgos/ltl2tgba_fm.cc (translate_dict::register_a_variable): Reduce P(a M b) to P(a & b), not to P(a). * src/tgbatest/ltlcross.test: Test Joachim's formula. * src/tgbatest/ltl2ta.test: Adjust some expected values. * NEWS: Mention the bug.
-
Alexandre Duret-Lutz authored
This gets rid of many state*/int conversions. We now use scc_info instead of scc_map. Finally the loops are now all 0-based. * src/tgbaalgos/sccinfo.cc, src/tgbaalgos/sccinfo.hh (weak_sccs): New method. * src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtbasat.hh, src/tgbaalgos/dtgbasat.cc, src/tgbaalgos/dtgbasat.hh: Use the tgba_digraph interface. * src/tgbatest/ltl2tgba.cc: Adjust calls.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/graph/graph.hh, src/tgba/tgbagraph.hh (is_dead_transition): New method.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/bin/dstar2tgba.cc, src/bin/ltlcross.cc, src/tgbaalgos/stats.cc, src/tgbaalgos/simulation.cc: Use scc_info instead of scc_map. * src/tgbaalgos/stats.hh, src/bin/common_output.hh: Change parameters types to be tgba_digraph_ptr instead tgba_ptr, so that scc_info can be used.
-
- 19 Aug, 2014 6 commits
-
-
Alexandre Duret-Lutz authored
This is a -pedantic warning from gcc. * src/misc/bitvect.cc, src/misc/bitvect.hh (storage_): Remove. (storage): New method to access past the end of the struct.
-
Alexandre Duret-Lutz authored
It makes it easier to browse tgba/. * src/tgba/state.hh, src/tgba/succiter.hh: Delete, and move the contents... * src/tgba/tgba.hh: ... here. * src/tgba/Makefile.am: Adjust. * src/graphtest/ngraph.cc, src/kripke/fairkripke.hh, src/saba/sabacomplementtgba.cc, src/ta/ta.hh, src/tgba/tgbakvcomplement.cc, src/tgba/tgbasafracomplement.cc, src/tgbaalgos/bfssteps.hh, src/tgbaalgos/emptiness.hh, src/tgbaalgos/gtec/explscc.hh, src/tgbaalgos/gtec/sccstack.hh, src/tgbaalgos/rundotdec.cc, wrap/python/spot.i: Adjust includes.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
This was prompted by an exchange of emails with Caroline Lemieux. * src/bin/man/ltl2tgba.x: Add notes and references. * NEWS, THANKS: Update.
-
Alexandre Duret-Lutz authored
-
- 18 Aug, 2014 2 commits
-
-
Alexandre Duret-Lutz authored
So that its run time goes from 10min+ to ~5s. * src/tgbatest/emptchk.cc: New file. * src/tgbatest/Makefile.am: Add it. * src/tgbatest/emptchk.test: Use it.
-
Alexandre Duret-Lutz authored
Again instead of calling ltl2tgba dozen of times with different options for various formulas, this implements a single executable that reads formulas from a file, translate them using the different setups, and dump statistics for comparison. Valgrind now only has to be started once. * src/tgbatest/checkta.cc: New file. * src/tgbatest/Makefile.am: Use it. * src/tgbatest/ltl2ta.test: Rewrite using checkta. * src/tgbatest/ltl2tgba.cc: Remove a unused variable.
-
- 17 Aug, 2014 3 commits
-
-
Alexandre Duret-Lutz authored
So that running valgrind is a lot more efficient. Running ltl2tgba.test using to take more than 15min. We are now down to 25sec. * src/tgbatest/checkpsl.cc: New file. * src/tgbatest/Makefile.am: Add it. * src/tgbatest/ltl2tgba.test: Adjust.
-
Alexandre Duret-Lutz authored
This generalizes the previous patch. * src/ltltest/equalsf.cc: Allow escaped '\,' and negated result. * src/ltltest/Makefile.am: Use equalsf.cc for almost all tests that used equals.cc. (nequals): New. * src/ltltest/equals.test, src/ltltest/eventuniv.test, src/ltltest/lunabbrev.test, src/ltltest/nenoform.test, src/ltltest/parseerr.test, src/ltltest/tunabbrev.test, src/ltltest/tunenoform.test: Adjust.
-
Alexandre Duret-Lutz authored
This test used to take more than 10min because an instance of valgrind was launched for each separate equivalence check. The list of equivalences to checks are not given in a file, and only two valgrind instances are run. The test takes less than 15sec. * src/ltltest/equalsf.cc: New file. * src/ltltest/Makefile.am (reduccmp, reductaustr): Build using equalsf.cc. * src/ltltest/reduccmp.test: Rewrite. * src/ltltest/uwrm.test: Also rewrite, and use valgrind.
-
- 15 Aug, 2014 2 commits
-
-
Alexandre Duret-Lutz authored
* src/tgba/tgbagraph.hh: Remove the set_bprop/get_bprop interface. * src/tgba/tgba.cc, src/tgba/tgba.hh: Add a new interface for setting/querying/copying the following properties: single_acc_set, state_based_acc, inherently_weak, deterministic. * src/dstarparse/dra2ba.cc, src/dstarparse/nra2nba.cc, src/neverparse/neverclaimparse.yy, src/saba/sabacomplementtgba.cc, src/tgba/tgbagraph.cc, src/tgbaalgos/degen.cc, src/tgbaalgos/dotty.cc, src/tgbaalgos/isdet.cc, src/tgbaalgos/lbtt.cc, src/tgbaalgos/minimize.cc, src/tgbaalgos/neverclaim.cc, src/tgbaalgos/postproc.cc, src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc, src/tgbatest/degenlskip.test, src/tgbatest/ltl2tgba.cc: Adjust to the new interface, or use it to bypass some useless work.
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/degen.cc (degeneralize, degeneralize_tba): Shortcut degeneralization if the automaton is already degeneralized.
-