1. 07 Jun, 2019 1 commit
    • Alexandre Duret-Lutz's avatar
      autcross: simplify code using complement() and intersecting_word() · f0b77e21
      Alexandre Duret-Lutz authored
      * bin/autcross.cc: Let complement() decide how to complement automata.
      Do not apply remove_fin(), because we have a generic emptiness check
      now.  Use intersecting_word() instead of product()+accepting_word() so
      that the former can maybe be optimized in the future.
      * tests/core/autcross2.test: Adjust test case to use TGBA instead
      of monitors, as calling complement() had a side-effect of setting
      the "weak" property on the input.
  2. 25 May, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      fix and check shifting issue · b12eb050
      Alexandre Duret-Lutz authored
      The exception raised by << and >> when shifting mark_t by too many
      bits are only enabled in SPOT_DEBUG, as those operations are quite
      low-level.  However we were always testing them, and although we
      wanted them to be active in Python, it was not always the case.
      * spot/twa/acc.hh: introduce max_accsets() as
      a static constexpr method, so we can see it in Python.
      * spot/misc/bitset.hh: Fix preprocessing directive
      so the check is actually enabled when compiling the Python
      * bin/autcross.cc, bin/autfilt.cc, bin/ltlcross.cc: Use max_accsets().
      * tests/core/acc.cc: Comment out the shifting exception when
      SPOT_DEBUG is unset.
      * tests/python/except.py: Make sure the exception is always raised in
  3. 24 May, 2018 1 commit
  4. 23 May, 2018 1 commit
  5. 21 May, 2018 1 commit
  6. 16 May, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: factor exception-handling code · 645bb556
      Alexandre Duret-Lutz authored
      * bin/common_setup.cc, bin/common_setup.hh: Define a protected_main()
      function that deal with exceptions.
      * bin/autcross.cc, bin/autfilt.cc, bin/dstar2tgba.cc, bin/genaut.cc,
      bin/genltl.cc, bin/ltl2tgba.cc, bin/ltl2tgta.cc, bin/ltlcross.cc,
      bin/ltldo.cc, bin/ltlfilt.cc, bin/ltlgrind.cc, bin/ltlsynt.cc,
      bin/randaut.cc, bin/randltl.cc: Use it for all tools.
  7. 15 Oct, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      ltlcross, autcross, ltldo: support --fail-on-timeout · 183ec1fb
      Alexandre Duret-Lutz authored
      Suggested by Tobias Meggendorfer.  Fixes #294.
      * bin/autcross.cc, bin/ltlcross.cc, bin/ltldo.cc: Add the option.
      * tests/core/autcross3.test, tests/core/ltlcross3.test,
      tests/core/ltldo.test: Test it.
      * tests/Makefile.am: Add autcross3.test.
      * NEWS, doc/org/autcross.org, doc/org/ltlcross.org, doc/org/ltldo.org:
      Mention the option.
      * THANKS: Add Tobias.
  8. 26 Sep, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: make sure that all options are in a named section · 69daf9c2
      Alexandre Duret-Lutz authored
      This also fixes some empty lines and unsorted options
      that appeared in some tools.
      * tests/sanity/bin.test: Ensure this is done.
      * bin/README: Add a new paragraph about this.
      * bin/autcross.cc, bin/ltlcross.cc: Move the
      output options in their own section.
      * bin/common_color.cc: Assume color options are
      in group -15.
      * bin/common_finput.cc, bin/common_finput.hh:
      Add a headless variant.
      * bin/genltl.cc, bin/ltlfilt.cc, bin/ltlgrind.cc,
      bin/randaut.cc, bin/randltl.cc:  Do not force the
      children groups, so that the options are correctly sorted.
      * bin/ltlsynt.cc: Add missing groups.
  9. 19 Sep, 2017 1 commit
    • Alexandre GBAGUIDI AISSE's avatar
      misc/timer: Gather handling of %r and %R options · ad9bc644
      Alexandre GBAGUIDI AISSE authored
      * bin/autcross.cc: Update.
      * bin/autfilt.cc: Update.
      * bin/common_aoutput.cc: Gather them. Move process_timer struct.
      * bin/common_aoutput.hh: Gather them.
      * bin/common_output.hh: Update.
      * bin/dstar2tgba.cc: Update.
      * bin/ltl2tgba.cc: Update.
      * bin/ltlcross.cc: Update.
      * bin/ltldo.cc: Update.
      * bin/ltlfilt.cc: Update.
      * bin/randaut.cc: Update.
      * spot/misc/formater.hh: Remove an useless function.
      * spot/misc/timer.hh: Add process_timer struct definition.
      * spot/misc/timer.cc: Remove old dead code.
      * spot/twaalgos/stats.cc: Update.
      * spot/twaalgos/stats.hh: Update.
  10. 07 Sep, 2017 1 commit
  11. 28 Jul, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: introduce autcross · 0cf250d8
      Alexandre Duret-Lutz authored
      Fixes #252.
      * NEWS: Mention it.
      * bin/autcross.cc, bin/man/autcross.x, doc/org/autcross.org: New
      * bin/Makefile.am, bin/man/Makefile.am, doc/org/tools.org,
      doc/Makefile.am: Add them.
      * bin/autfilt.cc: Use is_universal() instead of is_deterministic().
      * bin/common_hoaread.hh, bin/common_trans.cc, bin/common_trans.hh,
      bin/ltlcross.cc, bin/ltldo.cc: Factor some bits common between
      ltlcross, ltldo and autcross.
      * tests/core/autcross.test, tests/core/autcross2.test: New files.
      * tests/Makefile.am: Add them.
      * tests/core/dra2dba.test, tests/core/sbacc.test,
      tests/core/streett.test: Use autcross.