1. 26 Jan, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      ltsmin: implement a two-step loading · 907b72fb
      Alexandre Duret-Lutz authored
      * spot/ltsmin/ltsmin.cc, spot/ltsmin/ltsmin.hh: Split load_ltsmin() into
      ltsmin_model::load() and ltsmin_model::kripke().  Report errors using
      exceptions instead of on std::cerr.
      * python/spot/ltsmin.i: Deal with exceptions.
      * tests/ltsmin/modelcheck.cc, tests/python/ltsmin.ipynb: Adjust.
      907b72fb
  2. 23 Jan, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      product: raise an exception if the dict are different · c4e9083f
      Alexandre Duret-Lutz authored
      Fixes #132.
      
      * python/spot.py (translate): Allow changing the dictionary.
      * tests/python/prodexpt.py: New file.
      * tests/Makefile.am: Add it.
      * spot/twa/twaproduct.cc, spot/twaalgos/product.cc: Add them.
      * NEWS: Mention the change.
      c4e9083f
    • Alexandre Duret-Lutz's avatar
      org: Add a Concepts page. · 78fd7bea
      Alexandre Duret-Lutz authored
      * doc/org/concepts.org: New file.
      * doc/Makefile.am: Add it.
      * doc/org/oaut.org: Add anchor.
      * doc/org/index.org, doc/org/tut.org: Add links to concepts.org.
      * doc/org/spot.css: Set up boxes for implementation details.
      * NEWS: Mention the new page.
      78fd7bea
  3. 15 Jan, 2016 3 commits
  4. 14 Jan, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      fix complete · 51483b9b
      Alexandre Duret-Lutz authored
      Alexandre Lewkowicz reported a case where complete() would peek an
      existing state that is accepting, and wrongly use it as a sink.
      
      * spot/twaalgos/complete.cc: Fix the function.
      * tests/core/complete.test: Add two more tests.
      * NEWS: Mention the bug.
      51483b9b
    • Alexandre Duret-Lutz's avatar
      parseaut: add support for negated properties · 6c62362f
      Alexandre Duret-Lutz authored
      * spot/parseaut/parseaut.yy: Here.
      * tests/core/parseaut.test: Test it.
      * NEWS: Mention it.
      6c62362f
  5. 13 Jan, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      twa: store property bits as trivals · da391492
      Alexandre Duret-Lutz authored
      * spot/twa/twa.hh: Store property bits as trivals.
      * NEWS: Mention the change.
      * spot/parseaut/parseaut.yy, spot/twaalgos/are_isomorphic.cc,
      spot/twaalgos/complete.cc, spot/twaalgos/dot.cc, spot/twaalgos/hoa.cc,
      spot/twaalgos/isdet.cc, spot/twaalgos/isunamb.cc, spot/twaalgos/lbtt.cc,
      spot/twaalgos/ltl2tgba_fm.cc, spot/twaalgos/postproc.cc,
      spot/twaalgos/remfin.cc, spot/twaalgos/strength.cc,
      spot/twaalgos/stutter.cc, spot/twaalgos/stutter.hh,
      spot/twaalgos/totgba.cc, tests/core/ikwiad.cc,
      tests/python/product.ipynb, tests/python/remfin.py: Adjust.
      * doc/org/hoa.org, doc/org/tut21.org: Update documentation.
      da391492
  6. 12 Jan, 2016 1 commit
  7. 10 Jan, 2016 1 commit
  8. 08 Jan, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: make HOA the default output · d0b38156
      Alexandre Duret-Lutz authored
      * bin/common_aoutput.cc: Make HOA the default output.
      * NEWS: Mention this.
      * doc/org/autfilt.org, doc/org/dstar2tgba.org, doc/org/hoa.org,
      doc/org/ltl2tgba.org, doc/org/ltl2tgta.org, doc/org/ltlcross.org,
      doc/org/ltldo.org, doc/org/oaut.org, doc/org/randaut.org,
      doc/org/satmin.org, doc/org/tut02.org, doc/org/tut03.org,
      doc/org/tut20.org, doc/org/tut21.org, doc/org/tut30.org,
      tests/core/dstar.test, tests/core/ltldo2.test, tests/core/monitor.test,
      tests/python/piperead.ipynb: Adjust.
      d0b38156
  9. 06 Jan, 2016 3 commits
    • Alexandre Duret-Lutz's avatar
      bin: add support for SPOT_DEFAULT_FORMAT · 9d6727da
      Alexandre Duret-Lutz authored
      * bin/common_aoutput.cc, bin/common_aoutput.hh, bin/common_setup.cc:
      Implement it.
      * NEWS, bin/man/spot-x.x: Document it.
      * tests/core/readsave.test: Test it.
      9d6727da
    • Alexandre Duret-Lutz's avatar
      bin: add -d as a shorthand for --dot · cca2022e
      Alexandre Duret-Lutz authored
      * bin/common_aoutput.cc: Here.
      * NEWS, doc/org/oaut.org: Mention it.
      * tests/core/readsave.test: Use it once.
      cca2022e
    • Alexandre Duret-Lutz's avatar
      randaut: rename -d as -e · ea5f52dd
      Alexandre Duret-Lutz authored
      This is so that we can have -d as an alias for --dot everywhere.
      
      * bin/randaut.cc: Rename -d as -e.
      * NEWS: Mention the change.
      * doc/org/autfilt.org, doc/org/oaut.org, doc/org/randaut.org,
      tests/core/parseaut.test, tests/core/readsave.test: Adjust.
      ea5f52dd
  10. 05 Jan, 2016 1 commit
  11. 25 Dec, 2015 1 commit
    • 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
  12. 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
  13. 18 Dec, 2015 1 commit
    • 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
  14. 17 Dec, 2015 1 commit
    • 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
  15. 16 Dec, 2015 1 commit
    • 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
  16. 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
  17. 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
  18. 09 Dec, 2015 1 commit
    • 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
  19. 08 Dec, 2015 1 commit
    • 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
  20. 07 Dec, 2015 1 commit
    • 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
  21. 05 Dec, 2015 1 commit
  22. 04 Dec, 2015 4 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
  23. 03 Dec, 2015 1 commit
  24. 02 Dec, 2015 1 commit
  25. 01 Dec, 2015 1 commit
  26. 28 Nov, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      rewrite explicit Kripke structures and their parser · afbaa54d
      Alexandre Duret-Lutz authored
      Fixes #4 and fixes #5.
      
      * NEWS: Mention the change.
      * src/kripkeparse/: Delete.
      * README, src/Makefile.am, configure.ac: Adjust.
      * src/kripke/kripkeexplicit.cc, src/kripke/kripkeexplicit.hh,
      src/kripke/kripkeprint.cc, src/kripke/kripkeprint.hh: Delete.
      * src/kripke/kripkegraph.hh: New file.
      * src/kripke/Makefile.am: Adjust.
      * src/parseaut/parseaut.yy, src/parseaut/public.hh: Add
      an option to read kripke structures.
      * src/tests/bad_parsing.test: Delete.
      * src/tests/Makefile.am: Adjust.
      * src/tests/kripke.test, src/tests/parse_print_test.cc: Rewrite.
      * src/tests/ikwiad.cc, src/tests/parseaut.test,
      iface/ltsmin/modelcheck.cc, wrap/python/spot_impl.i: Adjust.
      afbaa54d
    • Alexandre Duret-Lutz's avatar
      print_hoa: add option "k" · 745fda1a
      Alexandre Duret-Lutz authored
      * src/twaalgos/hoa.cc, src/twaalgos/hoa.hh: Implement it.
      * NEWS, doc/org/hoa.org, src/bin/common_aoutput.cc: Document it.
      * src/tests/readsave.test: Test it.
      745fda1a
  27. 24 Nov, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      dtwa_sat_minimize: better selection of the reference automaton · a825fa91
      Alexandre Duret-Lutz authored
      * src/twaalgos/dtwasat.cc: Choose the reference automaton based on its
      size.  With this change, the last example of my LPAR'15 talk goes from
      ~7s to under 1s.
      * NEWS: Mention it.
      a825fa91
    • Alexandre Duret-Lutz's avatar
      sat: rename dtgbasat as dtwasat · a5ca9dbc
      Alexandre Duret-Lutz authored
      * src/twaalgos/dtgbasat.cc, src/twaalgos/dtgbasat.hh: Rename as...
      * src/twaalgos/dtwasat.cc, src/twaalgos/dtwasat.hh: ... these.
      * src/bin/autfilt.cc, src/tests/ikwiad.cc, src/twaalgos/Makefile.am,
      src/twaalgos/postproc.cc, wrap/python/spot_impl.i: Adjust.
      * NEWS: Mention the renamings.
      a5ca9dbc
  28. 17 Nov, 2015 1 commit