1. 18 Jul, 2016 4 commits
    • Alexandre Duret-Lutz's avatar
      autfilt: add --nondet-states=RANGE · 31a1dfbc
      Alexandre Duret-Lutz authored
      * bin/autfilt.cc: Here.
      * tests/core/det.test: Test it.
      * NEWS: Mention it.
      31a1dfbc
    • Alexandre Duret-Lutz's avatar
      autfilt: add highlighting options for nondeterminism · b6cd54ab
      Alexandre Duret-Lutz authored
      Fixes #123.
      
      * bin/autfilt.cc: Add options --highlight-nondet-states=NUM,
       --highlight-nondet-edges=NUM, and  --highlight-nondet=NUM.
      * spot/twaalgos/isdet.cc,
      spot/twaalgos/isdet.hh (highlight_nondet_states,
      highlight_nondet_edges): New functions.
      * tests/core/det.test: Add test cases.
      * NEWS: Mention them.
      b6cd54ab
    • Alexandre Duret-Lutz's avatar
      highlight: improve support for highlighted edges · 39332fb1
      Alexandre Duret-Lutz authored
      * spot/twa/twa.cc, spot/twa/twa.hh: Add a way to
      remove named properties.
      * spot/twa/twagraph.cc: Clear highlight-edges on operations
      that reorder the edge vector.
      * spot/twaalgos/randomize.cc, spot/twaalgos/randomize.hh:
      Preserve highlighted state, but not highlighted edges.
      * spot/twaalgos/hoa.cc: Adjust output of highlight-edge
      when the edges are not stored in order.
      * tests/core/readsave.test, tests/core/tgbagraph.test,
      tests/core/twagraph.cc: More test cases.
      39332fb1
    • Alexandre Duret-Lutz's avatar
      hoa: output highlighted states and edges in v1.1 · e17a617b
      Alexandre Duret-Lutz authored
      * spot/twaalgos/hoa.cc: Here.
      * doc/org/hoa.org, NEWS: Document that.
      * tests/core/readsave.test: Test it.
      e17a617b
  2. 11 Jul, 2016 3 commits
  3. 07 Jul, 2016 1 commit
  4. 22 Jun, 2016 3 commits
    • Alexandre Duret-Lutz's avatar
      adjust tests to SpinS 1.1 · ed04e2b4
      Alexandre Duret-Lutz authored
      * tests/python/ipnbdoctest.py: Adjust sanitize function.
      * tests/python/ltsmin-pml.ipynb: Adjust expected output.
      ed04e2b4
    • Alexandre Duret-Lutz's avatar
      sat-minimize: check for unused options · e80b443b
      Alexandre Duret-Lutz authored
      Fixes #179.
      
      * spot/twaalgos/dtwasat.cc: Add the check.
      * tests/core/minusx.test: Test it.
      * NEWS: Mention it.
      e80b443b
    • Alexandre Duret-Lutz's avatar
      option_map: Diagnose unused option on request · e419150c
      Alexandre Duret-Lutz authored
      * spot/misc/optionmap.hh, spot/misc/optionmap.cc (report_unused_options,
      set_, set_set_): New methods.
      * bin/autfilt.cc, bin/dstar2tgba.cc, bin/ltl2tgba.cc,
      bin/ltl2tgta.cc: Call report_unused_options().
      * tests/core/ltlcross2.test, tests/core/readsave.test: Fix typos in
      options.
      * tests/core/minusx.test: New file.
      * tests/Makefile.am: Add it.
      * NEWS: Mention this.
      e419150c
  5. 21 Jun, 2016 3 commits
  6. 17 Jun, 2016 2 commits
  7. 14 Jun, 2016 8 commits
  8. 12 Jun, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      python: add a %%pml magic · 272daf62
      Alexandre Duret-Lutz authored
      Fixes #162.
      
      * python/spot/ltsmin.i: Implement the magic.
      * NEWS: Mention it.
      * tests/python/ltsmin-pml.ipynb: New file.
      * tests/Makefile.am, doc/org/tut.org: Add it.
      * tests/python/ipnbdoctest.py: Adjust.
      272daf62
    • Alexandre Duret-Lutz's avatar
      tests: rename ltsmin.ipynb · a7e4395f
      Alexandre Duret-Lutz authored
      * tests/python/ltsmin.ipynb: Rename as ...
      * tests/python/ltsmin-dve.ipynb: ... this.
      * doc/org/tut.org, tests/Makefile.am: Adjust.
      a7e4395f
  9. 08 May, 2016 1 commit
  10. 05 May, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      genltl: add formulas from three papers · b708ab77
      Alexandre Duret-Lutz authored
      Fixes #166.
      
      * bin/genltl.cc: Add option --dac-patterns, --eh-patterns,
      --sb-patterns.
      * NEWS, bin/man/genltl.x, doc/org/genltl.org: Document them.
      * bench/ltl2tgba/formulae.ltl: Delete.
      * bench/ltl2tgba/known: Use genltl instead.
      * bench/ltl2tgba/Makefile.am, bench/ltl2tgba/README: Update.
      * tests/core/ltl2tgba2.test: New test case, using genltl.
      * tests/Makefile.am: Add it.
      b708ab77
  11. 01 May, 2016 8 commits
    • Alexandre Duret-Lutz's avatar
      python: support operator rewriting in __format__ · e91c6ba2
      Alexandre Duret-Lutz authored
      Fixes #168.
      
      * python/spot/__init__.py: Implement it.
      * tests/python/formulas.ipynb: Test it.
      * NEWS: Mention it.
      e91c6ba2
    • Alexandre Duret-Lutz's avatar
      common_trans: allow rewriting operators · d9174593
      Alexandre Duret-Lutz authored
      Part of #168.
      
      * spot/misc/formater.cc: Adjust to support bracketed options.
      * bin/common_trans.hh, bin/common_trans.cc: Use that to
      support rewriting operators.
      * doc/org/ltlcross.org, tests/core/ltldo.test: Add some examples.
      * NEWS: Mention it.
      d9174593
    • Alexandre Duret-Lutz's avatar
      print_hoa: output all registered APs · a1b3b065
      Alexandre Duret-Lutz authored
      Also introduce twa::unregister_ap() and twa_graph::remove_unused_ap()
      so that the methods where this behavior is expected can be fixed.
      
      And fix ltsmin::kripke() which did not register APs.
      
      Part of #170.
      
      * spot/twaalgos/hoa.cc: Use apvars() to print all registerd APs.
      Throw an exception when printing automata using unregistered APs.
      * spot/ltsmin/ltsmin.cc: Call register_ap().
      * spot/twa/twa.cc, spot/twa/twa.hh, spot/twa/twagraph.cc,
      spot/twa/twagraph.hh (twa::unregister_ap, twa_graph::remove_unused_ap):
      New methods.
      * spot/tl/exclusive.cc, spot/twaalgos/postproc.cc,
      spot/twaalgos/remprop.cc, spot/twaalgos/relabel.cc: Use them.
      * tests/core/maskacc.test, tests/core/maskkeep.test,
      tests/core/strength.test: Adjust expected results.
      * NEWS: Mention those changes.
      a1b3b065
    • Alexandre Duret-Lutz's avatar
      honor ap() when counting transitions · dad17b36
      Alexandre Duret-Lutz authored
      Fixing this bug alone revealed another bug: parsing never claim or LBTT
      automata did not register APs.  So this fixes both bugs.
      
      This is the first part of #170.
      
      * spot/twa/twa.hh (register_aps_from_dict): New method.
      * spot/parseaut/parseaut.yy: Call it for never claim and LBTT files.
      * spot/twaalgos/stats.cc: Simplify using ap_vars().
      * tests/core/ltl2tgba.test: Add a test case.
      * NEWS: Mention the bugs.
      dad17b36
    • Alexandre Duret-Lutz's avatar
      autfilt: fix simpification of exclusive AP · 4f913c7f
      Alexandre Duret-Lutz authored
      * bin/autfilt.cc: Here.
      * tests/core/exclusive-tgba.test: Test it.
      * NEWS: Mention the fix.
      4f913c7f
    • Alexandre Duret-Lutz's avatar
      autfilt: add --unused-ap and --used-ap · f5bfc07c
      Alexandre Duret-Lutz authored
      Last part of #170.
      
      * bin/autfilt.cc: Implement the new options.
      * tests/core/remprop.test: Add a quick test.
      * NEWS: Mention these options.
      f5bfc07c
    • Alexandre Duret-Lutz's avatar
      autfilt: add --remove-unused-ap · 95d16ba0
      Alexandre Duret-Lutz authored
      Part of #170.
      
      * bin/autfilt.cc: Here.
      * tests/core/remprop.test: Test it.
      * NEWS: Mention it.
      95d16ba0
    • Alexandre Duret-Lutz's avatar
      print_hoa: output all registered APs · 1c2c914d
      Alexandre Duret-Lutz authored
      Also introduce twa::unregister_ap() and twa_graph::remove_unused_ap()
      so that the methods where this behavior is expected can be fixed.
      
      And fix ltsmin::kripke() which did not register APs.
      
      Part of #170.
      
      * spot/twaalgos/hoa.cc: Use apvars() to print all registerd APs.
      Throw an exception when printing automata using unregistered APs.
      * spot/ltsmin/ltsmin.cc: Call register_ap().
      * spot/twa/twa.cc, spot/twa/twa.hh, spot/twa/twagraph.cc,
      spot/twa/twagraph.hh (twa::unregister_ap, twa_graph::remove_unused_ap):
      New methods.
      * spot/tl/exclusive.cc, spot/twaalgos/postproc.cc,
      spot/twaalgos/remprop.cc, spot/twaalgos/relabel.cc: Use them.
      * tests/core/maskacc.test, tests/core/maskkeep.test,
      tests/core/strength.test: Adjust expected results.
      * NEWS: Mention those changes.
      1c2c914d
  12. 29 Apr, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      honor ap() when counting transitions · 9afa98a1
      Alexandre Duret-Lutz authored
      Fixing this bug alone revealed another bug: parsing never claim or LBTT
      automata did not register APs.  So this fixes both bugs.
      
      This is the first part of #170.
      
      * spot/twa/twa.hh (register_aps_from_dict): New method.
      * spot/parseaut/parseaut.yy: Call it for never claim and LBTT files.
      * spot/twaalgos/stats.cc: Simplify using ap_vars().
      * tests/core/ltl2tgba.test: Add a test case.
      * NEWS: Mention the bugs.
      9afa98a1
    • Alexandre Duret-Lutz's avatar
      autfilt: fix simpification of exclusive AP · 1ceb0ed2
      Alexandre Duret-Lutz authored
      * bin/autfilt.cc: Here.
      * tests/core/exclusive-tgba.test: Test it.
      * NEWS: Mention the fix.
      1ceb0ed2
  13. 22 Apr, 2016 2 commits