- 28 Aug, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
Spot 0.7.1 used to need 190 acceptance conditions to translate the 188 literature formulae. With this patch we are down to 185. That's not an impressive, but there are only ~20 formulae that require more than 1 acceptance conditions; hence little room for improvement. * src/misc/bddlt.hh (bdd_hash): New function. * src/misc/accconv.hh, src/misc/accconv.cc: New files. * src/misc/Makefile.am: Add them. * src/tgbaalgos/scc.cc (scc_map::build_map): Adjust to record all combination of acceptance conditions occurring in a SCC. * src/tgbaalgos/scc.hh (scc_map::scc::useful_acc): Update description. * src/tgbaalgos/sccfilter.cc (scc_filter): Simplify acceptance conditions that are always implied by another acceptance conditions. Previously, we only removed acceptance conditions that where always present in accepting SCCs. * src/tgbatest/sccsimpl.test: New file. * src/tgbatest/Makefile.am (TESTS): Add it.
-
- 26 Aug, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
This avoids a small regression on the size of degeneralized automata of our usual list of literature formulae. * src/tgba/tgbatba.hh, src/tgba/tgbatba.cc (tgba_tba_proxy::union_acceptance_conditions_of_original_state): New method. * src/tgba/tgbatba.cc (tgba_tba_proxy_succ_iterator): In accepting states, ignore only the last expected acceptance condition if its common to all outgoing transitions AND if it is not used by any outgoing transitions of the destination.
-
- 25 Aug, 2011 3 commits
-
-
Alexandre Duret-Lutz authored
states). * src/tgbaalgos/tgbatba.cc: When degeneralizing to SBA, remove the acceptance conditions that are common to all outgoing transitions of this state. This helps to make the degeneralization idempotent. * src/tgbatest/degenid.test: New test case. * src/tgbatest/Makefile.am: Add it.
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/save.c (process_state): Escape quotes in the name of source and destination states. This fixes a side bug in the upcoming degenid.test test case.
-
Alexandre Duret-Lutz authored
after the simulation-reduction. Report from Tomáš Babiak <xbabiak@fi.muni.cz>. * src/tgbaalgos/neverclaim.hh (never_claim_reachable): Take a tgba as input. * src/tgbaalgos/neverclaim.cc (never_claim_bfs): Call state_is_accepting() only if this tgba turns out to be a tgba_sba_proxy. Otherwise check the acceptance of one outgoing transition as we do in dotty_bfs since 2011-03-05. * src/tgbatest/ltl2tgba.cc: Do not redegeneralize before calling never_claim_reachable() if we know the automaton is degeneralized already. * src/tgbatest/ltl2tgba.test: Add a test case.
-
- 17 Aug, 2011 3 commits
-
-
Alexandre Duret-Lutz authored
* src/tgbatest/complementation.cc (check, automaton): Remove these unused variables.
-
Alexandre Duret-Lutz authored
Reported by Tomáš Babiak <xbabiak@fi.muni.cz>. * src/tgba/tgbatba.cc (tgba_tba_proxy): Replace the std::map used to record outgoing transitions by an Sgi::hash_map, and keep the order of these transitions in a separate list. * src/tgbatest/degendet.test: New file. * src/tgbatest/Makefile.am (TESTS): Add it. * THANKS: Add Tomáš and convert to utf8.
-
Alexandre Duret-Lutz authored
-
- 16 Jun, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 08 Jun, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 07 Jun, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 06 Jun, 2011 6 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
generate these formulae with "genltl". * src/tgbatest/ltlcounter/: Remove this directory. * src/tgbatest/Makefile.am: Adjust. * src/tgbatest/ltlcounter.test, bench/ltlcounter/run: Use genltl to generate the formulae. * bench/ltlcounter/README: Do not mention src/tgbatest/ltlcounter/ anymore.
-
Alexandre Duret-Lutz authored
* src/ltlvisit/dotty.cc: Display "L" and "R" tail-labels for binary operators. Gather all constants and atomic propositions in a sub-graph with "rank=sink".
-
Alexandre Duret-Lutz authored
* src/ltltest/genltl.cc (fair_response, ltl_counter) (ltl_counter_carry): New functions, constructing function from gastin.03.cav and rozier.07.cav. The LTL counter will replace the scripts in src/tgbatest/ltlcounter/. (X_n): New helper function.
-
Alexandre Duret-Lutz authored
built output. This is also a step towards better checks for things like __attribute__ or std::tr1. * m4/ax_prefix_config_h.m4: New file. * configure.ac: Call AC_CONFIG_HEADERS and AX_PREFIX_CONFIG_H. * src/misc/Makefile.am: Install misc/_config.h. * src/misc/random.cc, src/misc/version.cc: Include misc/_config.h.
-
- 18 May, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
* src/misc/intvcmp2.cc (stream_compression_base::run): Implement a shift-less encoding for the 1-bit and 3-bit cases. Also declare offsets as size_t, to help 64-bit compilers.
-
- 16 May, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
size_t.
-
- 05 May, 2011 2 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/misc/intvcmp2.cc (int_array_array_compression): Specify full type of stream_compression_base<int_array_array_compression> in constructor to please g++ versions <= 4.3.
-
- 02 May, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
* src/misc/intvcmp2.cc, src/misc/intvcmp2.hh: New files. * src/misc/Makefile.am: Add them. * src/tgbatest/intvcmp2.cc: New test. * src/tgbatest/Makefile.am: Add it. * src/tgbatest/intvcomp.test: Call it.
-
- 15 Apr, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 13 Apr, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
* src/misc/intvcomp.cc (stream_compression_base::run): Limit repeatitions to 40, not 42. (stream_decompression_base::refill): Refill the end of the stream with 0. (stream_decompression_base::look_n_bits): Add assertion. * src/tgbatest/intvcomp.cc: Add a new test case.
-
- 12 Apr, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
* src/misc/intvcomp.cc, src/misc/intvcomp.cc: Add interfaces to compress vector<int> to vector<unsigned>. * src/tgbatest/intvcomp.cc: Test them. * src/sanity/style.test: Refine check to avoid a spurious report.
-
- 10 Apr, 2011 2 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/misc/intvcomp.hh: Likewise.
-
- 09 Apr, 2011 6 commits
-
-
Alexandre Duret-Lutz authored
* src/misc/intvcomp.hh: Move all code... * src/misc/intvcomp.cc: ... in this new file. * src/misc/Makefile.am: Add invcomp.cc
-
Alexandre Duret-Lutz authored
* iface/dve2/dve2.cc: Adjust to use the new mspool allocator, and get rid of the std::vector used to store compressed states. * src/misc/intvcomp.hh: Add an "int* -> int*" interface in addition to the "int* -> vector<unsigned>*" interface. * src/tgbatest/intvcomp.cc: Test the two interfaces.
-
Alexandre Duret-Lutz authored
* src/misc/mspool.hh: New file. * src/misc/Makefile.am: Add it.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* iface/dve2/dve2.cc (dve2_compressed_state): New class. (callback_context): Deal with general state*s, not dve2_state*s. (transition_callback_compress): New function. (dve2_kripke): Take a compress option. (get_init_state, compute_state_condition, succ_iter, format_state, state_condition): Handle compressed states. (get_vars, compute_state_condition_aux): New helper methods. * iface/dve2/dve2.hh (load_dve2): Add a compress option. * iface/dve2/dve2check.cc: Add a -z option. * iface/dve2/finite.test, iface/dve2/dve2check.test: Add more tests.
-
Alexandre Duret-Lutz authored
* src/misc/intvcomp.hh: New file. * src/misc/Makefile.am: Add it. * src/tgbatest/intvcomp.cc, src/tgbatest/intvcomp.test: New files. * src/tgbatest/Makefile.am: Add them.
-
- 04 Apr, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
a fixed-size memory pool for product_state instances.
-
- 03 Apr, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
* src/misc/fixpool.hh: New file. * src/misc/Makefile.am (misc_HEADERS): Add fixpool.hh.
-
- 31 Mar, 2011 3 commits
-
-
Alexandre Duret-Lutz authored
* src/misc/casts.hh: New file. * src/misc/Makefile.am: Add it. * iface/dve2/dve2.cc, iface/gspn/gspn.cc, iface/gspn/ssp.cc, src/evtgba/explicit.cc, src/evtgba/product.cc, src/misc/casts.hh, src/tgba/state.hh, src/tgba/statebdd.cc, src/tgba/taatgba.cc, src/tgba/taatgba.hh, src/tgba/tgbabddconcrete.cc, src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh, src/tgba/tgbakvcomplement.cc, src/tgba/tgbaproduct.cc, src/tgba/tgbasafracomplement.cc, src/tgba/tgbasgba.cc, src/tgba/tgbatba.cc, src/tgba/tgbaunion.cc, src/tgba/wdbacomp.cc, src/tgbaalgos/ndfs_result.hxx, src/tgbaalgos/reductgba_sim.cc, src/tgbaalgos/reductgba_sim_del.cc: Use down_cast when appropriate.
-
Alexandre Duret-Lutz authored
* src/sanity/style.test: Catch some binary operators not delimited with spaces. * src/tgbaalgos/bfssteps.cc, src/tgbaalgos/magic.cc, src/tgbaalgos/reducerun.cc, src/tgbaalgos/se05.cc, src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03opt.cc: Fix these.
-
Alexandre Duret-Lutz authored
* src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh: Merge state_explicit and tgba_explicit::state. In the past, state_explicit was a small object encapsulating a pointer to the persistent tgba_explicit::state; and we used to clone() and destroy() a lot of state_explicit instance. Now state_explicit is persistent, and clone() and destroy() have no effects. * src/tgba/tgbareduce.cc: Adjust, since this inherits from tgbaexplicit and uses the internals of state_explicit. * src/tgbatest/reductgba.cc: Fix deletion order for automata. * src/tgba/tgba.hh (last_support_conditions_input_, last_support_variables_input_): Make these protected, so they can be zeroed by tgba_explicit.
-
- 30 Mar, 2011 2 commits
-
-
Alexandre Duret-Lutz authored
* src/tgba/tgbareduc.cc, src/tgba/tgbareduc.hh (format_state): Remove this useless copy of the tgba_explicit_string::format_state method.
-
Alexandre Duret-Lutz authored
Client code should always call the destroy() method instead. (It was introduced in Spot 0.7.) * src/tgba/state.hh (state::~state): Make it protected.
-