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. 31 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      randaut: add option --acc-type=random · 2f42c1c9
      Alexandre Duret-Lutz authored
      Fixes #71.
      
      * src/bin/randaut.cc: Implement option --acc-type.
      * src/tgbaalgos/randomgraph.cc,
      src/tgbaalgos/randomgraph.hh (random_acceptance): New function.
      * src/tgbatest/randaut.test, wrap/python/tests/randaut.ipynb: Test it.
      2f42c1c9
  3. 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
  4. 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
  5. 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
  6. 04 Jan, 2015 1 commit
  7. 03 Jan, 2015 6 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
      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
  8. 17 Dec, 2014 1 commit
  9. 08 Dec, 2014 1 commit
  10. 30 Nov, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      defaultenv: simplify usage · 4f1535c8
      Alexandre Duret-Lutz authored
      * src/ltlenv/defaultenv.hh, src/ltlenv/defaultenv.cc (require): Return
      an atomic_prop*, not a formula*.
      * src/bin/randaut.cc, src/bin/randltl.cc, src/ltlvisit/apcollect.cc,
      src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc: Do not cast
      the return of require().
      4f1535c8
  11. 29 Nov, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      randaut: new binary · c5842c3a
      Alexandre Duret-Lutz authored
      * src/bin/randaut.cc, src/bin/man/randaut.x: New files.
      * src/bin/Makefile.am, src/bin/man/Makefile.am: Adjust.
      * src/tgbaalgos/randomgraph.hh, src/tgbaalgos/randomgraph.cc:
      Add an option to output state-based acceptance, and update
      the TGBA properties.
      * src/tgbatest/randaut.test: New test.
      * src/tgbatest/Makefile.am: Add it.
      c5842c3a