1. 22 Apr, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      rename the spot::tgba class as spot::twa · c2ae99e7
      Alexandre Duret-Lutz authored
      Now that we support any type of omega-accetpance, not just "Generalized
      Büchi", it is time to move away from GB and replace it by "ω", written
      just w in ASCII.
      
      This just change the name of the tgba class.  This part has to be done
      by hand because the word "tgba" occurs in many contexts and a mass
      replacement would be wrong.
      
      This will be followed by some automatic renaming of all the derived
      types and more.
      
      * src/bin/autfilt.cc, src/bin/randaut.cc, src/kripke/fairkripke.hh,
      src/ta/tgta.cc, src/ta/tgta.hh, src/tgba/fwd.hh, src/tgba/taatgba.cc,
      src/tgba/taatgba.hh, src/tgba/tgba.cc, src/tgba/tgba.hh,
      src/tgba/tgbagraph.hh, src/tgba/tgbaproduct.cc, src/tgba/tgbaproduct.hh,
      src/tgba/tgbaproxy.cc, src/tgba/tgbaproxy.hh,
      src/tgba/tgbasafracomplement.cc, src/tgba/tgbasafracomplement.hh,
      src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/cleanacc.cc,
      src/tgbaalgos/dotty.cc, src/tgbaalgos/dupexp.cc,
      src/tgbaalgos/dupexp.hh, src/tgbaalgos/hoa.cc,
      src/tgbaalgos/neverclaim.cc, src/tgbaalgos/simulation.cc,
      src/tgbaalgos/stutter.cc, src/tgbatest/checkpsl.cc,
      src/tgbatest/emptchk.cc, src/tgbatest/ltl2tgba.cc, wrap/python/spot.py,
      wrap/python/spot_impl.i: Rename the tgba class into twa.
      c2ae99e7
  2. 19 Apr, 2015 1 commit
  3. 02 Apr, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      new transformation from Fin-less to TGBA · e589e208
      Alexandre Duret-Lutz authored
      Fixes #72.
      
      * src/tgbaalgos/totgba.cc, src/tgbaalgos/totgba.hh: New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: Add
      a Generic output type, and call to_generalized_buchi() if
      this type is not selected.
      * src/tgbatest/remfin.test: Add some tests.
      * src/bin/autfilt.cc: Add a --generic option, and set it
      by default.
      e589e208
  4. 31 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      rename cleanup_acceptance() as cleanup_acceptance_here() · df981a06
      Alexandre Duret-Lutz authored
      And add a cleanup_acceptance() version that copies.
      
      * src/tgbaalgos/cleanacc.cc, src/tgbaalgos/cleanacc.hh: Rename
      and add the second version.
      * src/bin/autfilt.cc, src/bin/ltlcross.cc,
      src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/remfin.cc: Use
      cleanup_acceptance_here.
      df981a06
  5. 30 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      autfilt: add a --simplify-exclusive-ap option · 75328f1a
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Add option.
      * src/ltlvisit/exclusive.cc, src/ltlvisit/exclusive.hh: implement it.
      * src/tgbatest/exclusive.test: Test it.
      * src/misc/minato.cc, src/misc/minato.hh: Add an interface to
      simplify a Boolean function with don't care.
      75328f1a
  6. 25 Mar, 2015 1 commit
  7. 24 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      autfilt: add a --remove-ap option · 4553ac06
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/remprop.cc, src/tgbaalgos/remprop.hh: New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbatest/remprop.test: New test.
      * src/tgbatest/Makefile.am: Add it.
      * src/bin/autfilt.cc: Implement the option.
      * doc/org/autfilt.org: Document it.
      4553ac06
  8. 23 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      autfilt: add a --exclusive-ap option · fb7b7a94
      Alexandre Duret-Lutz authored
      * src/ltlvisit/exclusive.cc, src/ltlvisit/exclusive.hh: Implement
      constrain() for automata.
      * src/bin/autfilt.cc: Add --exclusive-ap option.
      * src/tgba/bdddict.cc, src/tgba/bdddict.hh: Add a
      has_registered_proposition() method.
      * src/tgbatest/exclusive.test: New file.
      * src/tgbatest/Makefile.am: Add it.
      fb7b7a94
  9. 05 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc: add a to_cnf() function · a0ac8dc5
      Alexandre Duret-Lutz authored
      * src/tgba/acc.cc, src/tgba/acc.hh (to_cnf, is_cnf): New functions.
      * src/bin/autfilt.cc: Add a --cnf-acceptance option.
      * src/tgbatest/acc2.test: Test it.
      a0ac8dc5
  10. 02 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: use enums instead of #define for option codes · 86584418
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc, src/bin/common_aoutput.cc,
      src/bin/common_finput.cc, src/bin/common_output.cc,
      src/bin/common_post.cc, src/bin/common_setup.cc,
      src/bin/common_trans.cc, src/bin/dstar2tgba.cc, src/bin/genltl.cc,
      src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc, src/bin/ltlcross.cc,
      src/bin/ltlfilt.cc, src/bin/ltlgrind.cc, src/bin/randaut.cc,
      src/bin/randltl.cc: Here.
      86584418
  11. 26 Feb, 2015 3 commits
    • Alexandre Duret-Lutz's avatar
      Make it easy to complement an acceptance condition · d597050f
      Alexandre Duret-Lutz authored
      * src/tgba/acc.cc, src/tgba/acc.hh (complement): New method.
      * src/bin/autfilt.cc: Add a --complement-acceptance option.
      * src/tgbatest/acc2.test: Test it.
      d597050f
    • Alexandre Duret-Lutz's avatar
      Add a cleanup_acceptance() algorithm · 659107a0
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/cleanacc.cc, src/tgbaalgos/cleanacc.hh: New file.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgba/acc.hh, src/tgba/tgba.hh (get_acceptance): Return a
      reference.
      * src/bin/autfilt.cc: Add a --cleanup-acceptance option.
      * src/tgbatest/hoaparse.test: Test it.
      659107a0
    • Alexandre Duret-Lutz's avatar
      Add a remove_fin() algorithm · 85508a0e
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Add remove_fin().
      * src/tgba/acc.cc, src/tgba/acc.hh: Add is_dnf() and simplify eval().
      * src/tgbaalgos/remfin.cc, src/tgbaalgos/remfin.hh: New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbatest/remfin.test: New file.
      * src/tgbatest/Makefile.am: Add it.
      85508a0e
  12. 24 Feb, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc: add a to_dnf() method · 1441c4fe
      Alexandre Duret-Lutz authored
      * src/tgba/acc.cc, src/tgba/acc.hh: Implement a to_dnf()
      method.
      * src/bin/autfilt.cc: Add option --dnf-acceptance.
      * src/tgbatest/acc2.test: Test it.
      1441c4fe
  13. 18 Feb, 2015 1 commit
  14. 16 Feb, 2015 1 commit
    • Alexandre Lewkowicz's avatar
      maskkeep: Add a tgba_digraph version · dcad10fc
      Alexandre Lewkowicz authored
      * src/bin/autfilt.cc: Add option --keep-states.
      * src/tgbaalgos/mask.cc, src/tgbaalgos/mask.hh: Keep the selected states
      and update the initial state.
      * src/tgbatest/Makefile.am: Adjust.
      * src/tgbatest/maskkeep.test: New file.
      dcad10fc
  15. 15 Feb, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: implement --output for automata · 1e7c1e5c
      Alexandre Duret-Lutz authored
      Fixes #56.
      
      * src/bin/common_aoutput.cc, src/bin/common_aoutput.hh,
      src/bin/dstar2tgba.cc: Implement it.
      * src/bin/autfilt.cc, src/bin/ltl2tgba.cc, src/bin/ltldo.cc,
      src/bin/randaut.cc: Fix main() to catch exceptions from the
      constructor of the automaton printer as well.
      * src/tgbatest/randaut.test: Add a test case.
      * doc/org/oaut.org: Document it.
      1e7c1e5c
  16. 03 Feb, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      autfilt: add a --strip-acceptance option · ee0b8e4e
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: New option.
      * src/tgbatest/sbacc.test: Test it.
      ee0b8e4e
    • Alexandre Duret-Lutz's avatar
      autfilt: add a --sbacc option · acb67c1b
      Alexandre Duret-Lutz authored
      ... to force automata into state-based acceptance.
      
      * src/tgbaalgos/sbacc.cc, src/tgbaalgos/sbacc.hh,
      src/tgbatest/sbacc.test: New files.
      * src/tgbaalgos/Makefile.am, src/tgbatest/Makefile.am: Add
      them.
      * src/tgba/tgbagraph.hh (copy_acceptance_conditions_of):
      Call set_acceptance_conditions().
      * src/bin/autfilt.cc: Add option --sbacc.
      acb67c1b
  17. 01 Feb, 2015 1 commit
  18. 31 Jan, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      maskacc: Add a tgba_digraph version · d0f0be23
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/mask.cc, src/tgbaalgos/mask.hh: New files.
      * src/tgbaalgos/Makefile.am: Adjust.
      * src/tgba/acc.hh (mark_t::set): New method.
      * src/bin/autfilt.cc: Add option --mask-acc.
      * src/tgbatest/maskacc.test: Rewrite.
      * src/tgbatest/maskacc.cc: Delete.
      * src/tgbatest/Makefile.am: Adjust.
      d0f0be23
  19. 24 Jan, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: factor common conversion functions · d9045d13
      Alexandre Duret-Lutz authored
      * src/bin/common_conv.cc, src/bin/common_conv.hh: New files.
      * src/bin/Makefile.am: Add them.
      * src/bin/autfilt.cc, src/bin/ltlcross.cc, src/bin/ltlfilt.cc,
      src/bin/ltlgrind.cc, src/bin/randaut.cc, src/bin/randltl.cc: Use them.
      d9045d13
  20. 23 Jan, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      autfilt: add an --intersect filter · 947ab17b
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Add option --intersect.  Factor the code to read
      automata.
      * src/tgbatest/neverclaimread.test: Rewrite the tests, replacing 3 calls
      to ltl2tgba by a single call to autfilt.
      947ab17b
  21. 09 Jan, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      product: rename the one-the-fly version as otf_product · 94577d65
      Alexandre Duret-Lutz authored
      This avoid compiler errors about ambiguous calls and make sure we are
      calling the intended algorithms everywhere (this wasn't the case).
      
      * src/tgba/tgbaproduct.hh (product, product_at): Rename as...
      (otf_product, otf_product_at): ... this.
      * iface/ltsmin/modelcheck.cc, src/bin/autfilt.cc, src/bin/ltlfilt.cc,
      src/tgbaalgos/minimize.cc, src/tgbaalgos/powerset.cc,
      src/tgbatest/ltl2tgba.cc, src/tgbatest/checkpsl.cc,
      src/tgbatest/complementation.cc, src/tgbatest/ltlprod.cc: Adjust
      callers.
      94577d65
  22. 05 Jan, 2015 1 commit
  23. 03 Jan, 2015 7 commits
    • Alexandre Duret-Lutz's avatar
      bin: use common_aoutput in ltl2tgba · 40fb80ea
      Alexandre Duret-Lutz authored
      * src/bin/common_aoutput.hh, src/bin/common_aoutput.cc: Adjust to
      support three kind of statistics printer, depending on whether the
      tool input formulas, automata, or nothing.
      * src/bin/randaut.cc, src/bin/autfilt.cc: Adjust.
      * src/bin/ltl2tgba.cc: Use the common_aoutput printers.  The
      --csv-escape option disappeared along the way, but it was not honored
      anyway...
      40fb80ea
    • Alexandre Duret-Lutz's avatar
      bin: factor output options of autfilt and randaut · 72737dfe
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Move output options handling...
      * src/bin/common_aoutput.cc, src/bin/common_aoutput.hh:... here.
      * src/bin/randaut.cc: Use them.
      * src/tgbatest/randaut.test: Test --name and --stats for randaut.
      72737dfe
    • Alexandre Duret-Lutz's avatar
      autfilt, randaut: rename --uniq to --unique · a7c1d4c4
      Alexandre Duret-Lutz authored
      for consistency with ltlfilt
      
      * src/bin/autfilt.cc, src/bin/randaut.cc: Here.
      a7c1d4c4
    • Alexandre Duret-Lutz's avatar
      randaut: fix --uniq · 21dcc73d
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Also accept '-u' for '--uniq'.
      * src/bin/randaut.cc: Likewise, plus fix the unicity check.
      * src/tgbatest/uniq.test: Really test it.
      21dcc73d
    • Alexandre Duret-Lutz's avatar
      autfilt: move output functions to a separate file · 36f99565
      Alexandre Duret-Lutz authored
      * src/bin/common_aoutput.cc, src/bin/common_aoutput.hh: New files...
      * src/bin/autfilt.cc: ... extracted from here.
      * src/bin/Makefile.am: Add them.
      36f99565
    • Alexandre Duret-Lutz's avatar
      tgba_digraph: force selection of properties kept on copy · 87c2b291
      Alexandre Duret-Lutz authored
      * src/tgba/tgba.hh: Declare a prop_set to specify the types.
      * src/tgba/tgbagraph.hh: Use prop_set for all copy constructors.
      * iface/ltsmin/ltsmin.cc, src/bin/autfilt.cc, src/bin/randaut.cc,
      src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/closure.cc,
      src/tgbaalgos/complete.cc, src/tgbaalgos/degen.cc,
      src/tgbaalgos/dotty.cc, src/tgbaalgos/dtgbacomp.cc,
      src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh,
      src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc,
      src/tgbaalgos/stutterize.cc, src/tgbatest/checkpsl.cc,
      src/tgbatest/emptchk.cc, src/tgbatest/ltl2tgba.cc,
      wrap/python/spot.i,src/graphtest/tgbagraph.test: Adjust all uses.
      87c2b291
    • Alexandre Duret-Lutz's avatar
      dotty: switch to horizontal output and add options · 0f178288
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/dotty.cc, src/tgbaalgos/dotty.hh: Add an options
      parameter.
      * src/bin/randaut.cc, src/bin/autfilt.cc, src/bin/dstar2tgba.cc,
      src/bin/ltl2tgba.cc, wrap/python/ajax/spot.in: Use it.
      * src/tgbatest/det.test, src/tgbatest/dstar.test,
      src/tgbatest/ltl2tgba.cc, src/tgbatest/monitor.test,
      src/tgbatest/neverclaimread.test, src/tgbatest/tgbaread.test,
      src/graphtest/tgbagraph.test: Adjust
      because automata are now output horizontally.
      * NEWS: Mention the change.
      0f178288
  24. 23 Dec, 2014 1 commit
  25. 17 Dec, 2014 6 commits
    • Thibaud Michaud's avatar
      option --uniq in autfilt and randaut · a989d41b
      Thibaud Michaud authored
      * src/bin/autfilt.cc: add option --uniq.
      * src/bin/randaut.cc: add option --uniq.
      * src/tgbatest/uniq.test: Test it.
      a989d41b
    • Thibaud Michaud's avatar
      Wrap are_isomorphic inside a class and optimize when deterministic · 17687855
      Thibaud Michaud authored
      * src/bin/autfilt.cc: Use isomorphism_checker.
      * src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/are_isomorphic.hh: Wrap
      are_isomorphic inside a class to keep the canonic version of the first
      automaton between two calls, and use a more efficient algorithm in case
      both automata are deterministic.
      * src/tgbatest/isomorph.test: Add tests for deterministic automata.
      17687855
    • 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
  26. 16 Dec, 2014 1 commit