- 09 Apr, 2011 7 commits
-
-
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.
-
Alexandre Duret-Lutz authored
* wrap/python/tests/setxor.py, wrap/python/tests/bddnqueen.py: Clean all used bdd variables before calling bdd_done(), so that bdd_delref() is never called after bdd_done(). In NDEBUG builds, bdd_delref() does not check whether the BuDDy is running or not, and calling it after bdd_done() will crash.
-
Alexandre Duret-Lutz authored
-
- 06 Apr, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
during emptiness check or counterexample generation.
-
- 05 Apr, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
Tag functions with attributes pure, const, or noreturn. * src/bdd.h (__purefn, __constfn, __noreturnfn): Define new macros. * src/bdd.h, src/bddio.c, src/bvec.h, src/imatrix.h: Use them to tag many functions as suggested by -Wsuggest-attribute=pure, -Wsuggest-attribute=const, -Wsuggest-attribute=noreturn.
-
- 04 Apr, 2011 2 commits
-
-
Alexandre Duret-Lutz authored
Remove more sanity checks when NDEBUG is set. * src/kernel.h (CHECKnc): New macro. * src/kernel.c (bdd_var, bdd_low, bdd_high, bdd_ithvar, bdd_nithvar): Use it.
-
Alexandre Duret-Lutz authored
a fixed-size memory pool for product_state instances.
-
- 03 Apr, 2011 7 commits
-
-
Alexandre Duret-Lutz authored
instances and their variables.
-
Alexandre Duret-Lutz authored
* src/misc/fixpool.hh: New file. * src/misc/Makefile.am (misc_HEADERS): Add fixpool.hh.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/kernel.h (CHECK, CHECKa, CHECKn): Disable if NDEBUG is set.
-
Alexandre Duret-Lutz authored
Fix declaration of bddproduced. * src/reorder.c (bddproduced): Declare a longint, to match the definition in kerner.c.
-
Alexandre Duret-Lutz authored
settings to sub configure.
-
Alexandre Duret-Lutz authored
* buddy/src/kernel.c (bdd_addref, bdd_delref): Disable sanity checks when compiled with NDEBUG.
-
- 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 5 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.
-
Alexandre Duret-Lutz authored
The gain is not very impressive. The runtime of the first example in iface/dve2/README (also in dve2check.test) is 15% faster. * src/tgba/tgbaproduct.hh (tgba_succ_iterator_product): Move ... * src/tgba/tgbaproduct.cc (tgba_succ_iterator_product, tgba_succ_iterator_product_common): ... in these two classes. (tgba_succ_iterator_product_kripke): New class to speedup successor computation on Kripke structures. We can assume that all the transitions leaving the same state have the same label. (tgba_product::tgba_product, tgba_product::succ_iter): Use tgba_succ_iterator_product_kripke when appropriate. (tgba_product_init::tgba_product_init): Adjust for the case where tgba_product did reverse its operands.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
-
- 29 Mar, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
* wrap/python/spot.i, wrap/python/buddy.i: Include <cstddef> because Swig 2.0.2 uses ptrdiff_t and does not do the include itself. In g++ most libstdc++ standard headers have been changed to no longer include <cstddef> as an implementation detail, so the difference shows.
-
- 21 Mar, 2011 2 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
-
- 17 Mar, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
* src/ltlvisit/reduce.cc (reduce_visitor): Always reduce "a M b" to "a & b" if "a" is a pure eventual formula, remove the constraint on "b". * src/ltltest/reduccmp.test: Add two tests.
-
- 11 Mar, 2011 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 10 Mar, 2011 2 commits
-
-
Alexandre Duret-Lutz authored
* iface/dve2/dve2.hh (load_dve2): Take a "dead" argument. * iface/dve2/dve2.cc (callback_context): Add a destructor to simplify... (dve2_succ_iterator::~dve2_succ_iterator) ... this one. (convert_aps): Skip the dead proposition. (dve2_kripke::dve2_kripke): Take a dead argument, and setup alive_prop and dead_prop. (compute_state_condition, get_succ): Use a cache for the conditions and successor of the last state, to share some work between these two function. Add loops on dead states. (load_dve2): Pass dead to dve2_kripke and convert_aps. * iface/dve2/dve2check.cc: Add a -dDEAD option. * iface/dve2/finite.test, iface/dve2/finite.dve: New file. * iface/dve2/Makefile.am: Declare them.
-
Alexandre Duret-Lutz authored
parsing >= and >, mistakenly registered as <= and <.
-
- 07 Mar, 2011 7 commits
-
-
Alexandre Duret-Lutz authored
* NEWS: Mention it. * configure.ac, README: Remove it. * iface/Makefile.am (SUBDIRS): Remove nips. * iface/nips/: Delete this directory.
-
Alexandre Duret-Lutz authored
Suggested by Yann Thierry-Mieg. * iface/dve2/dve2.cc (convert_aps): Allow string on the right of operators, and look them up. * iface/dve2/dve2check.test: Test this syntax.
-
Alexandre Duret-Lutz authored
* iface/dve2/defs.in, iface/dve2/dve2check.test, iface/dve2/beem-peterson.4.dve: New files. * iface/dve2/Makefile.am: Add them. * configure.ac: Generate iface/dve2/defs.
-
Alexandre Duret-Lutz authored
* src/misc/timer.hh (reset_all): New method. * iface/dve2/dve2check.cc: Use it to help valgrind.
-
Alexandre Duret-Lutz authored
* iface/dve2/README: New file. * NEWS: Mention it. * THANKS: Add Michael Weber.
-
Alexandre Duret-Lutz authored
to please sanity checks.
-
Alexandre Duret-Lutz authored
* iface/dve2/dve2.cc (compile_dve2): New function. Compile the *.dve source if there is no newer *.dve2C already. (load_dve2): Call compile_dve2 when given a *.dve file. * iface/dve2/dve2.hh (load_dve2): Document it.
-