Alexandre Duret-Lutz
48fb19ea44
Deprecate ltl::clone(f) in favor of f->clone().
...
* src/ltlvisit/clone.hh (clone): Document and declare as deprecated.
* src/ltlast/formula_tree.cc, src/ltlvisit/basicreduce.cc,
src/ltlvisit/clone.cc, src/ltlvisit/contain.cc,
src/ltlvisit/lunabbrev.cc, src/ltlvisit/reduce.cc,
src/ltlvisit/syntimpl.cc, src/tgba/bdddict.cc,
src/tgba/formula2bdd.cc, src/tgba/tgbabddconcretefactory.cc,
src/tgbaalgos/ltl2taa.cc, src/tgbaalgos/ltl2tgba_fm.cc,
src/tgbatest/complementation.cc, wrap/python/tests/ltlsimple.py:
Adjust clone() usage, and remove the #include "clone.hh" when
appropriate.
2009-11-09 07:13:31 +01:00
Alexandre Duret-Lutz
1f6087953b
Also revert b28d7ba804 as it was a follow-up to Damien's work.
2009-03-25 17:26:44 +01:00
Alexandre Duret-Lutz
b28d7ba804
adjust #includes in python/
2008-06-12 16:56:40 +02:00
Alexandre Duret-Lutz
5ef7084b61
Add .gitignore files
2008-03-14 16:59:32 +01:00
Alexandre Duret-Lutz
ec6bca7992
* wrap/python/cgi/ltl2tgba.in: Adjust to newer versions of swig.
2008-02-25 14:37:54 +01:00
Alexandre Duret-Lutz
3751960ac8
* wrap/python/cgi/ltl2tgba.in: Fix degeneralisation and output of
...
accepting runs.
2008-02-25 14:36:56 +01:00
Alexandre Duret-Lutz
851ca0d807
* wrap/python/spot.i: Wrap spot::emptiness_check_instantiator.
...
* wrap/python/cgi/ltl2tgba.in: Offers all 6 emptiness
check algorithms, and a text box for options.
2008-02-25 14:36:56 +01:00
Alexandre Duret-Lutz
fed4b6f05c
* src/misc/optionmap.hh, src/misc/optionmap.cc
...
(option_map::parse_options): Rewrite. Do not modify the input
string, allow !foo as a shorthand for foo=0, and support K and
M suffixes for values.
* src/tgbatest/randtgba.cc (cons_emptiness_check): Simplify.
* wrap/python/spot.i: Process optionmap.hh.
* wrap/python/tests/optionmap.py: New file.
* wrap/python/tests/Makefile.am (TESTS): Add it.
2005-02-17 15:01:51 +00:00
Alexandre Duret-Lutz
b0a51a0656
Adjust Swig rules for Swig 1.3.24 (and probably 1.3.23 too).
...
Compiling the runtime in a separate modules is no longer required,
and actually it does not work anymore...
* wrap/python/swigpy.i: Remove.
* wrap/python/Makefile.am (_swigpy.la): Remove all references.
($(srcdir)/spot_wrap.cxx, $(srcdir)/buddy_wrap.cxx): Do not
use -noruntime.
2004-12-15 12:59:46 +00:00
Alexandre Duret-Lutz
541705a36a
* src/misc/random.hh (nrand, bmrand, prand): New functions.
...
(barand): New class.
* src/misc/random.cc (nrand, bmrand, prand): New functions.
* wrap/python/spot.i: Process src/misc/random.hh.
2004-12-07 18:52:10 +00:00
Alexandre Duret-Lutz
fdeea6dbf8
* wrap/python/tests/run.in: Do not override PYTHONPATH, just add
...
to it.
Report from Akim Demaille.
2004-11-28 17:12:21 +00:00
Alexandre Duret-Lutz
b61fab1eb0
* wrap/python/tests/run.in: Define DYLD_LIBRARY_PATH so that
...
Darwin finds non-installed libraries.
Report from Akim Demaille.
2004-11-28 13:52:27 +00:00
Alexandre Duret-Lutz
ca6084160e
* wrap/python/cgi/ltl2tgba.in: Add options to check the produced
...
automata for emptiness, using the existing algorithms.
* wrap/python/spot.i: Declare spot::explicit_magic_search,
and spot::explicit_se05_search as allocating their output.
2004-11-14 23:10:56 +00:00
Alexandre Duret-Lutz
1d3100607a
* wrap/python/spot.i: Generate bindings for tgbaalgos/dottydec.hh,
...
tgbaalgos/emptiness.hh, tgbaalgos/gtec/gtec.hh, and
tgbaalgos/rundotdec.hh.
2004-11-04 08:03:59 +00:00
Alexandre Duret-Lutz
91b9682bd8
* wrap/python/Makefile.am (_spot_la_SOURCES): Add spot_wrap.h.
2004-10-21 11:01:27 +00:00
Alexandre Duret-Lutz
094ddca665
* src/misc/modgray.hh, src/misc/modgray.cc: New files.
...
* src/misc/Makefile.am (libmisc_la_SOURCES, misc_HEADERS): Add them.
* wrap/python/spot.i: Activate directors, and interface modgray.hh.
* wrap/python/tests/modgray.py: New file.
* wrap/python/tests/Makefile.am (TESTS): Add it.
2004-10-20 15:46:56 +00:00
Alexandre Duret-Lutz
d647e7a0db
* wrap/python/tests/run.in: Typo. From Akim Demaille.
2004-10-12 07:41:19 +00:00
Alexandre Duret-Lutz
f0aa58034c
Update to SWIG 1.3.22.
...
* wrap/python/libpy.c: Delete.
* wrap/python/swigpy.i: New file.
* wrap/python/Makefile.am (swigpy_wrap.c): Build this from swigpy.i
and use it instead of libpy.c.
2004-09-20 16:35:46 +00:00
Alexandre Duret-Lutz
7b314789ca
* configure.ac: Call AC_PROG_CC and AM_PROG_CC_C_O.
...
* wrap/python/Makefile.am (_buddy_la_LDFLAGS): Move libspotswigpy.la ...
(_buddy_la_LIBADD): ... here.
2004-08-07 22:11:45 +00:00
Alexandre Duret-Lutz
bd69b16e46
* wrap/python/cgi/ltl2tgba.in: Add "Formula Simplications" options.
...
* wrap/python/spot.i: Wrap src/ltlvisite/reduce.hh.
2004-06-23 08:28:50 +00:00
Alexandre Duret-Lutz
c68d182951
* wrap/python/cgi/ltl2tgba.in: Typos.
2004-05-25 09:03:51 +00:00
Alexandre Duret-Lutz
2b1efe172c
* wrap/python/cgi/ltl2tgba.in: Typos.
2004-05-25 08:56:16 +00:00
Alexandre Duret-Lutz
41589e2818
* wrap/python/buddy.i: Define typemap for input_buf and use it
...
for fdd_extdomain. Define const_int_ptr and use it for fdd_vars.
2004-05-17 13:18:32 +00:00
Alexandre Duret-Lutz
1e2669d640
* wrap/python/buddy.i: Preliminary bindings for FDD and BVEC.
2004-05-14 16:11:46 +00:00
Alexandre Duret-Lutz
aa5cef3c83
* src/tgbaalgos/ltl2tgba_fm.hh (ltl_to_tgba_fm): Add argument
...
fair_loop_approx.
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Implement the
fair_loop_approx optimization.
(ltl_promise_visitor, ltl_possible_fair_loop_visitor,
possible_fair_loop_checker): New classes.
* src/tgbatest/ltl2tgba.cc: Add the -L option.
* src/tgbatest/spotlbtt.test: Exercise fair_loop_approx.
* wrap/python/cgi/ltl2tgba.in: Make it an option.
2004-05-10 10:41:28 +00:00
Alexandre Duret-Lutz
6b06e28f3d
* src/tgbaalgos/ltl2tgba_fm.hh (ltl_to_tgba_fm): Add argument
...
branching_postponement.
* src/tgbaalgos/ltl2tgba_fm.cc (fill_dests): New function, extracted
from ltl_to_tgba_fm().
(ltl_to_tgba_fm): Implement the branching_postponement optimization.
* src/tgbatest/ltl2tgba.cc: Add the -p option.
* src/tgbatest/spotlbtt.test: Exercise branching postponement.
* wrap/python/cgi/ltl2tgba.in: Make it an option.
2004-05-07 10:00:34 +00:00
Alexandre Duret-Lutz
b052e92537
* wrap/python/cgi/ltl2tgba.in: Fix output HTML.
2004-05-04 07:33:12 +00:00
Alexandre Duret-Lutz
28288e0478
* wrap/python/cgi/ltl2tgba.in: Print degeneralized statistics
...
when show_never_claim. Change the title to LTL-to-TGBA.
2004-04-22 10:13:10 +00:00
Alexandre Duret-Lutz
d07e549832
* wrap/python/cgi/ltl2tgba.in (print_footer): Make ltl2tgba.py's
...
version a separate variable.
2004-04-21 21:03:56 +00:00
Alexandre Duret-Lutz
9a8d554f59
* wrap/python/cgi/ltl2tgba.in: Pass the formula to
...
never_claim_reachable, and cgi.escape its output.
Lighten the color a bit.
2004-04-21 20:23:57 +00:00
Alexandre Duret-Lutz
231a77a05f
* wrap/python/cgi/ltl2tgba.in: Use darker color and introduce
...
the new variable dot_bgcolor.
2004-04-21 19:52:30 +00:00
Alexandre Duret-Lutz
5904255b14
* wrap/python/cgi/ltl2tgba.in (add_options): Revamp options output
...
using this new function.
2004-04-21 19:32:37 +00:00
Alexandre Duret-Lutz
0c3d4fef9f
* wrap/python/spot.i: Process tgbaalgos/neverclaim.hh.
...
* wrap/python/cgi/ltl2tgba.in: Display the never claim on demand.
2004-04-21 19:02:31 +00:00
Alexandre Duret-Lutz
80b7cbcf45
* wrap/python/Makefile.am ($(srcdir)/spot_wrap.cxx)
...
($(srcdir)/buddy_wrap.cxx): Use -noruntime instead of -c.
2004-04-13 09:38:49 +00:00
Alexandre Duret-Lutz
9e269dadc2
* wrap/python/cgi/ltl2tgba.in: Process ltl2tgba.opt if it exists.
2004-02-20 23:15:04 +00:00
Alexandre Duret-Lutz
ab26065f4c
* wrap/python/cgi/ltl2tgba.in: Color translators and their options.
2004-02-20 22:51:13 +00:00
Alexandre Duret-Lutz
153962aa9d
* wrap/python/cgi/ltl2tgba.in: Present the options in a table.
2004-02-20 21:51:39 +00:00
Alexandre Duret-Lutz
0a1fc73eed
* wrap/python/cgi/ltl2tgba.in: Remove the "print dot" options,
...
add a "dot source" source behind each picture instead. Do
not run `dot' on big automata.
2004-02-20 21:00:06 +00:00
Alexandre Duret-Lutz
4e793ef418
* src/tgbaalgos/ltl2tgba_fm.hh (ltl_to_tgba_fm): Add the
...
symb_merge argument.
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Likewise.
* src/tgbatest/ltl2tgba.cc (main): Rename -fx as -x, and add -y
to unset symb_merge.
* wrap/python/cgi/ltl2tgba.in: Remove the exprop version
of the FM translator, make exprop and symb_merge options.
2004-02-16 16:07:47 +00:00
Alexandre Duret-Lutz
53a0cc7a54
* wrap/python/libpy.c: Update from Swig 1.3.21.
...
* HACKING: Update versions.
2004-02-10 10:15:20 +00:00
Alexandre Duret-Lutz
07ba321e0a
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Take an exprop
...
argument. Consider all possible combinations of propositions when
generating arcs. Suggested by Jean-Michel Couvreur.
* src/tgbaalgos/ltl2tgba_fm.hh (ltl_to_tgba_fm): Adjust.
* src/tgbatest/ltl2tgba.cc: Honor -fx.
* src/tgbatest/spotlbtt.test: Exercise -fx.
* wrap/python/cgi/ltl2tgba.in: Support Couvreur/FM with exploded
properties.
2004-02-09 23:23:29 +00:00
Alexandre Duret-Lutz
faaa117e02
* wrap/python/cgi/ltl2tgba.in: Use render_dot when
...
showing formula.
* wrap/python/cgi/README: Mention unique_id.
2004-02-09 09:24:33 +00:00
Alexandre Duret-Lutz
c38a3428f3
* wrap/python/spot.i (unblock_signal): New function.
...
* wrap/python/cgi/ltl2tgba.in (print_footer, alarm_handler)
(reset_alarm): New functions. Kill the script and its
children if it runs for too long.
(render_dot): Call reset_alarm.
2004-02-04 22:56:06 +00:00
Alexandre Duret-Lutz
1db08f494b
* wrap/python/cgi/ltl2tgba.in: Fix <table> setting to cope
...
with IE, Safari, konqueror, ... None of these support
rules="groups" frame="border" properly (Mozilla is OK).
2004-02-03 10:16:00 +00:00
Alexandre Duret-Lutz
6dc59fa7fa
* wrap/python/cgi/ltl2tgba.in: Output a description of the syntax.
2004-02-02 23:30:08 +00:00
Alexandre Duret-Lutz
cfcc5e857b
* wrap/python/cgi/ltl2tgba.in: Import spot and redirect stderr
...
to stdout early.
2004-02-02 22:04:38 +00:00
Alexandre Duret-Lutz
59125b2a6c
* wrap/python/cgi/ltl2tgba.in (print_stats): Compute and display
...
the number of acceptance conditions.
2004-02-02 22:02:00 +00:00
Alexandre Duret-Lutz
49192cc35f
* wrap/python/tests/bddnqueen.py, wrap/python/tests/interdep.py,
...
wrap/python/tests/ltl2tgba.py, wrap/python/tests/ltlparse.py,
wrap/python/tests/ltlsimple.py: Specify coding system to
accommodate newer Python versions.
2004-02-02 21:43:41 +00:00
Alexandre Duret-Lutz
c46204dfad
* src/misc/bddalloc.hh: Make all methods public.
...
* wrap/python/spot.i: Include misc/bddalloc.hh and misc/minato.hh.
* wrap/python/tests/minato.py: New file.
* wrap/python/tests/Makefile.am (TESTS): Add minato.py.
2004-02-02 21:39:25 +00:00
Alexandre Duret-Lutz
550e7acdb2
* wrap/python/cgi/ltl2tgba.in (render_dot): Render .png directly
...
with dot, without using convert.
* wrap/python/cgi/README: Do not mention convert.
2004-02-02 20:17:05 +00:00