1. 14 Feb, 2019 1 commit
    • Clément Gillard's avatar
      Several typos · 4ecd066c
      Clément Gillard authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * HACKING: Missing "to", extraneous 's'.
      * spot/misc/timer.hh: Extraneous space.
      * spot/twa/acc.hh: Extraneous 's', typos.
      * spot/twaalgos/genem.hh: Typo.
      * spot/twaalgos/sccinfo.cc: Fix indentation.
      * spot/twaalgos/sccinfo.hh: Missing 's'.
      * tests/python/acc_cond.ipynb: Extraneous 'e', missing comma.
      * tests/python/decompose.ipynb: Extraneous 't'.
      * tests/python/ltsmin-dve.ipynb: Extraneous verb.
      4ecd066c
  2. 07 Dec, 2018 1 commit
  3. 29 Nov, 2018 1 commit
    • Etienne Renault's avatar
      noexcept: please gcc snapshot · c2c8d215
      Etienne Renault authored
      * bin/common_finput.hh,
      bin/common_trans.cc,
      bin/common_trans.hh,
      spot/misc/minato.hh,
      spot/ta/ta.cc,
      spot/ta/ta.hh,
      spot/twa/acc.hh,
      spot/twaalgos/cycles.hh,
      spot/twaalgos/emptiness.hh,
      spot/twaalgos/gtec/gtec.hh,
      spot/twaalgos/ndfs_result.hxx,
      spot/twaalgos/sccinfo.hh,
      spot/twaalgos/word.cc,
      spot/twaalgos/word.hh: Here.
      c2c8d215
  4. 02 Nov, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      python: add __repr__ for rs_pair · c3b7a691
      Alexandre Duret-Lutz authored
      * spot/twa/acc.hh: Hide default constructors, so that we can have
      keyword arguments on the main constructor.
      * python/spot/impl.i: Add __repr__.
      * tests/python/setacc.py: Test it.
      c3b7a691
  5. 02 Aug, 2018 1 commit
  6. 28 Jul, 2018 1 commit
  7. 27 Jul, 2018 1 commit
  8. 26 Jul, 2018 1 commit
  9. 24 Jul, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      genem: implement a generic emptiness check for twa_graph_ptr · d708174c
      Alexandre Duret-Lutz authored
      * spot/twa/acc.cc, spot/twa/acc.hh (fin_unit, one_fin): New function.
      * spot/twaalgos/genem.cc, spot/twaalgos/genem.hh: New files.
      * spot/twaalgos/Makefile.am: Add it.
      * tests/python/genem.py: New file.
      * tests/Makefile.am: Add it.
      * python/spot/impl.i: Add bindings for genem.hh.
      * NEWS: Mention the new function.
      d708174c
  10. 26 May, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      acc: turn some assertions into exceptions · 6d9d35c9
      Alexandre Duret-Lutz authored
      * spot/misc/bitset.cc, spot/misc/bitset.hh (set, clear):
      Turn asserts into exceptions.
      * spot/twa/acc.hh (mark_t): As a consequence, the
      constructor is not noexcept anymore.
      * tests/core/acc.cc, tests/python/except.py: More tests.
      6d9d35c9
  11. 25 May, 2018 3 commits
    • 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
      bindings.
      * 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
      Python.
      b12eb050
    • Maximilien Colange's avatar
      fix warnings when compiling without assertions · a9293f32
      Maximilien Colange authored
      * spot/twa/acc.hh, spot/twaalgos/alternation.cc,
        spot/twaalgos/determinize.cc, spot/twaalgos/ndfs_result.hxx,
        spot/twaalgos/tau03.cc, spot/ltsmin/ltsmin.cc, tests/core/parity.cc:
        here
      a9293f32
    • Maximilien Colange's avatar
      a few improvements to mark_t · 5b908800
      Maximilien Colange authored
      * spot/misc/bitset.hh: add methods set() and clear()
      * spot/twa/acc.hh: deprecate comparison of mark_t with unsigned, and
        rely more on biset for efficiency
      5b908800
  12. 24 May, 2018 3 commits
  13. 23 May, 2018 2 commits
    • Alexandre Duret-Lutz's avatar
      product: optimize product with weak automata · a738801e
      Alexandre Duret-Lutz authored
      Fixes #350.
      
      * spot/twaalgos/product.cc: Implement this change.
      * NEWS, spot/twaalgos/product.hh: Mention it.
      * spot/twa/acc.cc, spot/twa/acc.hh (acc_cond::sat_mark): New method.
      * tests/python/_product_weak.ipynb: New file.
      * tests/Makefile.am: Add it.
      * tests/python/automata.ipynb, tests/python/highlighting.ipynb,
      tests/python/product.ipynb, tests/core/prodor.test: Adjust test cases.
      a738801e
    • Maximilien Colange's avatar
      hide implementation of spot::acc_cond::mark_t · cde0977e
      Maximilien Colange authored
      * bin/autcross.cc, bin/autfilt.cc, bin/ltlcross.cc,
        spot/parseaut/parseaut.yy: use SPOT_NB_ACC
      * spot/twa/acc.hh: make implementation private
      cde0977e
  14. 22 May, 2018 2 commits
  15. 15 Mar, 2018 1 commit
    • Maximilien Colange's avatar
      Clean the usage of spot::acc_cond::mark_t · b09c293f
      Maximilien Colange authored
      spot::acc_cond::mark_t is implemented as a bit vector using a single
      unsigned, and implicit conversions between mark_t and unsigned may be
      confusing. We try to use the proper interface.
      
      * bin/autfilt.cc, bin/ltlsynt.cc, spot/kripke/kripke.cc,
        spot/misc/game.hh, spot/parseaut/parseaut.yy, spot/priv/accmap.hh,
        spot/ta/ta.cc, spot/ta/taexplicit.cc, spot/ta/taproduct.cc,
        spot/taalgos/emptinessta.cc, spot/taalgos/tgba2ta.cc, spot/twa/acc.cc,
        spot/twa/acc.hh, spot/twa/taatgba.cc, spot/twa/taatgba.hh,
        spot/twa/twagraph.hh, spot/twaalgos/alternation.cc,
        spot/twaalgos/cleanacc.cc, spot/twaalgos/cobuchi.cc,
        spot/twaalgos/complete.cc, spot/twaalgos/couvreurnew.cc,
        spot/twaalgos/degen.cc, spot/twaalgos/dot.cc,
        spot/twaalgos/dtwasat.cc, spot/twaalgos/dualize.cc,
        spot/twaalgos/emptiness.cc, spot/twaalgos/gtec/ce.cc,
        spot/twaalgos/gtec/gtec.cc, spot/twaalgos/gtec/sccstack.cc,
        spot/twaalgos/gv04.cc, spot/twaalgos/hoa.cc, spot/twaalgos/lbtt.cc,
        spot/twaalgos/ltl2tgba_fm.cc, spot/twaalgos/magic.cc,
        spot/twaalgos/ndfs_result.hxx, spot/twaalgos/rabin2parity.cc,
        spot/twaalgos/randomgraph.cc, spot/twaalgos/remfin.cc,
        spot/twaalgos/sbacc.cc, spot/twaalgos/sccfilter.cc,
        spot/twaalgos/sccinfo.cc, spot/twaalgos/sccinfo.hh,
        spot/twaalgos/se05.cc, spot/twaalgos/sepsets.cc,
        spot/twaalgos/simulation.cc, spot/twaalgos/strength.cc,
        spot/twaalgos/stripacc.cc, spot/twaalgos/stutter.cc,
        spot/twaalgos/sum.cc, spot/twaalgos/tau03.cc,
        spot/twaalgos/tau03opt.cc, spot/twaalgos/totgba.cc,
        spot/twaalgos/toweak.cc, python/spot/impl.i, tests/core/acc.cc,
        tests/core/twagraph.cc: do not confuse mark_t and unsigned
      * tests/python/acc_cond.ipynb: warn about possible change of the API
      b09c293f
  16. 17 Feb, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      fix tra_to_tba() · e42fea09
      Alexandre Duret-Lutz authored
      Fixes #324, reported by Tobias Meggendorfer and František Blahoudek.
      
      * spot/twa/acc.hh (rs_pairs_view::paired_with): Rename as...
      (rs_pairs_view::paired_with_fin):... this and adjust the code.
      * spot/twaalgos/remfin.cc: Use paired_with_fin instead of
      paired_with, and do it once per pair.
      * tests/core/remfin.test: Add a test case.
      * NEWS: Mention the issue.
      e42fea09
  17. 09 Jan, 2018 1 commit
    • Alexandre Duret-Lutz's avatar
      mark custom hash functions as noexcept · 31387e8f
      Alexandre Duret-Lutz authored
      * spot/misc/bitvect.cc, spot/misc/bitvect.hh, spot/misc/hash.hh,
      spot/twa/acc.hh, spot/twaalgos/cobuchi.cc, spot/twaalgos/degen.cc,
      spot/twaalgos/determinize.cc, spot/twaalgos/parity.cc,
      spot/twaalgos/powerset.cc, spot/twaalgos/product.cc,
      spot/twaalgos/stutter.cc, spot/twaalgos/totgba.cc,
      spot/twaalgos/toweak.cc: Mark hash function as noexcept to please GCC
      snapshot.
      31387e8f
  18. 04 Nov, 2017 2 commits
    • Alexandre Duret-Lutz's avatar
      autfilt: introduce --acceptance-is · 62302b60
      Alexandre Duret-Lutz authored
      Fixes #288.
      
      * bin/autfilt.cc: Implement it.
      * spot/twa/acc.cc, spot/twa/acc.hh: Add
      acc_cond::is_generalized_streett, acc_cond::operator==, and
      acc_cond::operator!=.
      * tests/core/randaut.test: Add some tests.
      * NEWS: Mention it.
      62302b60
    • Alexandre Duret-Lutz's avatar
      acc: introduce acc_cond::name() · bd39edde
      Alexandre Duret-Lutz authored
      * spot/twa/acc.cc, spot/twa/acc.hh (acc_cond::name): New method.
      * spot/twaalgos/dot.cc: Use it.
      * tests/python/acc_cond.ipynb: Add a small test.
      * NEWS: Mention it.
      bd39edde
  19. 19 Oct, 2017 1 commit
  20. 29 Sep, 2017 1 commit
  21. 26 Sep, 2017 1 commit
  22. 19 Sep, 2017 1 commit
  23. 31 Aug, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      dot: add x option for dot2tex · fbb9e437
      Alexandre Duret-Lutz authored
      * spot/twa/acc.cc, spot/twa/acc.hh: Add a LaTeX output for acceptance
      conditions.
      * spot/twaalgos/dot.cc: Implement the 'x' option and refactor the code
      a bit to limit duplication.
      * tests/core/dot2tex.test: New test case (requires dot2tex).
      * tests/Makefile.am: Add dot2tex.test.
      * tests/core/alternating.test, tests/core/readsave.test,
      tests/python/automata-io.ipynb: Adjust expected output.
      * NEWS, doc/org/oaut.org: Mention the new option.
      fbb9e437
  24. 28 Aug, 2017 1 commit
    • Maximilien Colange's avatar
      Typos · eb91ecf6
      Maximilien Colange authored
      * NEWS, doc/org/concepts.org, doc/org/hierarchy.org,
        spot/misc/optionmap.hh, spot/twa/acc.hh, spot/twaalgos/ltl2tgba_fm.hh,
        spot/twaalgos/sccinfo.hh, spot/twaalgos/translate.cc: fix typos
      eb91ecf6
  25. 17 Aug, 2017 1 commit
  26. 25 Jul, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      acc: make &= and |= symmetrical · abe2c08b
      Alexandre Duret-Lutz authored
      Operator &= used to always move Fin to the front, it does not anymore.
      The only thing it does now is to merge Inf(x)&Inf(y) as Inf({x,y}).
      Operator |= is now symmetrical and merges Fin()s.
      
      Fixes #253.
      
      * spot/twa/acc.cc, spot/twa/acc.hh: Simplify &= and make |= symmetrical.
      * spot/twaalgos/cleanacc.cc: Fix conjunction order.
      * tests/core/acc.test, tests/core/acc2.test, tests/core/parseaut.test,
      tests/core/readsave.test, tests/core/satmin2.test,
      tests/core/sccdot.test, tests/python/acc_cond.ipynb,
      tests/python/accparse.ipynb, tests/python/automata.ipynb,
      tests/python/product.ipynb, tests/python/randaut.ipynb: Adjust test
      cases.
      abe2c08b
  27. 17 Jul, 2017 1 commit
  28. 08 Jun, 2017 1 commit
  29. 31 May, 2017 1 commit
  30. 21 Apr, 2017 1 commit
    • Thomas Medioni's avatar
      Implements is_streett_like() and streett_like_pairs(), is_rabin_like... · b428ed31
      Thomas Medioni authored
      Adds the method spot::acc_cond::is_streett_like() that behaves like
      spot::acc_cond::is_streett() except that it works on a wider range
      of acceptance conditions, called Streett-like. Also adds
      spot::acc_cond::streett_like_pairs() that returns a boolean assessing
      whether the acceptance condition is Streett-like and also returns all
      the Streett_like pairs.
      Defines the new struct type spot::acc_cond::rs_pair.
      Similarily, Adds the methods spot::acc_cond::is_rabin_like() and
      spot::acc_cond::rabin_like_pairs().
      
      * NEWS: Mention this modification
      * python/spot/impl.i: Declares the new struct to SWIG, and defines
      the streett_like_pairs() vector as an output parameter, which makes
      the python code return a tuple (boolean, vector) rather than a
      pass-by-reference vector.
      * spot/twa/acc.cc, spot/twa/acc.hh: Declares an implements the new
      methods and the new nested struct.
      * tests/Makefile.am: Add new tests to the suite
      * tests/python/rs_like.py: Tests the new methods and
      the SWIG bindings.
      b428ed31
  31. 20 Apr, 2017 1 commit
    • Thomas Medioni's avatar
      mark_t: sets() no longer returns a vector · cc3bdfcd
      Thomas Medioni authored
      spot::mark_t::sets() was modified so that it now returns an iterable
      object rather than an std::vector<unsigned>.
      
      * NEWS: Mention the modification.
      * python/spot/impl.i: Declares mark_container as iterable to SWIG.
      * spot/parseaut/parseaut.yy: Adapts to the modification.
      * spot/twa/acc.hh: Implement the modification.
      * tests/python/acc_cond.ipynb: Adapts to the modification.
      cc3bdfcd
  32. 03 Mar, 2017 1 commit
  33. 02 Mar, 2017 1 commit