- 27 Oct, 2003 3 commits
-
-
Alexandre Duret-Lutz authored
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.
-
Alexandre Duret-Lutz authored
(tgba_tba_proxy_succ_iterator::~tgba_tba_proxy_succ_iterator): Delete the proxied iterator.
-
Alexandre Duret-Lutz authored
Remove unused tmp_last, best_lst, and tmp_acc variables.
-
- 24 Oct, 2003 5 commits
-
-
Alexandre Duret-Lutz authored
Rewrite initialization.
-
Alexandre Duret-Lutz authored
Fix memory leak.
-
Alexandre Duret-Lutz authored
Simplify, reorganize, and comment. * src/tgbaalgos/emptinesscheck.hh (emptiness_check::root_component): Rename as ... (emptiness_check::root): ... this, to follow the paper.
-
Alexandre Duret-Lutz authored
`emptiness_check::'.
-
Alexandre Duret-Lutz authored
Rewrite.
-
- 23 Oct, 2003 13 commits
-
-
Alexandre Duret-Lutz authored
emptiness_check::counter_example): Simplify access to hashes after calls to find() for the same element..
-
Alexandre Duret-Lutz authored
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().
-
Alexandre Duret-Lutz authored
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.
-
Alexandre Duret-Lutz authored
Remove superfluous includes.
-
Alexandre Duret-Lutz authored
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.
-
Alexandre Duret-Lutz authored
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.
-
Alexandre Duret-Lutz authored
(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.
-
Alexandre Duret-Lutz authored
(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.
-
Alexandre Duret-Lutz authored
Indent output as in the magic search.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* 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.
-
Alexandre Duret-Lutz authored
* 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.
-
Alexandre Duret-Lutz authored
(emptiness_check::tgba_emptiness_check): Do not print anything. (emptiness_check::counter_example): Assume that tgba_emptiness_check has already been called.
-
- 22 Oct, 2003 3 commits
-
-
Alexandre Duret-Lutz authored
(emptiness_check::seq_counter, emptiness_check::periode): Rename as ... (emptiness_check::prefix, emptiness_check::period): ... these.
-
Alexandre Duret-Lutz authored
(emptiness_check::tgba_emptiness_check, emptiness_check::accepting_path): Simplify BDD operations.
-
Alexandre Duret-Lutz authored
Reindent. (emptiness_check::~emptiness_check, emptiness_check::emptiness_check): Remove, unused.
-
- 15 Oct, 2003 1 commit
-
-
Alexandre Duret-Lutz authored
only one atomic proposition.
-
- 14 Oct, 2003 1 commit
-
-
Alexandre Duret-Lutz authored
bdd_init()'s arguments.
-
- 08 Oct, 2003 2 commits
-
-
Alexandre Duret-Lutz authored
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.
-
Alexandre Duret-Lutz authored
-
- 07 Oct, 2003 1 commit
-
-
rebiha authored
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.
-
- 02 Oct, 2003 2 commits
-
-
Alexandre Duret-Lutz authored
* iface/gspn/Makefile.am (TESTS) Add them. (check_PROGRAMS): Add emgspn-srg. (efmgspn_srg_SOURCES, efmgspn_srg_LDADD, efmgspn_srg_CPPFLAGS): New variables. * iface/gspn/udcsltl.test, iface/gspn/udcseltl.test: Complete.
-
Alexandre Duret-Lutz authored
-
- 01 Oct, 2003 4 commits
-
-
Alexandre Duret-Lutz authored
iface/gspn/dcswaveltl.test, iface/gspn/dcswaveeltl.test, iface/gspn/dcswavefm.test: Do not accept $? = 0 when a failure is expected.
-
Alexandre Duret-Lutz authored
* iface/gspn/Makefile.am (TESTS): Add them. (XFAIL_TESTS): Add udcseltl.test. * iface/gspn/example/udcs/udcs.net, iface/gspn/example/udcs/udcs.def iface/gspn/example/udcs/udcs.tobs: New files. * iface/gspn/Makefile.am (EXTRA_DIST): Add them.
-
Alexandre Duret-Lutz authored
(eltlgspn_srg_SOURCES, eltlgspn_srg_LDADD, eltlgspn_srg_CPPFLAGS): New variables. (TESTS): Add dcswaveeltl.test. * iface/gspn/dcswaveeltl.test: New file. * iface/gspn/ltlgspn.cc [CEC]: Use emptiness_check.
-
Alexandre Duret-Lutz authored
* Makefile.am (EXTRA_DIST): Add them. * configure.ac: Call adl_ENABLE_DEVEL, adl_ENABLE_DEBUG, ad_GCC_OPTIM, and adl_NDEBUG.
-
- 30 Sep, 2003 1 commit
-
-
Alexandre Duret-Lutz authored
Declare as std::binary_function. (state_ptr_hash): Declare as std::unary_function. * src/tgbaalgos/lbtt.cc (state_acc_pair_equal, state_acc_pair_hash): Likewise. * src/misc/bddlt.hh (bdd_less_than): Likewise. * src/misc/hash.hh (ptr_hash, string_hash): Likewise.
-
- 25 Sep, 2003 1 commit
-
-
rebiha authored
* src/tgbatest/emptinesscheckexplicit.cc (main): New file. * src/tgbatest/emptinesscheck.test: New file. * src/tgbatest/emptinesscheck.cc (main): New file. * src/tgbaalgos/emptinesscheck.cc (spot): New method. * src/tgbaalgos/emptinesscheck.hh: New interface.
-
- 22 Sep, 2003 1 commit
-
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/ltl2tgba_lacim.cc, src/tgbaalgos/ltl2tgba_lacim.hh: ... this, and rename ltl_to_tgba() as ltl_to_tgba_lacim as well. * iface/gspn/ltlgspn.cc, src/tgbatest/explprod.cc, src/tgbatest/ltl2tgba.cc, src/tgbatest/ltlmagic.cc, src/tgbatest/ltlprod.cc, src/tgbatest/mixprod.cc, src/tgbatest/tripprod.cc, wrap/python/spot.i, wrap/python/cgi/ltl2tgba.in, wrap/python/tests/interdep.py, wrap/python/tests/ltl2tgba.py: Adjust.
-
- 11 Sep, 2003 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 29 Aug, 2003 1 commit
-
-
Alexandre Duret-Lutz authored
(state_ptr_equal, state_ptr_hash): New functors. * src/tgba/statebdd.hh, src/tgba/statebdd.cc (state_bdd::hash): New method. * src/tgba/tgbaexplicit.hh, src/tgba/tgbaexplicit.cc (state_explicit::hash): New method. (ns_map, sn_map): Use Sgi::hash_map instead of std::map. * src/tgba/tgbaproduct.hh, src/tgba/tgbaproduct.cc (state_product::hash): New method. * src/tgba/tgbatba.cc (state_tba_proxy::hash): New method. * src/tgbaalgos/lbtt.cc (acp_seen, todo_set, seen_map): Redefine using Sgi::hash_map or Sgi::hash_set. (lbtt_reachable): Don't erase a key that is pointed to by an iterator. * src/tgbaalgos/reachiter.cc (tgba_reachable_iterator::~tgba_reachable_iterator): Likewise. * src/tgbaalgos/magic.cc (magic_search::~magic_search()): Likewise. * src/tgbaalgos/magic.hh (hash_type): Redefine using Sgi::hash_map. * src/tgbaalgos/reachiter.hh (seen_map): Redefine using Sgi::hash_map. * iface/gspn/gspn.cc (state_gspn::hash): New method. * src/misc/hash.hh (string_hash): New functor.
-