Alexandre Duret-Lutz
c317154df4
* src/misc/minato.cc, src/misc/minato.hh: New files.
...
* src/misc/Makefile.am (misc_HEADERS, libmisc_la_SOURCES): Add them.
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Use minato_isop.
2003-11-21 10:58:44 +00:00
Alexandre Duret-Lutz
982c5efc6c
* src/ltltest/Makefile.am (AM_CXXFLAGS): New variable.
...
* tgba/bdddict.hh (bdd_dict::register_propositions,
bdd_dict::register_accepting_variables): New methods.
* src/bdddict.cc: Likewise.
* tgba/tgbaexplicit.cc (tgba_explicit::add_conditions,
tgba_explicit::add_accepting_conditions): New methods.
(tgba_explicit::get_init_state): Add an "empty" initial
state to empty automata.
* tgba/tgbaexplicit.hh: (tgba_explicit::add_conditions,
tgba_explicit::add_accepting_conditions): New methods.
* tgbaalgos/Makefiles.am (tgbaalgos_HEADERS, libtgbaalgos_la_SOURCES):
Add dupexp.hh and dupexp.cc.
* tgbaalgos/dupexp.hh, tgbaalgos/dupexp.cc: New files.
* tgbatest/Makefile.am (AM_CXXFLAGS): New variable.
(check_SCRIPTS): Add dupexp.test.
(CLEANFILES): Add output1 and output2.
* tgbatest/dupexp.test: New file.
* tgbatest/ltl2tgba.cc: Handle -s and -S.
* tgbatest/tgbaread.cc: Remove unused variable exit_code.
2003-11-14 16:44:12 +00:00
Alexandre Duret-Lutz
1b222106ab
* src/ltlparse/ltlscan.ll: Include ltlparse/parsedecl.hh,
...
not parsedecl.hh.
* src/tgbaparse/tgbascan.ll: Likewise, include tgbaparse/parsedecl.hh.
2003-11-14 11:10:51 +00:00
Alexandre Duret-Lutz
f83a21cf94
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::complete_cycle):
...
Check whether the state is in the current SCC before passing it
to h_filt().
2003-11-13 17:17:40 +00:00
Alexandre Duret-Lutz
10b2511dda
* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::first_): New
...
attribute.
(tgba_succ_iterator_gspn_eesrg::step): Use first_. Loop until
succ returns some successors.
Report from Soheib Baarir.
2003-11-07 10:19:18 +00:00
Alexandre Duret-Lutz
f31caafb50
* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step): Fix
...
the iteration logic.
(tgba_succ_iterator_gspn_eesrg::tgba_succ_iterator_gspn_eesrg): Make
sure not to free successors_ twice.
(tgba_succ_iterator_gspn_eesrg::done): Fix definition.
2003-11-06 17:50:35 +00:00
Alexandre Duret-Lutz
f7851c17c0
* iface/gspn/eesrg.cc (tgba_gspn_eesrg::get_init_state): Do not
...
call get_init_state(), use 0 instead.
(tgba_gspn_eesrg::format_state): Handle the case where s->left() == 0.
Reported by Soheib Baarir.
2003-11-06 10:16:09 +00:00
Alexandre Duret-Lutz
bc05ceb6b4
* src/ltlparse/ltlscan.ll: Cosmetics.
2003-11-06 10:07:01 +00:00
Alexandre Duret-Lutz
21723da118
* configure.ac: Bump version to 0.0k.
2003-11-06 10:06:50 +00:00
Alexandre Duret-Lutz
bff5f4ee67
* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step):
...
Really Skip unknown variables.
2003-11-03 13:04:22 +00:00
Alexandre Duret-Lutz
1a94645802
* configure.ac, NEWS: Bump version to 0.0j.
2003-11-03 12:05:24 +00:00
Alexandre Duret-Lutz
b751f00d37
* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step):
...
Skip unknown variables.
2003-11-03 11:02:20 +00:00
Alexandre Duret-Lutz
e394b8e9f6
* iface/gspn/gspn.cc
...
(tgba_gspn_eesrg_private_::tgba_gspn_eesrg_private_): Show prop_index()
and prop_kind() arguments on error.
2003-11-03 10:58:48 +00:00
Alexandre Duret-Lutz
c03626564a
* iface/gspn/eesrg.cc
...
(tgba_gspn_eesrg_private_::tgba_gspn_eesrg_private_): Show prop_index()
argument on error.
2003-11-03 10:56:21 +00:00
Alexandre Duret-Lutz
747a4439ef
* src/ltlparse/Makefile.am ($(FROM_LTLPARSE_YY_MAIN)): cd into
...
$(srcdir) before running bison, so that bison does not put
absolute filenames in generated files.
* src/tgbaparse/Makefile.am ($(FROM_TGBAPARSE_YY_MAIN)): Likewise.
Reported by Soheib Baarir.
2003-11-03 10:49:35 +00:00
Alexandre Duret-Lutz
c9884c3b8a
* iface/gspn/Makefile.am (gspn_HEADERS): Add eesrg.hh.
...
Reported by Soheib Baarir.
2003-11-03 10:21:07 +00:00
Alexandre Duret-Lutz
4bffe7bfc7
* README: More build instructions.
...
* HACKING: Update.
2003-10-31 08:33:53 +00:00
Alexandre Duret-Lutz
21644874b1
* doc/Makefile.am ($(srcdir)/spotref.pdf): Make sure to work in
...
$(srcdir).
2003-10-31 07:31:25 +00:00
Alexandre Duret-Lutz
65bfea0c8d
* m4/gspnlib.m4: Define LIBGSPNESRG_LDFLAGS.
...
* iface/gspn/Makefile.am (gspn_HEADERS): Add common.hh.
(libspotgspn_la_SOURCES): Add common.cc.
(libspotgspneesrg_la_LIBADD, libspotgspneesrg_la_CPPFLAGS)
(libspotgspneesrg_la_SOURCES, ltlgspn_eesrg_SOURCES)
(dotty_eesrg_LDADD, dotty_eesrg_CPPFLAGS): New variables.
(lib_LTLIBRARIES): Add libspotgspneesrg.la.
(check_PROGRAMS): Add dottygspn-eesrg.
* iface/gspn/gspn.hh, iface/gspn/gspn.cc
(gspn_exeption, operator<<(gspn_exeption), gspn_environment): Move ...
* iface/gspn/common.hh, iface/gspn/common.cc: ... in these new files.
* iface/gspn/eesrg.hh, iface/gspn/eesrg.cc, iface/gspn/dottyeesrg.cc:
New files.
2003-10-30 15:53:33 +00:00
Alexandre Duret-Lutz
66f05a2621
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::complete_cycle):
...
Simplify, comment, and free memory.
2003-10-28 16:05:56 +00:00
Alexandre Duret-Lutz
89fddaaa81
* src/tgbaalgos/emptinesscheck.cc (triplet): New class.
...
(emptiness_check::accepting_path):
Simplify, comment, derecursive, and free memory...
2003-10-28 13:56:28 +00:00
Alexandre Duret-Lutz
20ca78a9b4
* src/tgbaalgos/emptinesscheck.cc (connected_component): Split
...
into ...
(emptiness_check::connected_component,
emptiness_check::connected_component_set): ... these.
* src/tgbaalgos/emptinesscheck.cc: Adjust.
2003-10-27 11:47:37 +00:00
Alexandre Duret-Lutz
dd720e9785
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::h_filt,
...
emptiness_check::~emptiness_check) New methods.
(emptiness_check::check): Release all iterators in todo on exit.
(emptiness_check::counter_example): Rewrite the BFS logic.
* src/tgbaalgos/emptinesscheck.hh (emptiness_check::h_filt,
emptiness_check::~emptiness_check): New methods.
2003-10-27 10:51:53 +00:00
Alexandre Duret-Lutz
0ae540ac2a
* src/tgba/tgbatba.cc
...
(tgba_tba_proxy_succ_iterator::~tgba_tba_proxy_succ_iterator):
Delete the proxied iterator.
2003-10-27 10:23:04 +00:00
Alexandre Duret-Lutz
23ed880bc8
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::counter_example):
...
Remove unused tmp_last, best_lst, and tmp_acc variables.
2003-10-27 08:58:18 +00:00
Alexandre Duret-Lutz
feaae8e254
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::counter_example):
...
Rewrite initialization.
2003-10-24 15:55:20 +00:00
Alexandre Duret-Lutz
f54c78a912
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::print_result):
...
Fix memory leak.
2003-10-24 13:57:55 +00:00
Alexandre Duret-Lutz
e94415c6e6
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::check):
...
Simplify, reorganize, and comment.
* src/tgbaalgos/emptinesscheck.hh (emptiness_check::root_component):
Rename as ...
(emptiness_check::root): ... this, to follow the paper.
2003-10-24 13:50:05 +00:00
Alexandre Duret-Lutz
26f15224fc
* src/tgbaalgos/emptinesscheck.cc: Remove some superfluous
...
`emptiness_check::'.
2003-10-24 09:41:52 +00:00
Alexandre Duret-Lutz
549c31605d
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::remove_component):
...
Rewrite.
2003-10-24 09:32:24 +00:00
Alexandre Duret-Lutz
071cb5d62c
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::check,
...
emptiness_check::counter_example): Simplify access to hashes
after calls to find() for the same element..
2003-10-23 16:05:51 +00:00
Alexandre Duret-Lutz
fb4873d92e
* src/tgbaalgos/emptinesscheck.hh (connected_component::set_of_state):
...
Rename as ...
(connected_component::set_type): ... this, and define as a hash_set.
(connected_component::has_state): New method.
* src/tgbaalgos/emptinesscheck.cc (connected_component::has_state):
New method.
(emptiness_check::counter_example, emptiness_check::complete_cycle,
emptiness_check::accepting_path): Simplify using has_state().
2003-10-23 15:49:29 +00:00
Alexandre Duret-Lutz
f0dd415f2f
* src/tgbaalgos/emptinesscheck.hh (emptiness_check::seen_state_num):
...
Rename as ...
(emptiness_check::h): ... this, and define as a hash_map.
(emptiness_check::remove_component): Remove superfluous state_map
argument.
* src/tgbaalgos/emptinesscheck.cc: Adjust.
2003-10-23 15:06:57 +00:00
Alexandre Duret-Lutz
dfdefdf672
* src/tgbaalgos/emptinesscheck.hh, src/tgbaalgos/emptinesscheck.cc:
...
Remove superfluous includes.
2003-10-23 14:40:05 +00:00
Alexandre Duret-Lutz
90099e47a6
* src/tgbaalgos/emptinesscheck.hh (emptiness_check::emptiness_check):
...
New, take the automaton to work on, and store it ...
(emptiness_check::aut_): ... in this new attribute.
(emptiness_check::tgba_emptiness_check): Rename as ...
(emptiness_check::check): ... this, and remove the automata
argument.
(emptiness_check::counter_example, emptiness_check::print_result,
emptiness_check::remove_component, emptiness_check::accepting_path,
emptiness_check::complete_cycle): Remove the automata argument.
* src/tgbaalgos/emptinesscheck.cc, src/tgbatest/ltl2tgba.cc,
iface/gspn/ltlgspn.cc: Adjust.
2003-10-23 14:17:02 +00:00
Alexandre Duret-Lutz
b60722bc58
* src/tgbaalgos/emptinesscheck.hh (connected_component::not_null,
...
connected_component::transition_acc,
connected_component::nb_transition,
connected_component::nb_state): Remove these unused attributes.
(connected_component::connected_component): Merge the two
definitions into one.
(connected_component::~connected_component): Remove.
(connected_component::isAccepted): Delete, unused.
* src/tgbaalgos/emptinesscheck.cc
(connected_component::connected_component,
connected_component::~connected_component): Adjust.
(connected_component::isAccepted): Delete.
(spot):
* src/tgbatest/emptchk.test: Typo.
2003-10-23 13:50:15 +00:00
Alexandre Duret-Lutz
636f5238d3
* src/tgbaalgos/emptinesscheck.hh
...
(emptiness_check::remove_component, emptiness_check::root_component,
emptiness_check::seen_state_num, emptiness_check::suffix): Move in
private part.
(emptiness_check::arc_accepting, emptiness_check::todo): Move ...
* src/tgbaalgos/emptinesscheck.cc
(emptiness_check::tgba_emptiness_check): ... as local variables
of this function.
* src/tgbaalgos/emptinesscheck.hh (emptiness_check::vec_component):
Move ...
(emptiness_check::counter_example): ... as local variable of this
function.
* src/tgbaalgos/emptinesscheck.hh (pair_state_iter, triplet):
Move ...
* src/tgbaalgos/emptinesscheck.cc (pair_state_iter, triplet):
... here.
2003-10-23 13:05:35 +00:00
Alexandre Duret-Lutz
008056f279
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::print_result):
...
Indent output as in the magic search.
2003-10-23 12:16:04 +00:00
Alexandre Duret-Lutz
46756c9589
* src/tgbatest/spotlbtt.test: Add notice about long run time.
2003-10-23 12:09:34 +00:00
Alexandre Duret-Lutz
d46c63a21b
Merge emptinesscheckexplicit into ltl2tgba.
...
* src/tgbatest/Makefile.am (check_PROGRAMS): Remove
emptinesscheckexplicit.
(emptinesscheckexplicit_SOURCES): Remove.
(TESTS): Replace emptinesscheckexplicit.test by emptchke.test.
* src/tgbatest/emptinesscheckexplicit.cc,
src/tgbatest/emptinesscheckexplicit.test: Delete.
* src/tgbatest/empchke.test: New file.
* src/tgbatest/ltl2tgba.cc: Add support for -X.
2003-10-23 11:58:11 +00:00
Alexandre Duret-Lutz
65f84e2c61
Merge emptiness-checks tests into ltl2tgba.
...
* src/tgbatest/Makefile (check_PRORGRAMS): Remove
emptinesscheck and ltlmagic.
(emptinesscheck_SOURCES, ltlmagic_SOURCES): Remove.
(TESTS): Replace emptinesscheck.test and ltlmagic.test by
emptchk.test.
* src/tgbatest/emptinesscheck.test, src/tgbatest/ltlmagic.test:
Delete.
* src/tgbatest/emptchk.test: New file.
* src/tgbatest/emptinesscheck.cc, src/tgbatest/ltlmagic.cc:
Delete.
* src/tgbatest/ltl2tgba.cc: Add support for -e, -E, -m, -M, and -n.
2003-10-23 11:37:07 +00:00
Alexandre Duret-Lutz
a11a29a1f7
* src/tgbaalgos/emptinesscheck.cc
...
(emptiness_check::tgba_emptiness_check): Do not print anything.
(emptiness_check::counter_example): Assume that tgba_emptiness_check
has already been called.
2003-10-23 09:40:55 +00:00
Alexandre Duret-Lutz
93c0732f0e
* src/tgbaalgos/emptinesscheck.hh, src/tgbaalgos/emptinesscheck.cc
...
(emptiness_check::seq_counter, emptiness_check::periode): Rename as ...
(emptiness_check::prefix, emptiness_check::period): ... these.
2003-10-22 15:25:05 +00:00
Alexandre Duret-Lutz
3784895ec7
* src/tgbaalgos/emptinesscheck.cc
...
(emptiness_check::tgba_emptiness_check,
emptiness_check::accepting_path): Simplify BDD operations.
2003-10-22 14:50:10 +00:00
Alexandre Duret-Lutz
558642fe9c
* src/tgbaalgos/emptinesscheck.cc, src/tgbaalgos/emptinesscheck.hh:
...
Reindent.
(emptiness_check::~emptiness_check, emptiness_check::emptiness_check):
Remove, unused.
2003-10-22 14:33:12 +00:00
Alexandre Duret-Lutz
22a53800d9
* iface/gspn/ltlgspn.cc (main): Allow invocations with
...
only one atomic proposition.
2003-10-15 09:51:01 +00:00
Alexandre Duret-Lutz
fec0d60886
* src/misc/bddalloc.cc (bdd_allocator::initialize): Augment
...
bdd_init()'s arguments.
2003-10-14 08:49:31 +00:00
Alexandre Duret-Lutz
c7bbe60f4c
* iface/gspn/ltlgspn.cc: Use command-line options to
...
select algorithms, not #defines.
* iface/gspn/Makefile.am (check_PROGRAMS): Remove eltlgspn-srg,
efmgspn-srg, fmgspn-rg, and fmgspn-srg and their associated
source variables. These are all replaced by
ltlgspn-rg and ltlgspn-srg.
* iface/gspn/dcswavefm.test, iface/gspn/dcswaveltl.test,
iface/gspn/dcswaveeltl.test, iface/gspn/udcsefm.test,
iface/gspn/udcseltl.test, iface/gspn/udcsfm.test,
iface/gspn/udcsltl.test: Adjust calls to ltlgspn-srg.
2003-10-08 17:27:20 +00:00
Alexandre Duret-Lutz
b64c41abcf
* iface/gspn/Makefile.am (XFAIL_TESTS): Remove.
2003-10-08 15:20:38 +00:00
rebiha
6920a1c30f
* iface/gspn/ltlgspn.cc: We call tgba_emptiness_check before
...
counter_example. And we print the prefix and the periode of
counter_example's result.
* src/tgbatest/emptinesscheckexplicit.cc (main):
We call tgba_emptiness_check before counter_example.
* src/tgbatest/emptinesscheck.cc (main):
We call tgba_emptiness_check before counter_example.
* src/tgbaalgos/emptinesscheck.hh (spot):
(spot::print_result): New methode to print the prefix and the
periode of counter_example's result.
* src/tgbaalgos/emptinesscheck.cc (spot): counter_example doesn't
call tgba_emptiness_check. counter_example must be executed after
calling tgba_emptiness_check. Remove tgba_emptiness_check calls.
(print_result): New methode to print the prefix and the
periode of counter_example's result. Remove most of all std::cout
during execution of emptiness_check's methodes.
2003-10-07 12:13:30 +00:00