1. 22 Apr, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      genaut: minor fixes and add test case · e4a5bf81
      Alexandre Duret-Lutz authored
      * bin/genaut.cc: Use RANGE instead of N, and document it.
      Output the FORMAT documentation, and fix handling of %F and %L.
      * tests/core/genaut.test: New file.
      * tests/Makefile.am: Add it.
      e4a5bf81
  2. 21 Apr, 2017 3 commits
    • Maximilien Colange's avatar
      Add a genaut binary. · 3c0aecf4
      Maximilien Colange authored
      Similarly to genltl that generates LTL formulas for various classes that
      appear in the literature, genaut generates automata.
      
      * NEWS: Mention the modification.
      * bin/Makefile.am: Build the new binary.
      * bin/genaut.cc: The new binary itself.
      3c0aecf4
    • Maximilien Colange's avatar
      Add a new library to generate formulas and automata. · d90e38eb
      Maximilien Colange authored
      This library, called libspotgen, gathers functions to generate classes
      of automata found in the literature.
      Related to #254.
      
      * NEWS, README: Mention the modification.
      * Makefile.am, debian/control, debian/libspotgen0.install: Build the new
        library in a separate package.
      * spot/gen/automata.hh, spot/gen/automata.cc: Add a family of co-Büchi
        automata.
      * configure.ac, spot/Makefile.am, spot/gen/Makefile.am: Build the new
        library.
      d90e38eb
    • 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
  3. 20 Apr, 2017 3 commits
    • Alexandre Duret-Lutz's avatar
      introduce original-states · 07c2dd3b
      Alexandre Duret-Lutz authored
      * spot/twaalgos/degen.cc, spot/twaalgos/degen.hh,
      spot/twaalgos/mask.hh: Store original states in "original-states"
      properties.
      * spot/twaalgos/dot.cc: Add support for option 'd'.
      * bin/common_aoutput.cc: Document it.
      * doc/org/concepts.org, NEWS: Document "original-states".
      * tests/core/readsave.test: Add some tests.
      07c2dd3b
    • Alexandre Duret-Lutz's avatar
      org: typos · e7797b72
      Alexandre Duret-Lutz authored
      * doc/org/concepts.org: Fix some typos.
      e7797b72
    • 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
  4. 19 Apr, 2017 3 commits
  5. 11 Apr, 2017 3 commits
  6. 08 Apr, 2017 3 commits
  7. 07 Apr, 2017 11 commits
  8. 06 Apr, 2017 1 commit
  9. 05 Apr, 2017 1 commit
  10. 04 Apr, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      remfin: fix a corner case for rabin_to_buchi_maybe · b442d2bb
      Alexandre Duret-Lutz authored
      when fin_alone sets where presents (i.e., not really Rabin condition),
      the rabin_to_buchi_maybe() could fail to notice DBA-typeness.
      
      * spot/twaalgos/remfin.cc: Don't set scc_ba_type to false when
      fin_alone is present.
      * tests/core/remfin.test: Add a test case.
      b442d2bb
  11. 03 Apr, 2017 1 commit
    • Thomas Medioni's avatar
      sum: Fix universal initial state bug · cebc4b00
      Thomas Medioni authored
      * spot/twaalgos/sum.cc: Fix the sum of automatas having universal
        initial transitions.
      * tests/core/explsum.test: Add test case testing the handling of
        universal initial transitions in sum.
      cebc4b00
  12. 31 Mar, 2017 5 commits
    • Thomas Medioni's avatar
      bench: fix stutter bench compiler errors. · 01ee4929
      Thomas Medioni authored
      * NEWS: mention this fix.
      * bench/stutter/stutter_bench.sh, bench/stutter/user.sh: Path to spot
        binaries would include an inexistant src directory.
      * bench/stutter/stutter_invariance_formulas.cc: Add override qualifier
        to satisfy -Wsuggest-override.
      01ee4929
    • Alexandre Duret-Lutz's avatar
      various typos · 1ed6e518
      Alexandre Duret-Lutz authored
      * bench/dtgbasat/gen.py, spot/twaalgos/complement.hh: Fix
      looser->loser and lossing->losing.
      * tests/sanity/style.test: Catch 'an uni[^n]'.
      * spot/ta/ta.hh, spot/taalgos/tgba2ta.cc, spot/taalgos/tgba2ta.hh,
      spot/twa/twagraph.cc, spot/twaalgos/complement.hh,
      spot/twaalgos/sccinfo.cc: Fix various occurences of this pattern.
      1ed6e518
    • Alexandre Duret-Lutz's avatar
      [buddy] Typos in comments · b910330a
      Alexandre Duret-Lutz authored
      * src/kernel.c (bdd_addref): Fix typo documentation.
      * src/bddop.c (bdd_appall, bdd_appallcomp): Likewise.
      b910330a
    • Alexandre Duret-Lutz's avatar
      python: update some incorrect or obsolete code · f5d53e3a
      Alexandre Duret-Lutz authored
      * tests/python/ipnbdoctest.py: Use importlib instead of imp.
      * tests/python/ltlparse.py: Fix invalid escape sequence.
      f5d53e3a
    • Thomas Medioni's avatar
      bench: fix stutter bench compiler errors. · 5f43fec8
      Thomas Medioni authored
      * NEWS: mention this fix.
      * bench/stutter/stutter_bench.sh, bench/stutter/user.sh: Path to spot
        binaries would include an inexistant src directory.
      * bench/stutter/stutter_invariance_formulas.cc: Add override qualifier
        to satisfy -Wsuggest-override.
      5f43fec8
  13. 30 Mar, 2017 2 commits
    • Alexandre Duret-Lutz's avatar
      various typos · be411553
      Alexandre Duret-Lutz authored
      * bench/dtgbasat/gen.py, spot/twaalgos/complement.hh: Fix
      looser->loser and lossing->losing.
      * tests/sanity/style.test: Catch 'an uni[^n]'.
      * spot/ta/ta.hh, spot/taalgos/tgba2ta.cc, spot/taalgos/tgba2ta.hh,
      spot/twa/twagraph.cc, spot/twaalgos/complement.hh,
      spot/twaalgos/sccinfo.cc, spot/twaalgos/sum.hh: Fix various occurences
      of this pattern.
      be411553
    • Alexandre Duret-Lutz's avatar
      [buddy] Typos in comments · 42e5cd95
      Alexandre Duret-Lutz authored
      * src/kernel.c (bdd_addref): Fix typo documentation.
      * src/bddop.c (bdd_appall, bdd_appallcomp): Likewise.
      42e5cd95
  14. 29 Mar, 2017 2 commits