1. 05 Jan, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      move ltsmin tests to tests/ltsmin/ · ddc424f5
      Alexandre Duret-Lutz authored
      * spot/ltsmin/defs.in: Delete.
      * spot/ltsmin/README, spot/ltsmin/beem-peterson.4.dve,
      spot/ltsmin/check.test, spot/ltsmin/elevator2.1.pm,
      spot/ltsmin/finite.dve, spot/ltsmin/finite.pm, spot/ltsmin/finite.test,
      spot/ltsmin/finite2.test, spot/ltsmin/kripke.test,
      spot/ltsmin/modelcheck.cc: Move...
      * tests/ltsmin/: ... here.
      * spot/ltsmin/README: Point to tests/ltsmin/README.
      * README, configure.ac, spot/ltsmin/Makefile.am, tests/.gitignore,
      tests/Makefile.am, tests/core/defs.in: Adjust.
      ddc424f5
    • Alexandre Duret-Lutz's avatar
      7e6bfd0e
  2. 04 Jan, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      Merge the core and python tests in the tests/ directory · 5cb94a1a
      Alexandre Duret-Lutz authored
      * tests/: Rename as...
      * tests/core/: ... this.
      * python/tests/: Rename as...
      * tests/python/: ... this.
      * python/tests/run.in: Move as...
      * tests/run.in: This, and adjust.
      * tests/Makefile.am: Adjust to run both core and python tests.
      * configure.ac, README, debian/python3-spot.examples, debian/rules,
      doc/org/tut.org, python/Makefile.am, spot/ltsmin/Makefile.am,
      spot/ltsmin/kripke.test, spot/sanity/ipynb.test: Adjust.
      5cb94a1a
  3. 28 Dec, 2015 1 commit
  4. 27 Dec, 2015 2 commits
  5. 26 Dec, 2015 1 commit
  6. 25 Dec, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      Move spot-if/ltsmin/ to spot/ltsmin/ · 6fb4df43
      Alexandre Duret-Lutz authored
      * spot-if/ltsmin/: Rename as...
      * spot/ltsmin/: ... this.
      * spot-if/: Delete.
      * Makefile.am, NEWS, README, configure.ac, debian/libspot-dev.install,
      doc/Doxyfile.in, spot/Makefile.am, spot/sanity/80columns.test,
      spot/sanity/style.test: Adjust.
      6fb4df43
    • Alexandre Duret-Lutz's avatar
      rename wrap/python/ to python/ · 34c3c1ce
      Alexandre Duret-Lutz authored
      * wrap/python/: Rename to...
      * python/: ... this.
      * wrap/: Delete.
      * Makefile.am, README, configure.ac, debian/python3-spot.examples,
      debian/rules, doc/org/.dir-locals.el.in, doc/org/init.el.in,
      spot/sanity/ipynb.test: Adjust.
      34c3c1ce
  7. 24 Dec, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      show how to implement product in Python · 74ec9c54
      Alexandre Duret-Lutz authored
      * wrap/python/tests/product.ipynb: New file.
      * wrap/python/tests/Makefile.am, doc/org/tut.org: Add it.
      * wrap/python/tests/ipnbdoctest.py: Ignore %timeit results.
      * wrap/python/spot_impl.i: Add bindings for
      set_state_names()/get_state_names().
      * spot/twaalgos/product.cc: Fix computation of properties.
      * doc/org/hoa.org: Name.
      * NEWS: Update.
      74ec9c54
    • Alexandre Duret-Lutz's avatar
      twa: fix duplicate propositions in ap() · ad37cacb
      Alexandre Duret-Lutz authored
      Calling register_ap() with same atomic proposition several time, for
      instance via copy_ap() in a product, would create duplicate atomic
      propositions.  This fix will be exercised by the next patch.
      
      * spot/twa/twa.hh: Here.
      * spot/twaalgos/compsusp.cc, spot/twaalgos/ltl2taa.cc: Fix
      to correctly register atomic propositions.
      * NEWS: Mention it.
      ad37cacb
  8. 18 Dec, 2015 5 commits
    • Alexandre Duret-Lutz's avatar
      acc_cond: get rid of generalized_buchi() · fbf5ac0e
      Alexandre Duret-Lutz authored
      It is already in acc_cond::acc_code::generalized_buchi() along with all
      other acceptance condition constructors.
      
      * spot/twa/acc.hh (acc_cond::generalized_buchi): Remove.
      * spot/tests/ikwiad.cc, spot/twaalgos/postproc.cc: Adjust.
      fbf5ac0e
    • Alexandre Duret-Lutz's avatar
      acc_code: parse from the constructor · df1ef302
      Alexandre Duret-Lutz authored
      * spot/twa/acc.hh, spot/twa/acc.cc (parse_acc_code): Rename as...
      (acc_cond::acc_code): ... this, making it a lot easier to build
      acceptance conditions from strings.
      * NEWS: Mention the change.
      * spot/twaalgos/dtwasat.cc, spot/bin/randaut.cc, spot/tests/acc.cc:
      Adjust.
      * wrap/python/tests/acc_cond.ipynb, wrap/python/tests/accparse.ipynb,
      wrap/python/tests/accparse2.py: Simplify, but not completely to exercise
      all variants.
      * wrap/python/spot_impl.i: Make acc_code's constructor implicit.
      df1ef302
    • Alexandre Duret-Lutz's avatar
      acc_cond: allow ctor from acc_code only + bind unsat_mark() · d0b29051
      Alexandre Duret-Lutz authored
      * spot/twa/acc.hh: Here.
      * wrap/python/spot_impl.i: Adjust for the strange return type of
      unsat_mark().
      * wrap/python/tests/acc_cond.ipynb: Augment.
      d0b29051
    • Alexandre Duret-Lutz's avatar
      python: better swig options · b893b559
      Alexandre Duret-Lutz authored
      * wrap/python/Makefile.am: Use more modern swig flags.
      b893b559
    • Alexandre Duret-Lutz's avatar
      python: better binding for is_parity() · 15131e74
      Alexandre Duret-Lutz authored
      * wrap/python/spot_impl.i: Here.
      * wrap/python/tests/acc_cond.ipynb: Document it.
      * spot/twa/acc.cc (is_parity): Always initialize max.
      15131e74
  9. 17 Dec, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      acc: get rid of join() · fd6ad991
      Alexandre Duret-Lutz authored
      * spot/twa/acc.hh: Here.  Also make sure << takes an unsigned
      argument.
      * spot/twa/twaproduct.cc, spot/twaalgos/compsusp.cc,
      spot/twaalgos/product.cc, spot/twaalgos/remfin.cc,
      spot/twaalgos/totgba.cc, spot/tests/acc.cc: Adjust.
      fd6ad991
    • Alexandre Duret-Lutz's avatar
      acc_cond: rename is_tt/is_ff as is_t/is_f and add printer · 94cca9de
      Alexandre Duret-Lutz authored
      * spot/twa/acc.cc, spot/twa/acc.hh: Here.
      * spot/parseaut/parseaut.yy, spot/twa/acc.hh,
      spot/twaalgos/gtec/gtec.cc, spot/twaalgos/hoa.cc,
      spot/twaalgos/neverclaim.cc, spot/twaalgos/product.cc,
      spot/twaalgos/remfin.cc, spot/twaalgos/strength.cc: Adjust.
      * NEWS: Mention the changes.
      * wrap/python/spot_impl.i: Bind acc_cond the printer.
      * wrap/python/tests/acc_cond.ipynb: Add more examples.
      94cca9de
  10. 16 Dec, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      python: add some doc & tests for the acceptance bindings · 2927cf38
      Alexandre Duret-Lutz authored
      * wrap/python/tests/acc_cond.ipynb: New file.
      * wrap/python/tests/Makefile.am, doc/org/tut.org: Add it.
      * wrap/python/spot_impl.i: Add printer for acc_cond::mark_t.
      2927cf38
    • Alexandre Duret-Lutz's avatar
      acc: simplify interface using operators · 4993e807
      Alexandre Duret-Lutz authored
      * spot/twa/acc.hh, spot/twa/acc.cc: Here.  Also remove
      some redundant functions.
      * spot/parseaut/parseaut.yy, spot/priv/accmap.hh, spot/tests/acc.cc,
      spot/tests/twagraph.cc, spot/twa/taatgba.hh, spot/twa/twaproduct.cc,
      spot/twaalgos/dtwasat.cc, spot/twaalgos/hoa.cc, spot/twaalgos/lbtt.cc,
      spot/twaalgos/ltl2tgba_fm.cc, spot/twaalgos/product.cc,
      spot/twaalgos/remfin.cc, spot/twaalgos/simulation.cc,
      spot/twaalgos/tau03opt.cc, spot/twaalgos/weight.cc,
      spot/twaalgos/weight.hh: Adjust.
      * NEWS: Mention the changes.
      4993e807
  11. 15 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      python: port the tut22.org example to Python · c39d35d0
      Alexandre Duret-Lutz authored
      * wrap/python/spot_impl.i: Extend acc_cond::mark_t to with a constructor
      that takes a vector.
      * doc/org/tut22.org: Add a Python version.
      * doc/org/tut.org: Adjust the list, we don't have any C++-specific
      example.
      * NEWS: Mention it.
      c39d35d0
  12. 14 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      python: allow iterating over the successors of a state · 9313222e
      Alexandre Duret-Lutz authored
      Fixes #118.
      
      * spot/twa/twagraph.hh: Avoid using graph_t::state to help Swig.
      * wrap/python/spot_impl.i: Add a __str__ function for acc_cond::mark_t.
      * doc/org/tut21.org: Add the Python version.
      * doc/org/tut.org: Move tut21.org to the Python/C++ section.
      * NEWS: Update.
      9313222e
  13. 11 Dec, 2015 2 commits
  14. 10 Dec, 2015 1 commit
  15. 09 Dec, 2015 3 commits
    • Alexandre Duret-Lutz's avatar
      speed up equivalence check for LTL formulas · 679be1d7
      Alexandre Duret-Lutz authored
      With this patch reduc.test goes from 4:57 down to 4:06 on my laptop.
      
      * spot/tl/contain.cc (equal): Use are_isomorphic() before testing
      for containment.
      * spot/twaalgos/are_isomorphic.hh, spot/twaalgos/are_isomorphic.cc:
      (are_isomorphic): New static method.
      679be1d7
    • Alexandre Duret-Lutz's avatar
      decompose_strength: work with inherently weak SCCs · 2e15ed95
      Alexandre Duret-Lutz authored
      * wrap/python/tests/decompose.ipynb: Adjust text.
      * spot/twaalgos/strength.hh, spot/twaalgos/strength.cc:
      Adjust to extract inherently weak SCCs instead of weak SCCs.  This gets
      rids of the special handling for the "corner cases".
      * spot/tests/strength.test: Adjust.
      * NEWS: Mention it.
      2e15ed95
    • Alexandre Duret-Lutz's avatar
      acc: move unsat_mark in acc_cond · 9bbcf85b
      Alexandre Duret-Lutz authored
      so that we can optimize it when no Fin are used
      
      * spot/twa/acc.cc, spot/twa/acc.hh: Do it.
      * spot/twaalgos/complete.cc, spot/twaalgos/strength.cc: Adjust.
      9bbcf85b
  16. 08 Dec, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      org: update Spot description on index page · 2d3e7cec
      Alexandre Duret-Lutz authored
      * doc/org/index.org: Here.
      2d3e7cec
    • Alexandre Duret-Lutz's avatar
      introduce is_inherently_weak_automaton() · 1f2260f9
      Alexandre Duret-Lutz authored
      * spot/twaalgos/strength.cc, spot/twaalgos/strength.hh
      (is_inherently_weak_automaton): New function.
      (is_type_automaton): Adjust to implement the above and
      set prop_inherently_weak().
      * spot/twaalgos/isweakscc.cc, spot/twaalgos/isweakscc.hh:
      Rewrite is_inherently_weak_scc() to not enumerate cycles.
      * spot/bin/autfilt.cc: Add a --is-inherently-weak option.
      * spot/tests/readsave.test: More tests.
      * spot/tests/strength.test: Adjust expected output.
      * doc/org/hoa.org: Adjust documentation of --check.
      * NEWS: Mention those changes.
      1f2260f9
  17. 07 Dec, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      man: more bibliographic references · 0edb2ad0
      Alexandre Duret-Lutz authored
      * spot/bin/man/autfilt.x, spot/bin/man/dstar2tgba.x,
      spot/bin/man/ltlfilt.x: Add more bibliography.
      0edb2ad0
    • Alexandre Duret-Lutz's avatar
      rename iface/ as spot-if/ · b519c7d3
      Alexandre Duret-Lutz authored
      So that instead of having to do
        #incluce <spot/iface/ltsmin/ltsmin.hh>
      for using installed the installed header, and
        #incluce <iface/ltsmin/ltsmin.hh>
      for using the non-installed version, we now do
        #incluce <spot-if/ltsmin/ltsmin.hh>
      in both cases.
      
      * iface/: Rename as...
      * spot-if/: ... this.
      * doc/Doxyfile.in, README, configure.ac, Makefile.am,
      spot/sanity/80columns.test, spot/sanity/style.test: Adjust.
      * NEWS: Mention the change.
      * spot-if/ltsmin/Makefile.am: Install headers in $includedir/spot-if.
      * debian/libspot-dev.install: Distribute that directory as well.
      b519c7d3
  18. 05 Dec, 2015 1 commit
  19. 04 Dec, 2015 5 commits
    • Alexandre Duret-Lutz's avatar
      rename src/ as spot/ and use include <spot/...> · f120dd32
      Alexandre Duret-Lutz authored
      * NEWS: Mention the change.
      * src/: Rename as ...
      * spot/: ... this, adjust all headers to include <spot/...> instead of
      "...", and adjust all Makefile.am to search headers from the top-level
      directory.
      * HACKING: Add conventions about #include.
      * spot/sanity/style.test: Add a few more grep to catch cases
      that do not follow these conventions.
      * .gitignore, Makefile.am, README, bench/stutter/Makefile.am,
      bench/stutter/stutter_invariance_formulas.cc,
      bench/stutter/stutter_invariance_randomgraph.cc, configure.ac,
      debian/rules, doc/Doxyfile.in, doc/Makefile.am,
      doc/org/.dir-locals.el.in, doc/org/g++wrap.in, doc/org/init.el.in,
      doc/org/tut01.org, doc/org/tut02.org, doc/org/tut03.org,
      doc/org/tut10.org, doc/org/tut20.org, doc/org/tut21.org,
      doc/org/tut22.org, doc/org/tut30.org, iface/ltsmin/Makefile.am,
      iface/ltsmin/kripke.test, iface/ltsmin/ltsmin.cc,
      iface/ltsmin/ltsmin.hh, iface/ltsmin/modelcheck.cc,
      wrap/python/Makefile.am, wrap/python/ajax/spotcgi.in,
      wrap/python/spot_impl.i, wrap/python/tests/ltl2tgba.py,
      wrap/python/tests/randgen.py, wrap/python/tests/run.in: Adjust.
      f120dd32
    • Alexandre Duret-Lutz's avatar
      * NEWS: Typo. · 1fddfe60
      Alexandre Duret-Lutz authored
      1fddfe60
    • Alexandre Duret-Lutz's avatar
      47da953c
    • Alexandre Duret-Lutz's avatar
      Release Spot 1.99.6 · af96afac
      Alexandre Duret-Lutz authored
      * NEWS, configure.ac, doc/org/setup.org: Update version and date.
      af96afac
    • Alexandre Duret-Lutz's avatar
  20. 03 Dec, 2015 2 commits