1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 05 Dec, 2015 1 commit
  10. 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
  11. 03 Dec, 2015 1 commit
  12. 02 Dec, 2015 1 commit
  13. 01 Dec, 2015 1 commit
  14. 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
  15. 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
  16. 17 Nov, 2015 1 commit
  17. 14 Nov, 2015 2 commits
  18. 13 Nov, 2015 1 commit
  19. 11 Nov, 2015 1 commit
  20. 08 Nov, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      Add a notebook illustrating decompose_strength() · 104a372c
      Alexandre Duret-Lutz authored
      * wrap/python/tests/decompose.ipynb: New file.
      * wrap/python/tests/Makefile.am: Add it.
      * src/twaalgos/strength.cc: Fix corner cases.
      * src/tests/strength.test: Adjust corner case.
      * NEWS, doc/org/tut.org: Mention the notebook.
      104a372c
    • Alexandre Duret-Lutz's avatar
      Add a decompose_strength() function. · a7db0b54
      Alexandre Duret-Lutz authored
      * src/twaalgos/strength.cc, src/twaalgos/strength.hh
      (decompose_stregth): New function.
      * src/bin/autfilt.cc: Add a --decompose-strength option.
      * src/bin/man/autfilt.x: Add bibliography.
      * src/tests/strength.test: Test it.
      * NEWS: Mention it.
      a7db0b54
  21. 07 Nov, 2015 4 commits
    • Alexandre Duret-Lutz's avatar
      Add support for --check=strength · 3428fb32
      Alexandre Duret-Lutz authored
      * src/twaalgos/strength.cc, src/twaalgos/strength.hh (check_strength):
      New function.
      * src/bin/common_aoutput.cc: Add --check=strength.
      * src/tests/strength.test: New file.
      * src/tests/Makefile.am: Add it.
      * doc/org/hoa.org, NEWS: Document it.
      3428fb32
    • Alexandre Duret-Lutz's avatar
      autfilt: Add --is-terminal and --is-weak. · f4cf0f40
      Alexandre Duret-Lutz authored
      Fixes #47.
      
      * src/twaalgos/strength.cc, src/twaalgos/strength.hh
      (is_weak_automaton): New function.
      (is_terminal_automaton): Generalize slightly.
      * src/bin/autfilt.cc: Add options --is-terminal and --is-weak.
      * src/tests/readsave.test: Add a test.
      * NEWS: Update.
      f4cf0f40
    • Alexandre Duret-Lutz's avatar
      rename is_guarantee_automaton() as is_terminal_automaton() · 8a8ec21d
      Alexandre Duret-Lutz authored
      * src/twaalgos/safety.hh, src/twaalgos/safety.cc: Here.
      * src/bin/ltlfilt.cc, src/tests/ikwiad.cc, src/twaalgos/minimize.cc,
      wrap/python/ajax/spotcgi.in: Adjust.
      * NEWS: Mention the change.
      8a8ec21d
    • Alexandre Duret-Lutz's avatar
      add support for the "terminal" property · 0c5f87b4
      Alexandre Duret-Lutz authored
      * src/twa/twa.hh: Store the terminal property.
      * src/twaalgos/hoa.cc, src/parseaut/parseaut.yy: Add I/O for "terminal".
      * src/twaalgos/ltl2tgba_fm.cc, src/twaalgos/minimize.cc: Set terminal
      as apropriate.
      * src/twaalgos/safety.cc: Use it.
      * doc/org/tut21.org, doc/org/hoa.org, NEWS: Document it.
      * src/tests/complement.test, src/tests/monitor.test,
      wrap/python/tests/automata-io.ipynb: Adjust.
      0c5f87b4
  22. 06 Nov, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      add support for the weak property · 65488871
      Alexandre Duret-Lutz authored
      This fixes #119.
      
      * doc/org/tut21.org, doc/org/hoa.org, NEWS: Document it.
      * src/twa/twa.hh: Support it in automata.
      * src/twaalgos/hoa.cc, src/parseaut/parseaut.yy: Add I/O support.
      * src/twaalgos/minimize.cc, src/twaalgos/totgba.cc: Set weak
      automata on output.
      * src/tests/complement.test, src/tests/parseaut.test,
      src/tests/readsave.test, src/tests/remfin.test, src/tests/sccsimpl.test,
      src/tests/wdba2.test, wrap/python/tests/automata-io.ipynb: Adjust.
      65488871
  23. 05 Nov, 2015 3 commits
    • Alexandre Duret-Lutz's avatar
      hoa: output "unambiguous" only for non-deterministic automata by default · 33c234da
      Alexandre Duret-Lutz authored
      * src/twaalgos/hoa.cc: Output do not output "unambiguous" if the
      automaton is deterministic.  Add option "v" to cancel this restriction,
      and also output "no-univ-branch".
      * src/twaalgos/hoa.hh: Document the "v" option.
      * src/tests/readsave.test: Test it.
      * src/tests/unambig.test: Adjust for unambiguous not being output
      if the automaton is deterministic.
      * src/bin/common_aoutput.cc, NEWS: Document it.
      * doc/org/hoa.org: Add a summary table about how properties are handled.
      * src/twa/twa.hh (prop_deterministic): Setting this should also
      set the unambiguous property.
      * src/twaalgos/isunamb.cc: Simplify the property check.
      33c234da
    • Alexandre Duret-Lutz's avatar
      python: add binding for is_unambiguous · 19cd2cda
      Alexandre Duret-Lutz authored
      Fixes #117.
      
      * wrap/python/spot.py, wrap/python/spot_impl.i: Add binding.
      * wrap/python/tests/remfin.py: Add a small test case.
      * NEWS: Mention it.
      19cd2cda
    • Alexandre Duret-Lutz's avatar
      twa: rename the is_* getters as prop_* · cbb2e64e
      Alexandre Duret-Lutz authored
      This fixes #116.
      
      * src/twa/twa.hh: Rename those methods.
      * NEWS: Document the renamings.
      * doc/org/hoa.org, doc/org/tut21.org, src/parseaut/parseaut.yy,
      src/tests/ikwiad.cc, src/twa/twagraph.hh,
      src/twaalgos/are_isomorphic.cc, src/twaalgos/complete.cc,
      src/twaalgos/degen.cc, src/twaalgos/dot.cc, src/twaalgos/dtbasat.cc,
      src/twaalgos/dtgbasat.cc, src/twaalgos/hoa.cc, src/twaalgos/isdet.cc,
      src/twaalgos/isunamb.cc, src/twaalgos/lbtt.cc,
      src/twaalgos/minimize.cc, src/twaalgos/postproc.cc,
      src/twaalgos/product.cc, src/twaalgos/randomgraph.cc,
      src/twaalgos/remfin.cc, src/twaalgos/sbacc.cc,
      src/twaalgos/simulation.cc, src/twaalgos/stutter.cc,
      src/twaalgos/totgba.cc: Adjust.
      cbb2e64e
  24. 04 Nov, 2015 1 commit
  25. 03 Nov, 2015 2 commits
  26. 28 Oct, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      twa_succ_iterator: rename accessors · f6af2a84
      Alexandre Duret-Lutz authored
      * src/twa/twa.hh, src/ta/ta.hh (current_state,
      current_acceptance_conditions, current_condition): Rename as...
      (dst, acc, cond): ... these.
      * iface/ltsmin/ltsmin.cc, src/kripke/fairkripke.cc,
      src/kripke/fairkripke.hh, src/kripke/kripke.cc,
      src/kripke/kripke.hh, src/kripke/kripkeexplicit.cc,
      src/kripke/kripkeexplicit.hh, src/kripke/kripkeprint.cc,
      src/ta/taexplicit.cc, src/ta/taexplicit.hh, src/ta/taproduct.cc,
      src/ta/taproduct.hh, src/ta/tgtaproduct.cc, src/ta/tgtaproduct.hh,
      src/taalgos/dot.cc, src/taalgos/emptinessta.cc,
      src/taalgos/minimize.cc, src/taalgos/reachiter.cc,
      src/taalgos/tgba2ta.cc, src/twa/taatgba.cc, src/twa/taatgba.hh,
      src/twa/twagraph.hh, src/twa/twaproduct.cc,
      src/twa/twasafracomplement.cc, src/twaalgos/bfssteps.cc,
      src/twaalgos/bfssteps.hh, src/twaalgos/compsusp.cc,
      src/twaalgos/copy.cc, src/twaalgos/emptiness.cc,
      src/twaalgos/gtec/gtec.cc, src/twaalgos/gv04.cc,
      src/twaalgos/lbtt.cc, src/twaalgos/ltl2tgba_fm.cc,
      src/twaalgos/magic.cc, src/twaalgos/minimize.cc,
      src/twaalgos/ndfs_result.hxx, src/twaalgos/reachiter.cc,
      src/twaalgos/se05.cc, src/twaalgos/stats.cc,
      src/twaalgos/stutter.cc, src/twaalgos/tau03.cc,
      src/twaalgos/tau03opt.cc, wrap/python/tests/interdep.py: Adjust.
      * NEWS: Mention the renamings.
      f6af2a84
  27. 26 Oct, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      parse_aut: simplify the interface · dee73ee3
      Alexandre Duret-Lutz authored
      * src/parseaut/public.hh, src/parseaut/parseaut.yy,
      src/parseaut/fmterror.cc: Add a raise_errors options.  Remove the
      parse_strict() method.  Store parse errors and filename in the output
      parsed_aut to simplify usage.
      * doc/org/tut20.org, doc/org/tut21.org, doc/org/tut30.org,
      src/bin/autfilt.cc, src/bin/common_hoaread.cc, src/bin/dstar2tgba.cc,
      src/bin/ltlcross.cc, src/bin/ltldo.cc, src/tests/complementation.cc,
      src/tests/ikwiad.cc, src/tests/ltlcross3.test, src/tests/ltldo.test,
      wrap/python/spot.py, wrap/python/tests/parsetgba.py: Adjust usage.
      * NEWS: Mention the changes.
      dee73ee3