1. 17 Dec, 2014 4 commits
    • Thibaud Michaud's avatar
      Adding function to canonicalize an automaton. · 1995602d
      Thibaud Michaud authored
      * src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/are_isomorphic.hh,
      src/bin/autfilt.cc: are_isomorphic now uses canonicalize. It returns a
      bool, because the mapping cannot be deduced easily from the
      canonicalized automaton.
      * src/graph/graph.hh: Add equality operator to trans_storage_t
      for easy comparison of transition vectors.
      * src/tgba/tgbagraph.hh: Add equality operator to tgba_graph_trans_data
      and to tgba_digraph.
      * src/tgbaalgos/canonicalize.cc, src/tgbaalgos/canonicalize.hh:
      New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbatest/isomorph.test: Test them.
      1995602d
    • Alexandre Duret-Lutz's avatar
      autfilt: %w shows an accepting word · b83d6d7f
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Support %w.
      * src/tgbatest/readsave.test: Test it.
      b83d6d7f
    • Alexandre Duret-Lutz's avatar
      autfilt: --instut, --destut, --is-empty · a626a32d
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Add these new options.
      * src/tgbaalgos/stutterize.cc, src/tgbaalgos/stutterize.hh: Make it
      possible to call sl() and sl2() without passing the set of atomic
      propositions.
      * src/tgbatest/stutter.test: New file.
      * src/tgbatest/Makefile.am: Add it.
      a626a32d
    • Alexandre Duret-Lutz's avatar
      merge transitions: also merge transitions with same conditions · 8e9c4317
      Alexandre Duret-Lutz authored
      * src/tgba/tgbagraph.cc (merge_transition): Do it.
      * src/tgbatest/readsave.test: Test it.
      * src/bin/autfilt.cc: Fix statistics about the original
      automaton when using --stats or --name.
      8e9c4317
  2. 16 Dec, 2014 3 commits
  3. 15 Dec, 2014 2 commits
    • Alexandre Duret-Lutz's avatar
      autfilt: --count · 0d710f96
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Add a --count option.
      * src/tgbatest/randaut.test: Test autfilt's --count and --states.
      0d710f96
    • Alexandre Duret-Lutz's avatar
      autfilt: --states=RANGE · cad4d94c
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Add a --states=RANGE option.
      * src/bin/common_range.cc, src/bin/common_range.hh: Generalize
      range_parse to allow an optional upper bound.
      cad4d94c
  4. 11 Dec, 2014 7 commits
  5. 10 Dec, 2014 10 commits
  6. 09 Dec, 2014 2 commits
    • Alexandre Duret-Lutz's avatar
      tgba: simplify usage of named properties · 61edf7f4
      Alexandre Duret-Lutz authored
      * src/tgba/tgba.hh, src/tgba/tgba.cc (set_named_prop): Add a template
      version.
      (get_named_prop): Hide the old version, and supply a template version
      that casts.
      * src/bin/ltlcross.cc, src/hoaparse/hoaparse.yy, src/tgbaalgos/hoa.cc,
      src/tgbaalgos/product.cc: Adjust usage.
      61edf7f4
    • Alexandre Duret-Lutz's avatar
      hoa: store the automaton name as a property · 5a1e38d9
      Alexandre Duret-Lutz authored
      * src/hoaparse/hoaparse.yy: Store the automaton name.
      * src/tgbaalgos/hoa.cc: Output it if it exists.
      * src/tgbatest/hoaparse.test: Adjust tests.
      5a1e38d9
  7. 08 Dec, 2014 3 commits
  8. 07 Dec, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      autfilt: add a --product option · 8014833a
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Implement the --product option.
      * src/tgbatest/explprod.cc, src/tgbatest/tripprod.cc: Delete.
      * src/tgbatest/Makefile.am: Adjust.
      * src/tgbatest/explpro2.test, src/tgbatest/explpro3.test,
      src/tgbatest/explpro4.test, src/tgbatest/explprod.test,
      src/tgbatest/tripprod.test: Rewrite using autfilt --product.
      8014833a
  9. 06 Dec, 2014 1 commit
  10. 05 Dec, 2014 4 commits
  11. 04 Dec, 2014 3 commits
    • Alexandre Duret-Lutz's avatar
      2731c9be
    • Alexandre Duret-Lutz's avatar
      ltl: remove the useless Finish operator · a0d9268f
      Alexandre Duret-Lutz authored
      * src/ltlast/unop.cc, src/ltlast/unop.hh src/ltlvisit/lbt.cc,
      src/ltlvisit/mark.cc, src/ltlvisit/simplify.cc,
      src/ltlvisit/tostring.cc, src/ltlvisit/tunabbrev.cc,
      src/tgba/formula2bdd.cc, src/tgbaalgos/ltl2tgba_fm.cc: Remove Finish.
      * src/tgbaalgos/ltl2taa.cc: Remove Finish, and simply use an empty
      destination to code the sink.
      a0d9268f
    • Alexandre Duret-Lutz's avatar
      how: fix multi-line incomplete strings · ad771454
      Alexandre Duret-Lutz authored
      Location tracking was incorrect for multi-line
      strings/comments/parentheses.  This also fixes and tests recovery on
      inclosed strings/comments/parentheses.
      
      * src/hoaparse/hoaparse.yy: Abort on expected EOF.
      * src/hoaparse/hoascan.ll: Track newlines inside strings and comments.
      Do not use unput() to close incomplete parentheses.
      * src/tgbatest/neverclaimread.test, src/tgbatest/hoaparse.test: Add
      more tests.
      ad771454