1. 28 Feb, 2015 1 commit
  2. 27 Feb, 2015 1 commit
    • Etienne Renault's avatar
      random: Get rid of uniform_distribution (non-portable). · 734bceff
      Etienne Renault authored
      * src/misc/random.cc, src/misc/random.hh,
      src/tgbaalgos/randomgraph.cc, src/tgbatest/randaut.test,
      src/tgbatest/randomize.test, src/tgbatest/readsave.test,
      src/ltlvisit/simplify.cc, src/tgbaalgos/randomize.cc,
      src/graph/graph.hh, src/tgbatest/randpsl.test: here.
      734bceff
  3. 26 Feb, 2015 9 commits
    • Alexandre Duret-Lutz's avatar
      dot: add an option to display the acceptance · 5b3034b6
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/dotty.cc: Display the acceptance if "a" is used.
      * src/bin/common_aoutput.cc, src/bin/dstar2tgba.cc,
      src/tgbaalgos/dotty.hh: Document it.
      * src/tgbatest/readsave.test: Test it.
      5b3034b6
    • Alexandre Duret-Lutz's avatar
      postproc: make sure WDBA have an acceptance set if BA is desired · 095ac93b
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/postproc.cc: Here.
      * src/tgbatest/ltl2tgba.test: Make sure ltl2tgba -B 0 has one
      acceptance set.
      095ac93b
    • Alexandre Duret-Lutz's avatar
      acc: refactor strip() routines · 5b2c7b55
      Alexandre Duret-Lutz authored
      * src/tgba/acc.cc, src/tgba/acc.hh: Move the strip() routine from
      acc_cond into acc_cond::mark_t, and the strip() routine from
      cleanacc.cc into acc_cond::acc_code.  Introduce helper functions
      to create inf()/fin()/t()/f() at the acc_code level.
      * src/tgbaalgos/cleanacc.cc: Simplify, using the strip() function
      from acc_code.
      * src/tgbaalgos/mask.cc (mask_acc_sets): Use the strip() function
      from acc_code so that it work on non-Buchi acceptance.
      * src/tgbatest/maskacc.test: Add a test for the latter change.
      * src/tgbaalgos/sccfilter.cc, src/tgbatest/acc.cc: Adjust the
      use mark_t::strip().
      5b2c7b55
    • Alexandre Duret-Lutz's avatar
      ltlcross: adjust to work with generic acceptance · 717c8577
      Alexandre Duret-Lutz authored
      * src/bin/ltlcross.cc: Remove Fin-acceptance before
      doing checks.  More --verbose output.
      * src/tgba/acc.cc, src/tgba/acc.hh: Add an eval_sets() function
      to find the set of acceptance sets needed to satisfy the condition
      in an accepting SCC.
      * src/tgbaalgos/gtec/ce.cc: Use eval_sets() when computing
      a counter example.
      * src/tgbaalgos/gtec/gtec.cc: Raise an exception when called
      on an acceptance that contains Fin.
      * src/tgbatest/ltl2dstar3.test, src/tgbatest/ltlcrossce2.test:
      New files.
      * src/tgbatest/Makefile.am: Add them.
      * src/tgba/tgba.cc (is_empty): Call remove_fin if needed.
      * src/tgbaalgos/product.cc, src/tgbaalgos/dtgbacomp.cc: Adjust
      to work with generic acceptance.
      717c8577
    • Alexandre Duret-Lutz's avatar
      remfin: introduce less acceptance sets for interferences · 9ccbc349
      Alexandre Duret-Lutz authored
      Instead of adding one set per term in the DNF, reuse the
      removed Fin(x) sets as Inf(x) sets.
      
      * src/tgbaalgos/remfin.cc: Here.
      * src/tgbatest/remfin.test: Additional test.
      9ccbc349
    • Alexandre Duret-Lutz's avatar
      remfin: cleanup acceptance · 83dfb4a9
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/remfin.cc: Call cleanup_acceptance().
      * src/tgbatest/remfin.test: Adjust.
      83dfb4a9
    • 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
  4. 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
  5. 23 Feb, 2015 5 commits
    • Alexandre Duret-Lutz's avatar
      stats: use %g to print the (generic) acceptance condition · de586dd2
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/stats.cc, src/tgbaalgos/stats.hh: Implement %g.
      * src/bin/common_aoutput.cc, src/bin/common_aoutput.hh:
      Document it, and also implement %G.
      * src/tgbatest/acc2.test: New file.
      * src/tgbatest/Makefile.am: Add it.
      de586dd2
    • Alexandre Duret-Lutz's avatar
      acc: Add operators == and != for acc_code · 33c496a4
      Alexandre Duret-Lutz authored
      and make sure are_isomorphic does not look only at the number of
      acceptance sets
      
      * src/tgba/acc.hh: Here.
      * src/tgbaalgos/are_isomorphic.cc: Use it to ensure two automata
      have the same acceptance condition.
      * src/tgbatest/explpro4.test: Test product between Büchi and co-Büchi,
      and make sure the isomorphic check look at the acceptance condition.
      33c496a4
    • Alexandre Duret-Lutz's avatar
      sbacc: Make sure it also work for non-TGBA · 039274b2
      Alexandre Duret-Lutz authored
      * src/tgbatest/sbacc.test: Adjust test case.
      039274b2
    • Alexandre Duret-Lutz's avatar
      acc: avoid superfluous parentheses when printing acceptance · f325cddc
      Alexandre Duret-Lutz authored
      * src/tgba/acc.cc: Do not output (Inf(x)) or (Fin(x)).
      * src/tgbatest/acc.test: Adjust.
      f325cddc
    • Alexandre Duret-Lutz's avatar
      Preliminirary support for generic acceptance. · fd1f6c4d
      Alexandre Duret-Lutz authored
      * src/tgba/acc.hh: Add creation and printing of generic acceptance
      code.
      * src/tgba/acc.cc: New file.
      * src/tgba/Makefile.am: Add it.
      * src/tgbatest/acc.cc: More tests.
      * src/tgbatest/acc.test: Update.
      * src/tgba/tgba.hh (set_acceptance, get_acceptance): New methods.
      * src/tgba/tgbagraph.hh: Store acceptance code.
      * src/hoaparse/hoaparse.yy: Read any acceptance.
      * src/dstarparse/nsa2tgba.cc, src/ta/taexplicit.cc,
      src/tgba/tgbaproduct.cc, src/tgba/tgbasafracomplement.cc,
      src/tgbaalgos/degen.cc, src/tgbaalgos/hoa.cc,
      src/tgbaalgos/ltl2taa.cc, src/tgbaalgos/ltl2tgba_fm.cc,
      src/tgbaalgos/product.cc, src/tgbaalgos/stutter.cc,
      src/tgbatest/hoaparse.test: Adjust.
      fd1f6c4d
  6. 19 Feb, 2015 1 commit
  7. 16 Feb, 2015 1 commit
    • Alexandre Lewkowicz's avatar
      maskkeep: Add a tgba_digraph version · dcad10fc
      Alexandre Lewkowicz authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * 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
  8. 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
  9. 14 Feb, 2015 1 commit
  10. 13 Feb, 2015 1 commit
  11. 10 Feb, 2015 2 commits
  12. 04 Feb, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc: do not store a bdd_dict · 856adef9
      Alexandre Duret-Lutz authored
      Fixes #55.
      
      * src/tgba/acc.hh: Do not store a bdd_dict_ptr, it is not used.
      * src/tgba/tgba.hh, src/tgba/tgba.cc, src/ta/ta.hh,
      src/tgba/tgbagraph.hh, src/tgbaalgos/dtgbasat.cc,
      src/tgbatest/acc.cc: Adjust.
      856adef9
  13. 03 Feb, 2015 3 commits
  14. 02 Feb, 2015 2 commits
  15. 01 Feb, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      ltlcross: replace %H,%T,%N by %O · 847270b4
      Alexandre Duret-Lutz authored
      Also get rid of the lbt_parser, and fix the LBT support of the HOA
      parser.
      
      * doc/org/ltlcross.org, doc/org/ltldo.org: Update.
      * src/bin/common_trans.cc, src/bin/common_trans.hh: Add support for
      %O, and keep %T,%N,%H as hidden aliases without disabling them.
      * src/bin/ltlcross.cc, src/bin/ltldo.cc, src/tgbatest/ltl2tgba.cc:
      Call hoa_parse instead of lbt_parse.
      * src/hoaparse/hoaparse.yy: Improve error reporting from LBT.
      * src/hoaparse/hoascan.ll: Fix typos preventing parsing of
      LBT files with more than 10 states.
      * src/tgbaalgos/lbtt.cc, src/tgbaalgos/lbtt.hh: Delete the lbt
      parser.
      * src/tgbatest/lbttparse.test: Adjust the expected error message.
      * NEWS: Update.
      847270b4
  16. 31 Jan, 2015 6 commits
    • Alexandre Duret-Lutz's avatar
      save: remove · dbd824c5
      Alexandre Duret-Lutz authored
      Get rid of the output in Spot's format.
      
      This finally fixes #1.
      
      * src/tgbaalgos/save.cc, src/tgbaalgos/save.hh: Delete.
      * src/tgbaalgos/Makefile.am: Adjust.
      * src/ltlvisit/contain.cc: Remove useless includes.
      * src/bin/dstar2tgba.cc, src/bin/common_aoutput.cc,
      src/bin/common_aoutput.hh: Remove the "Spot" output.
      * doc/org/dstar2tgba.org, doc/org/ioltl.org,
      doc/org/ltl2tgba.org, doc/org/oaut.org: Update doc.
      * NEWS: Mention that Spot i/o is gone.
      * src/tgbatest/randtgba.cc: Output in HOA.
      * src/tgbatest/randtgba.test: Use randaut instead of
      randtgba.
      * wrap/python/spot.i: Do not provide binding for save.hh
      dbd824c5
    • Alexandre Duret-Lutz's avatar
      tgbaparse: remove this parser · a246c3b8
      Alexandre Duret-Lutz authored
      For issue #1 (nearly done).
      
      * src/tgbaparse/: Delete.
      * configure.ac, src/Makefile.am, README: Adjust.
      * src/tgbatest/randtgba.cc: Remove useless #include.
      a246c3b8
    • 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
    • Alexandre Duret-Lutz's avatar
      tgbatest: remove the unused powerset source · a0a035e0
      Alexandre Duret-Lutz authored
      * src/tgbatest/powerset.cc: Delete.
      * src/tgbatest/Makefile.am: Adjust.
      a0a035e0
    • Alexandre Duret-Lutz's avatar
      tgbatest: get rid of tgbaread · 7b5f80d4
      Alexandre Duret-Lutz authored
      since it's only purpose is to test a parser we
      want to get rid of (#1)
      
      * src/tgbatest/tgbaread.cc, src/tgbatest/tgbaread.test: Delete.
      * src/tgbatest/Makefile.am: Adjust.
      7b5f80d4
    • Alexandre Duret-Lutz's avatar
      tgbatest: drop support of Spot's legacy format from ltl2tgba · 33a94470
      Alexandre Duret-Lutz authored
      This is progress for #1.
      
      * src/tgbatest/ltl2tgba.cc: Remove options -b and -X.  Change
      -P to read HOA files instead.
      * src/tgbatest/complementation.cc: Replace option -b by -H for
      HOA output, and read files in HOA.
      * src/tgbatest/complementation.test, src/tgbatest/cycles.test,
      src/tgbatest/dbacomp.test, src/tgbatest/degenid.test,
      src/tgbatest/dfs.test, src/tgbatest/emptchke.test,
      src/tgbatest/ltl2tgba.test, src/tgbatest/renault.test,
      src/tgbatest/satmin2.test, src/tgbatest/sccsimpl.test,
      src/tgbatest/sim2.test: Adjust.
      33a94470
  17. 28 Jan, 2015 1 commit
  18. 27 Jan, 2015 2 commits