1. 02 May, 2011 2 commits
  2. 30 Apr, 2011 3 commits
  3. 15 Apr, 2011 1 commit
  4. 13 Apr, 2011 1 commit
    • Alexandre Duret-Lutz's avatar
      Fix compression of large repetitions · 445a785e
      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.
      445a785e
  5. 12 Apr, 2011 1 commit
  6. 11 Apr, 2011 1 commit
  7. 10 Apr, 2011 5 commits
    • Alexandre Duret-Lutz's avatar
      more files to ignore · e9396502
      Alexandre Duret-Lutz authored
      e9396502
    • Alexandre Duret-Lutz's avatar
      Always pass --enable-devel or --disable-devel to BuDDy. · 2b6ea227
      Alexandre Duret-Lutz authored
      * configure.ac: Do not add CXXFLAGS and CFLAGS in ac_configure_args,
      it causes problem when using config.cache.  Instead ...
      * m4/devel.m4: Add --enable-devel or --disable-devel on
      ac_configure_args, now that BuDDy understands that.
      2b6ea227
    • Alexandre Duret-Lutz's avatar
      [buddy] · e5f35dea
      Alexandre Duret-Lutz authored
      Fix some warnings reported by gcc.
      
      * buddy/src/kernel.c (errorstrings): Mark these as const.
      * buddy/src/reorder.c (reorder_gbc): Fix prototype.
      (siftTestCmp): Add missing const in cast.
      (bdd_reorder_auto): Actually call bdd_reorder_ready().
      e5f35dea
    • Alexandre Duret-Lutz's avatar
      [buddy] · 35de7e90
      Alexandre Duret-Lutz authored
      Add support for --enable-devel and similar macros.
      
      * m4/debug.m4: Rename to ...
      * m4/bdebug.m4: ... this.
      * m4/debug.m4, m4/devel.m4, m4/gccoptim.m4, m4/ndebug.m4: New file.
      * m4/gccwarns.m4: Fix usage of cache variable.  Fix shell
      syntax.  Do not check for -Waggregate-return.  Update CFLAGS.
      * configure.ac: Adjust to handle --enable-devel and similar macros
      in the same way as Spot.
      35de7e90
    • Alexandre Duret-Lutz's avatar
      * src/misc/escape.hh: Fix Doxygen documentation. · cdede3d1
      Alexandre Duret-Lutz authored
      * src/misc/intvcomp.hh: Likewise.
      cdede3d1
  8. 09 Apr, 2011 8 commits
  9. 06 Apr, 2011 1 commit
  10. 05 Apr, 2011 1 commit
    • Alexandre Duret-Lutz's avatar
      [buddy] · 5fdfe286
      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.
      5fdfe286
  11. 04 Apr, 2011 2 commits
  12. 03 Apr, 2011 7 commits
  13. 31 Mar, 2011 3 commits
    • Alexandre Duret-Lutz's avatar
      Introduct a down_cast macro. · 9f63bb66
      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.
      9f63bb66
    • Alexandre Duret-Lutz's avatar
      Cosmetics. · 12783ff7
      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.
      12783ff7
    • Alexandre Duret-Lutz's avatar
      Make state_explicit instances persistent objects. · 36f7c648
      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.
      36f7c648
  14. 30 Mar, 2011 4 commits
    • Alexandre Duret-Lutz's avatar
      Remove tgba_reduc::format_state(). · cd900a40
      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.
      cd900a40
    • Alexandre Duret-Lutz's avatar
      Protect the state destructor. · 29a908cc
      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.
      29a908cc
    • Alexandre Duret-Lutz's avatar
      Speedup tgba_product when one of the argument is a Kripke structure. · 94ac863c
      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.
      94ac863c
    • Alexandre Duret-Lutz's avatar