Alexandre Duret-Lutz
3c3b23bfa4
* src/misc/freelist.cc (free_list::remove): Work around
...
invalidated iterators.
* tgba/bdddict.cc (unregister_variable): New methods,
extracted from ...
(bdd_dict::unregister_all_my_variables): ... here.
* tgba/bdddict.hh (unregister_variable): Declare them.
2004-03-25 15:02:57 +00:00
Alexandre Duret-Lutz
784ccafb1b
* src/misc/freelist.hh (free_list::remove, free_list::insert): New
...
methods.
* src/misc/freelist.cc (free_list::register_n,
free_list::releases_n): Rewrite using free_list::remove and
free_list::insert.
(free_list::remove, free_list::insert): New methods.
* src/tgba/bdddict.hh (bdd_dict::register_anonymous_variables):
New method.
(bdd_dict::annon_free_list): New subclass.
(bdd_dict::free_annonymous_list_of_type_of): New attribute.
* src/tgba/bdddict.cc (bdd_dict::register_all_variables_of,
bdd_dict::unregister_all_my_variables): Handle anonymous variables
too.
(bdd_dict::register_anonymous_variables,
bdd_dict::annon_free_list::annon_free_list,
bdd_dict::annon_free_list::extend): New methods.
2004-03-23 09:39:38 +00:00
Alexandre Duret-Lutz
aba2dc75d7
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::accepting_path)
...
Fix handling of PATH when backtracking. Report from Soheib Baarir.
2004-03-23 09:33:27 +00:00
Alexandre Duret-Lutz
cf6602a3be
Move the free_list management into a separate class for reuse.
...
* src/misc/freelist.hh, src/misc/freelist.cc: New files.
* src/misc/Makefile.am (misc_HEADERS, libmisc_la_SOURCES): Add them.
* src/misc/bddalloc.hh (bdd_allocator): Inherit from free_list and
make dump_free_list visible.
* src/misc/bddalloc.cc (bdd_allocator::allocate_variables): Move
all the code into free_list::register_n() and
bdd_allocator::extend(), and call the former.
(bdd_allocator::release_variables): Move all the code into
free_list::release_n() and call it.
(bdd_allocator::extend): New method.
* src/tgba/bdddict.cc (bdd_dict::dump): Call dump_free_list;
2004-03-18 15:43:10 +00:00
Alexandre Duret-Lutz
b84e6a6440
* src/Makefile.am (EXTRA_lbtt_SOURCES): Remove Config-parse.h,
...
it is automatically distributed.
(EXTRA_lbtt_translate_SOURCES): Likewise, remove NeverClaim-parse.h.
2004-03-09 09:49:48 +00:00
Alexandre Duret-Lutz
0bd6f72690
* configure.ac, NEWS: Bump version to 0.0s.
2004-03-08 22:30:45 +00:00
Alexandre Duret-Lutz
b9b3c1ca25
* configure.ac, NEWS: Bump version to 0.0r.
2004-03-08 22:23:04 +00:00
Alexandre Duret-Lutz
1d411fa3c1
* configure.ac (YACC): Do not add `-d' here...
...
* src/Makefile.am (AM_YFLAGS): ... do it here.
(BUILT_SOURCES): New variable.
2004-03-08 17:53:54 +00:00
Alexandre Duret-Lutz
249a114f29
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm) <exprop>: Do not
...
blindly enumerate all combinations of atomic properties; initially
set all_props to the set of all possibly satisfiable combinations.
2004-03-08 17:24:17 +00:00
Alexandre Duret-Lutz
3aec630540
* doc/texinfo.tex: New upstream version.
2004-03-08 17:23:36 +00:00
Alexandre Duret-Lutz
4aea8548d3
* lbtt/src/Makefile.am (lbtt_translate_SOURCES): Fix leftover
...
from 1.0.3 merge.
2004-02-20 23:19:09 +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
af27439d87
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Fix example
...
in comment. Skip false transitions, and do not compute
sub-formulae reachable only via false transitions.
2004-02-20 14:18:54 +00:00
Alexandre Duret-Lutz
0f7625b17d
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Revert
...
yesterday's change. This optimization is NOT covered by exprop.
In fact it could be generalized.
2004-02-20 09:29:00 +00:00
Alexandre Duret-Lutz
1ca1c39ec5
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Remove the
...
cond_for_true optimization. It is covered by exprop.
2004-02-19 15:47:31 +00:00
Alexandre Duret-Lutz
3350ff7176
* src/tgba/tgbatba.cc (tgba_tba_proxy_succ_iterator::current_state):
...
Fix reference to Oddoux's thesis.
2004-02-19 15:46:30 +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
5cb4048120
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_trad_visitor::visit) <unop::G>:
...
suppress the GFy optimisation introduced on 2003-11-26, it is
generalized by the identification of states with same symbolic
rewriting introduced on 2004-02-02.
2004-02-16 12:25:59 +00:00
Alexandre Duret-Lutz
4741dc02bf
* lbtt/: Merge lbtt 1.0.3.
2004-02-16 12:09:29 +00:00
Alexandre Duret-Lutz
f4708a0179
Initial revision
2004-02-16 11:36:00 +00:00
Alexandre Duret-Lutz
373be36cae
* src/tgbatest/ltl2baw.pl (END): Ensure LTL2TGBA is always
...
closed.
2004-02-13 14:47:34 +00:00
Alexandre Duret-Lutz
665216b0c2
* src/ExternalTranslator.cc: Include sys/wait.h.
2004-02-12 14:16:55 +00:00
Alexandre Duret-Lutz
2c10510e87
* src/tgbatest/ltl2tgba.cc (syntax): Recognize "-" as input
...
filename for the formula. Merge the transitions of automata
read with -X.
* src/tgbatest/spotlbtt.test: Add many disabled algorithms.
It is convenient to reuse the `config' file created by this
test when making statistics.
* src/tgbatest/ltl2baw.pl: New file.
* src/tgbatest/Makefile.am (EXTRA_DIST): Add ltl2baw.pl.
2004-02-11 15:45:54 +00:00
Alexandre Duret-Lutz
2b7c9ea395
* src/SpotWrapper.cc (SpotWrapper::SPOT_AND, SpotWrapper::SPOT_OR):
...
Define as && and || as in Spin.
* src/SpotWrapper.hh: Update by email.
2004-02-11 15:20:45 +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
f2c6db6d49
* src/ltlparse/ltlparse.yy: Typo.
2004-02-09 21:01:34 +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
7069d5406b
This should help getting accurate statistics (on both the
...
formula automaton and the synchronized product) from LBTT.
Idea from Jean-Michel Couvreur.
* src/tgbaalgos/lbtt.cc (nonacceptant_lbtt_bfs): New class.
(nonacceptant_lbtt_reachable): New function.
* src/tgbaalgos/lbtt.hh (nonacceptant_lbtt_reachable): New
function.
* src/tgbatest/ltl2tgba.cc (main): Call nonacceptant_lbtt_reachable
if the -T option is used.
* src/tgbatest/spotlbtt.test: Setup the -T variants, disabled by
default.
2004-02-07 23:49:28 +00:00
Alexandre Duret-Lutz
0816a4505f
* src/tgbaalgos/lbtt.hh: Typos.
2004-02-05 18:44:09 +00:00
Alexandre Duret-Lutz
b253881336
* src/tgbatest/spotlbtt.test: Typo.
2004-02-05 13:08:57 +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
44b351d23c
* configure.ac, NEWS: Bump version to 0.0p.
2004-02-03 14:18:33 +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
e0b15c6f67
* src/tgbatest/explicit.cc, src/tgbatest/explprod.cc,
...
src/tgbatest/ltl2tgba.cc, src/tgbatest/ltlprod.cc,
src/tgbatest/mixprod.cc, src/tgbatest/powerset.cc,
src/tgbatest/readsave.cc, src/tgbatest/tgbaread.cc,
src/tgbatest/tripprod.cc: Add missing copyright license.
2004-02-02 20:40:32 +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
Alexandre Duret-Lutz
47489236dc
* wrap/python/cgi/ltl2tgba.in (render_dot, render_automaton)
...
(render_bdd): New functions, extracted from the rest of the code.
2004-02-02 20:11:31 +00:00
Alexandre Duret-Lutz
dae794aad3
* wrap/python/cgi/ltl2tgba.in (default_translator): Default
...
to trans_fm.
(translators): Show trans_fm before trans_lacim.
2004-02-02 19:31:58 +00:00
Alexandre Duret-Lutz
26cf0145b7
* wrap/python/cgi/ltl2tgba.in (print_stats): New function. Call
...
it to display the size of the generalized and degeneralized
automata.
2004-02-02 19:29:56 +00:00
Alexandre Duret-Lutz
834ce05235
* src/tgbalagos/stats.hh, src/tgbalagos/stats.cc: New files.
...
* src/tgbalagos/Makefile.am: Add them.
* wrap/python/spot.i: Include src/tgbalagos/dupexp.hh and
src/tgbalagos/stats.hh
2004-02-02 17:32:01 +00:00
Alexandre Duret-Lutz
d13c9c179b
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Identify states
...
with identical successors. This optimizes the translation
of `a R (b R c)', for instance.
* src/tgbatest/ltl2tgba.test: Add two new tests.
2004-02-02 16:26:15 +00:00
Alexandre Duret-Lutz
872f7efbeb
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Identify states
...
with identical successors. This optimizes the translation
of `a R (b R c)', for instance.
* src/tgbatest/ltl2tgba.test: Add two new tests.
2004-02-02 16:12:13 +00:00