1. 19 Sep, 2017 1 commit
    • Alexandre GBAGUIDI AISSE's avatar
      twaalgos/cobuchi: Add nsa_to_nca() · cf18c069
      Alexandre GBAGUIDI AISSE authored
      * NEWS: Update.
      * spot/twaalgos/cobuchi.hh: Declare to_dca() and nsa_to_nca().
      * spot/twaalgos/cobuchi.cc: Implement them.
      * python/spot/impl.i: Include new file for python bindings.
      * spot/twaalgos/Makefile.am: Add new file.
      * bin/autfilt.cc: Add --dca command line option. This option does not
      return a deterministic automaton yet, but it will.
      * tests/core/dca.test: Add tests for Büchi automata.
      * tests/python/dca.py: Add a python script that builds a nondet. Streett
      automaton.
      * tests/python/dca.test: Add tests for Streett automata.
      * tests/Makefile.am: Add all tests.
      cf18c069
  2. 05 Sep, 2017 1 commit
    • Clément Gillard's avatar
      fix typos and indentation · ad358842
      Clément Gillard authored
      * bin/autfilt.cc, python/spot/__init__.py, spot/twa/twa.hh,
      spot/twa/twaproduct.cc, spot/twaalgos/couvreurnew.cc,
      tests/python/bugdet.py: Here.
      ad358842
  3. 28 Jul, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: introduce autcross · 0cf250d8
      Alexandre Duret-Lutz authored
      Fixes #252.
      
      * NEWS: Mention it.
      * bin/autcross.cc, bin/man/autcross.x, doc/org/autcross.org: New
      files.
      * bin/Makefile.am, bin/man/Makefile.am, doc/org/tools.org,
      doc/Makefile.am: Add them.
      * bin/autfilt.cc: Use is_universal() instead of is_deterministic().
      * bin/common_hoaread.hh, bin/common_trans.cc, bin/common_trans.hh,
      bin/ltlcross.cc, bin/ltldo.cc: Factor some bits common between
      ltlcross, ltldo and autcross.
      * tests/core/autcross.test, tests/core/autcross2.test: New files.
      * tests/Makefile.am: Add them.
      * tests/core/dra2dba.test, tests/core/sbacc.test,
      tests/core/streett.test: Use autcross.
      0cf250d8
  4. 26 Jul, 2017 2 commits
  5. 30 Jun, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      decompose: merge decompose_strength() and decompose_scc() · 09e47d64
      Alexandre Duret-Lutz authored
      These two functions were doing almost identical work, the only
      difference was the way to select the SCC to keep.  Now we have a more
      uniform way to do that.  Closes #172.
      
      * bin/autfilt.cc: Offer a unique --decompose-scc option, but keep
      --decompose-strength as an alias for backward compatibility.
      * spot/twaalgos/strength.cc, spot/twaalgos/strength.hh: Rename
      decompose_strength as decompose_scc, and handle a way to list
      all SCC numers in the string specifier.  This gets rid
      of the nearly identical
      * tests/core/scc.test, tests/core/strength.test,
      tests/python/decompose.ipynb, tests/python/decompose_scc.py: Adjust
      test cases.
      * NEWS: Adjust.
      09e47d64
  6. 08 Jun, 2017 1 commit
  7. 05 May, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      introduce spot::split_edges() · 19aae6f9
      Alexandre Duret-Lutz authored
      Fixes #255.
      
      * spot/twaalgos/split.cc, spot/twaalgos/split.hh,
      tests/core/split.test: New files.
      * spot/twaalgos/Makefile.am, tests/Makefile.am: Add them.
      * bin/autfilt.cc (--split-edges): New option.
      * python/spot/impl.i: Process split.hh.
      * tests/python/alternating.py: Test split_edges() on
      an alternating automaton.
      19aae6f9
  8. 07 Apr, 2017 2 commits
    • Thomas Medioni's avatar
      autfilt: Add --dualize option · 0d884d4a
      Thomas Medioni authored
      * NEWS: Mention this addition.
      * bin/autfilt.cc: Add dualize option
      * tests/Makefile.am: Add dualize option test file to the suite.
      * tests/core/dualize.test: Test the dualize option.
      0d884d4a
    • Thomas Medioni's avatar
      dtwa_complement: deprecated, use dualize() instead. · 152b5d0d
      Thomas Medioni authored
      * NEWS: Mention of the deprecation
      * bench/stutter/stutter_invariance_randomgraph.cc,
        bin/autfilt.cc, bin/ltlcross.cc, spot/twaalgos/langmap.cc,
        spot/twaalgos/minimize.cc, spot/twaalgos/powerset.cc,
        spot/twaalgos/stutter.cc, tests/core/ikwiad.cc,
        tests/python/bugdet.py, tests/python/remfin.py,
        tests/python/sum.py: Refactor calls to dtwa_complement() with calls
        to dualize().
      * doc/org/upgrade2.org: Change mention of dtwa_complement with dualize.
      * spot/twaalgos/complement.hh: Add deprecation notice.
      * python/spot/impl.i: Add deprecation notice for the python bindings.
      152b5d0d
  9. 09 Mar, 2017 1 commit
    • Thomas Medioni's avatar
      Implement sum(..) and sum_and(..). · 194c1992
      Thomas Medioni authored
      Fixes #231.
      
      * NEWS: Mention of implementation of sum, sum_and.
      * bin/autfilt.cc: Add --sum, --sum-or and --sum-and options.
      * python/spot/impl.i: Add bindings for sum, sum_and.
      * spot/twaalgos/Makefile.am: Add sum.cc, sum.hh.
      * spot/twaalgos/sum.cc: Implement sum, sum_and.
      * spot/twaalgos/sum.hh: Declaration of sum, sum_and.
      * tests/Makefile.am: Add sum tests.
      * tests/core/explsum.test: Test the sum of two automatons,
        false or false, unsatisfied mark propagation, handling of univ.
        transitions.
      * tests/python/sum.py: Check that two automatons that does not
        share their bdd dict are not accepted, then run tests over the
        sum of randomly generated LTL formulas.
      194c1992
  10. 21 Feb, 2017 2 commits
  11. 12 Feb, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      is_alternating() -> !is_existential() · fefb375d
      Alexandre Duret-Lutz authored
      Part of #212.
      
      * spot/misc/common.hh (SPOT_DEPRECATED): Improve support current
      compilers and options flags.
      * spot/twa/twagraph.hh, spot/graph/graph.hh (is_alternating): Mark it
      as deprecated.
      (is_existential): New method.
      * bin/autfilt.cc, bin/ltlcross.cc, spot/parseaut/parseaut.yy,
      spot/twa/twa.cc, spot/twa/twagraph.cc, spot/twaalgos/alternation.cc,
      spot/twaalgos/are_isomorphic.cc, spot/twaalgos/canonicalize.cc,
      spot/twaalgos/couvreurnew.cc, spot/twaalgos/cycles.cc,
      spot/twaalgos/degen.cc, spot/twaalgos/determinize.cc,
      spot/twaalgos/dot.cc, spot/twaalgos/dtbasat.cc,
      spot/twaalgos/dtwasat.cc, spot/twaalgos/hoa.cc,
      spot/twaalgos/isunamb.cc, spot/twaalgos/isweakscc.cc,
      spot/twaalgos/mask.hh, spot/twaalgos/minimize.cc,
      spot/twaalgos/postproc.cc, spot/twaalgos/product.cc,
      spot/twaalgos/randomize.cc, spot/twaalgos/remfin.cc,
      spot/twaalgos/sbacc.cc, spot/twaalgos/sccfilter.cc,
      spot/twaalgos/sccinfo.cc, spot/twaalgos/simulation.cc,
      spot/twaalgos/strength.cc, tests/core/graph.cc, tests/core/ngraph.cc,
      tests/python/alternating.py: Adjust all uses.
      * NEWS: Mention the renaming.
      fefb375d
  12. 17 Jan, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      langmap: adjust to only color non-unique languages · 0ad62cb9
      Alexandre Duret-Lutz authored
      Fixes #203.
      
      * spot/twaalgos/langmap.hh (highlight_languages): Simplify the
      interface by only taking the automaton to color.
      * spot/twaalgos/langmap.cc (highlight_languages): Only introduce
      color for states that have a non-unique language.
      * tests/core/highlightstate.test: Update and add more tests.
      * tests/python/langmap.py: Keep the tests simple.
      * bin/autfilt.cc: Adjust usage and help string.
      0ad62cb9
  13. 06 Jan, 2017 2 commits
  14. 29 Dec, 2016 4 commits
    • Alexandre Duret-Lutz's avatar
      support for semi-deterministic property · 4b013878
      Alexandre Duret-Lutz authored
      * spot/twa/twa.hh (prop_semi_deterministic): New methods.
      * spot/parseaut/parseaut.yy, spot/twaalgos/hoa.cc: Add support for the
      semi-deterministic property.
      * doc/org/concepts.org, doc/org/hoa.org: Document it.
      * spot/twaalgos/isdet.cc,
      spot/twaalgos/isdet.hh (is_semi_deterministic): New function.
      * bin/autfilt.cc: Add --is-semi-deterministic.
      * bin/common_aoutput.cc: Add --check=semi-deterministic.
      * tests/core/semidet.test: New file.
      * tests/Makefile.am: Add it.
      * tests/core/parseaut.test, tests/core/readsave.test: Adjust.
      4b013878
    • Alexandre Duret-Lutz's avatar
      autfilt: handle alternation with --equivalent-to and friends · 096c78a3
      Alexandre Duret-Lutz authored
      * bin/autfilt.cc (ensure_deterministic): Remove alternation on demand.
      (process_automaton): Prefer twa::intersects() over
      product()/is_empty().
      * spot/twa/twa.cc (remove_fin_maybe): Also remove alternation.
      * tests/core/alternating.test: More tests.
      096c78a3
    • Alexandre Duret-Lutz's avatar
      autfilt: add --is-alternating · 77ce4170
      Alexandre Duret-Lutz authored
      * bin/autfilt.cc: Implement --is-alternating.
      * tests/core/complete.test: Test it.
      * NEWS: Mention it.
      77ce4170
    • Alexandre Duret-Lutz's avatar
      autfilt: add --is-very-weak · 6a11e149
      Alexandre Duret-Lutz authored
      * bin/autfilt.cc: Implement --is-very-weak.
      * tests/core/strength.test: Test it.
      * NEWS: Mention it.
      6a11e149
  15. 08 Nov, 2016 1 commit
    • Alexandre GBAGUIDI AISSE's avatar
      spot: Add %R, %[..]R common option. · 6ed38070
      Alexandre GBAGUIDI AISSE authored
      For #189.
      
      * NEWS: Update.
      * bin/autfilt.cc: Replace stopwatch with process_timer.
      * bin/dstar2tgba.cc: Replace stopwatch with process_timer.
      * bin/ltl2tgba.cc: Replace stopwatch with process_timer.
      * bin/ltlcross.cc: Replace stopwatch with process_timer.
      * bin/ltldo.cc: Replace stopwatch with process_timer.
      * bin/randaut.cc: Replace stopwatch with process_timer.
      * bin/common_aoutput.hh: Implement process_timer, integrate it.
      * bin/common_aoutput.cc: Integrate process_timer and implement new
      print method.
      * spot/misc/timer.hh: Modify timer class and timeinfo struct
      i.e. add cutime (children_utime) and cstime (children_stime).
      * spot/misc/timer.cc: Help code to behave as before all this.
      * spot/twaalgos/dtbasat.cc: Help print_log to behave as before
      all this.
      * spot/twaalgos/dtwasat.cc: Help print_log to behave as before
      all this.
      * spot/misc/formater.hh: Add operator<< for spot::timer.
      6ed38070
  16. 19 Oct, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      remove_fin: improve behavior on unclean acceptance · 56f768f5
      Alexandre Duret-Lutz authored
      Related to #188.  This is a third fix that independently
      makes `'utfilt --is-unambiguous -q smaller.hoa' instantaneous.
      
      * spot/twaalgos/remfin.cc: Clean the received automaton if
      necessary.
      * bin/autfilt.cc: No need to call cleanup_acceptance_here() before
      remove_fin() anymore.
      * tests/core/remfin.test: Add an additional test.
      * NEWS: Mention the change.
      56f768f5
    • Alexandre Duret-Lutz's avatar
      use mask_keep_accessible_states · 3dc084c4
      Alexandre Duret-Lutz authored
      * bin/autfilt.cc, spot/twaalgos/isweakscc.cc, spot/twaalgos/remfin.cc,
      spot/twaalgos/sccinfo.cc: Use mask_keep_accessible_states instead of
      mask_keep_states.
      3dc084c4
  17. 14 Aug, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: diagnose more write errors · e97ea5fa
      Alexandre Duret-Lutz authored
      * tests/core/full.test: New file.
      * tests/Makefile.am: Add it.
      * bin/autfilt.cc, bin/common_aoutput.cc, bin/common_aoutput.hh,
      bin/common_file.cc, bin/common_file.hh, bin/genltl.cc, bin/ltlcross.cc,
      bin/ltlfilt.cc, bin/ltlgrind.cc, bin/randltl.cc: Add diagnostics.
      * NEWS: Mention the fix.
      e97ea5fa
  18. 08 Aug, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      autfilt, dstar2tgba: add CSV input · ca0d81b5
      Alexandre Duret-Lutz authored
      Fixes #91.
      
      * bin/autfilt.cc, bin/dstar2tgba.cc: Implement reading CSV files.
      * bin/common_finput.cc: Fix comments.
      * bin/common_aoutput.cc: Show %<, %> in help text.
      * NEWS, doc/org/csv.org: Document it.
      * tests/core/readsave.test: Add a short test case.
      ca0d81b5
  19. 04 Aug, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      implement conversion to GRA and GSA · 14bee1ae
      Alexandre Duret-Lutz authored
      Fixes #174.
      
      * spot/twaalgos/totgba.hh, spot/twaalgos/totgba.cc
      (to_generalized_streett, to_generalized_rabin): New functions.
      * spot/twa/acc.hh: Declare more methods as static.
      * bin/autfilt.cc: Implement --generalized-rabin and
      --generalized-streett options.
      * NEWS: Mention these.
      * tests/core/gragsa.test: New file.
      * tests/Makefile.am: Add it.
      14bee1ae
  20. 27 Jul, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      active -Wsuggest-override where supported · 64c70366
      Alexandre Duret-Lutz authored
      * m4/gccwarn.m4: Add the option.
      * bin/autfilt.cc, bin/common_output.hh, bin/dstar2tgba.cc,
      bin/ltl2tgba.cc, bin/ltl2tgta.cc, bin/ltlcross.cc, bin/ltldo.cc,
      bin/ltlfilt.cc, bin/ltlgrind.cc, spot/kripke/kripke.hh,
      spot/ltsmin/ltsmin.cc, spot/ta/ta.hh, spot/ta/tgtaproduct.hh,
      spot/taalgos/dot.cc, spot/taalgos/reachiter.hh,
      spot/taalgos/statessetbuilder.cc, spot/taalgos/stats.cc,
      spot/twa/twaproduct.cc, spot/twaalgos/emptiness.cc,
      spot/twaalgos/gtec/ce.cc, spot/twaalgos/lbtt.cc,
      spot/twaalgos/ndfs_result.hxx, spot/twaalgos/stats.hh,
      spot/twaalgos/tau03opt.cc, tests/core/ngraph.cc: Add suggested override
      qualifiers.
      64c70366
  21. 20 Jul, 2016 1 commit
  22. 19 Jul, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      bin: overhaul default input selection · dd6875d5
      Alexandre Duret-Lutz authored
      If no input have been specified, and the standard input is not a tty all
      tools now default to reading it.  If standard input is a tty, all tools
      display an error message.  Additionally, - is now a shorthand for -F- in
      all tools.
      
      * NEWS: Summarize this.
      * bin/common_finput.cc, bin/common_finput.hh (check_no_formulas,
      check_no_automaton): New functions that implement the above istty()
      logic.
      * bin/autfilt.cc, bin/dstar2tgba.cc, bin/ltl2tgba.cc, bin/ltl2tgta.cc,
      bin/ltlcross.cc, bin/ltldo.cc, bin/ltlgrind.cc: Use these function,
      and recognize '-' if it was not the case.
      * tests/core/acc_word.test, tests/core/ltldo.test,
      tests/core/minusx.test, tests/core/readsave.test,
      tests/core/unambig.test: Adjust some tests to exercise this.
      * doc/org/autfilt.org, doc/org/csv.org, doc/org/dstar2tgba.org,
      doc/org/ltl2tgba.org, doc/org/ltlcross.org, doc/org/ltlfilt.org,
      doc/org/oaut.org: Adjust the documentation and simplify some
      examples.
      dd6875d5
    • Alexandre Duret-Lutz's avatar
      autfilt: add --stutter-invariant · 4c0500a8
      Alexandre Duret-Lutz authored
      * bin/autfilt.cc: Implement the option.
      * NEWS: Mention it.
      * tests/core/readsave.test, tests/core/stutter-tgba.test: Add some
      tests.
      4c0500a8
  23. 18 Jul, 2016 5 commits
  24. 22 Jun, 2016 1 commit
    • 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
  25. 01 May, 2016 3 commits