1. 11 May, 2013 1 commit
  2. 09 May, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      lbtt: improve the LBTT output · eed7e2df
      Alexandre Duret-Lutz authored
      Provide a way to output automata with state-based acceptance.  Also
      print the guards using to_lbt_string() for consistency: as a
      consequence, atomic proposition that do not match p[0-9]+ are now
      double-quoted.
      
      * src/tgbaalgos/lbtt.hh (lbtt_reachable): Add a sba option.
      * src/tgbaalgos/lbtt.cc: Implement it, and use to_lbt_string().
      * src/ltlvisit/lbt.cc (is_pnum): Reject 'p' without number.
      * src/bin/ltl2tgba.cc: Activate the sba option of --ba was given.
      Add an option --lbtt=t to get the old behavior.
      * src/bin/man/ltl2tgba.x: Document the LBTT format we use with
      some links and examples.
      * src/tgbatest/lbttparse.test: More tests.
      * src/tgbatest/ltlcross2.test: Add a check with --lbtt --ba.
      * NEWS: Update.
      eed7e2df
  3. 30 Apr, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      Fix genltl --gh-r · e2378b49
      Alexandre Duret-Lutz authored
      Reported by František Blahoudek.
      
      * src/bin/genltl.cc (R_n): Really generate (GFp1 || FGp2), not
      (GFp1 || GFp2).
      * NEWS: Mention the bug.
      * THANKS: Update.
      e2378b49
  4. 28 Apr, 2013 1 commit
  5. 27 Apr, 2013 3 commits
    • Alexandre Duret-Lutz's avatar
      ltlcross: count SCCs of various strenghts · fec939c1
      Alexandre Duret-Lutz authored
      * src/bin/ltlcross.cc: Implement the counters.
      * doc/org/ltlcross.org: Update the documentation.
      * bench/ltl2tgba/sum.py: Do not assume a fixed column for the time.
      * NEWS: Update.
      fec939c1
    • Alexandre Duret-Lutz's avatar
      translate: use compositional suspension on request · b6d4806d
      Alexandre Duret-Lutz authored
      This has to be turned on using "-x comp-susp" and other
      related options documented in spot-x (7).
      
      * src/tgbaalgos/translate.hh, src/tgbaalgos/translate.cc:
      Add support for calling composition-suspension, with
      optional simulation, WDBA-minimization, and composition.
      * src/bin/spot-x.cc: Document the new options.
      * src/bin/man/spot-x.x: Add some bibliography.
      * src/tgbatest/ltlcross2.test: Test it.
      b6d4806d
    • Alexandre Duret-Lutz's avatar
      postproc: Perform simulation on the BA in --high mode. · 4c2791e0
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: Do simulation
      on the BA produced in --high mode.
      * src/bin/spot-x.cc: Document the ba-simul option that can be used
      to disable it.
      4c2791e0
  6. 15 Apr, 2013 1 commit
  7. 09 Apr, 2013 10 commits
  8. 05 Mar, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      ltl_simplifier: add a boolean_to_isop option and method · c6406995
      Alexandre Duret-Lutz authored
      * src/ltlvisit/simplify.hh (ltl_simplifier_options): add
      a boolean_to_isop option
      (ltl_simplifier::boolean_to_isop): New method.
      * src/ltlvisit/simplify.cc: Implement these.
      * src/bin/ltlfilt.cc: Add a --boolean-to-isop option.
      * src/ltltest/isop.test: New file.
      * src/ltltest/Makefile.am: Add it.
      * NEWS: Mention it.
      c6406995
  9. 02 Mar, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: Fix handling of LTL simplification options. · b6b6582b
      Alexandre Duret-Lutz authored
      Enable LTL simplifications by default for ltl2tgba & ltl2tgta, and make
      sure the ltl_simplifier_options are all false initially.  Before this
      patch --low/-r1 had the same effect as --medium/-r2 with respect to LTL
      simplification.
      
      * src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc (simplification_level): Set
      to 3 by default.
      * src/bin/common_r.cc: Disable all ltl_simplifier options initially.
      b6b6582b
  10. 23 Jan, 2013 1 commit
  11. 21 Jan, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      ltlcross: diagnose missing i/o specifications earlier. · 6a547371
      Alexandre Duret-Lutz authored
      * src/misc/formater.cc, src/misc/formater.hh (scan): New method.
      (prime): Use it.
      * src/bin/ltlcross.cc (translator_runner::translator_runner): Scan each
      specification string, and report those missing an input or output
      %-sequence.
      * NEWS: Mention it.
      6a547371
  12. 20 Jan, 2013 1 commit
  13. 16 Jan, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      Fix several warnings reported by clang++ 3.2. · aa7b43ea
      Alexandre Duret-Lutz authored
      * src/tgba/tgbakvcomplement.cc
      (tgba_kv_complement_succ_iterator::current_state_),
      src/ta/taexplicit.hh (state_ta_explicit::source_):
      Remove useless private member.
      * src/ta/taexplicit.cc: Adjust constructors.
      * src/ta/tgta.cc, src/ta/taexplicit.hh: Also fix
      copyright banner.
      * src/bin/ltlcross.cc (exec_with_timeout): Work
      around warning about status not being set in the
      error path.
      aa7b43ea
  14. 06 Jan, 2013 1 commit
  15. 24 Dec, 2012 1 commit
    • Alexandre Duret-Lutz's avatar
      Address several issues reported by cppcheck all over the place. · a577850e
      Alexandre Duret-Lutz authored
      * src/bin/common_finput.cc, src/tgbaalgos/lbtt.cc: Use !empty() instead
      of size() > 0.
      * src/bin/ltl2tgta.cc, src/kripke/kripkeexplicit.cc,
      src/tgbatest/complementation.cc: Avoid useless assignments.
      * src/bin/ltlcross.cc: Correct mistaken assignment inside assert().
      * src/evtgba/symbol.hh, src/tgba/tgbabddcoredata.cc,
      src/tgba/tgbabddcoredata.hh,
      src/tgba/tgbasafracomplement.cc (operator=): Do not return a const
      reference.
      * src/evtgbatest/ltl2evtgba.cc, src/evtgbatest/product.cc,
      src/evtgbatest/product.cc: Check indices before using them, not after.
      * src/kripke/kripkeexplicit.cc, src/kripke/kripkeexplicit.hh,
      src/tgbatest/randtgba.cc: Pass constant strings by reference.
      * src/kripke/kripkeprint.cc, src/tgbaalgos/simulation.cc:
      Remove a useless operation.
      * src/ltlvisit/simplify.cc: Remove a duplicate condition.
      * src/misc/formater.hh: Remove unused attribute.
      * src/misc/modgray.cc: Initialize done_ in the constructor.
      * src/saba/explicitstateconjunction.cc,
      src/saba/explicitstateconjunction.hh (operator=): Fix prototype.
      * src/saba/sabacomplementtgba.cc: Remove unused default constructor.
      * src/ta/taexplicit.cc, src/ta/taproduct.cc, src/ta/tgtaproduct.cc,
      src/ta/tgtaproduct.hh, src/taalgos/emptinessta.cc,
      src/taalgos/minimize.cc, src/taalgos/reachiter.cc,
      src/taalgos/tgba2ta.cc, src/tgbaalgos/cutscc.cc: Use C++ casts, and
      ++it instead of it++.
      * src/taalgos/dotty.cc, src/tgbatest/ltl2tgba.cc: Refine the scope of
      variables.
      * src/tgba/tgbakvcomplement.hh (bdd_order): Always initialize bdd_.
      * src/tgba/tgbasgba.cc, src/tgba/wdbacomp.cc: Use the initialization
      line to initialize all members.
      a577850e
  16. 28 Nov, 2012 1 commit
  17. 14 Nov, 2012 1 commit
  18. 23 Oct, 2012 1 commit
  19. 22 Oct, 2012 1 commit
  20. 21 Oct, 2012 2 commits
    • Alexandre Duret-Lutz's avatar
      rename ltlcheck as ltlcross · f3ef9de0
      Alexandre Duret-Lutz authored
      * src/bin/ltlcheck.cc, src/bin/man/ltlcheck.x,
      src/tgbatest/ltlcheck.test, src/tgbatest/ltlcheck2.test: Rename as ...
      * src/bin/ltlcross.cc, src/bin/man/ltlcross.x,
      src/tgbatest/ltlcross.test, src/tgbatest/ltlcross2.test: ... these.
      * NEWS, src/bin/Makefile.am, src/bin/man/Makefile.am,
      src/tgbatest/Makefile.am: Adjust.
      f3ef9de0
    • Alexandre Duret-Lutz's avatar
      postproc: add the possibility to output a monitor · 76787b23
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/stripacc.cc, src/tgbaalgos/stripacc.hh: New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: Add a Monitor
      output option.
      * src/bin/ltl2tgba.cc: Add a --monitor/-M option.
      * NEWS: Mention monitors.
      * src/tgba/tgbaexplicit.hh (is_accepting_state): Fix for the
      case where the automaton has no acceptance set.
      76787b23
  21. 20 Oct, 2012 1 commit
  22. 19 Oct, 2012 2 commits
    • Alexandre Duret-Lutz's avatar
      bin: Adjust version display and help options. · b8ed85a3
      Alexandre Duret-Lutz authored
      In particular, this get rid of the ugly -? option that argp adds by
      default, and we also remove -V so that we can use it for something
      else later.
      
      * src/bin/common_setup.cc, src/bin/common_setup.hh (misc_argp):
      Provide support for --help/--version/--usage output, replacing argp's
      default builting version.
      * src/bin/genltl.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc,
      src/bin/ltlcheck.cc, src/bin/ltlfilt.cc, src/bin/randltl.cc:
      Call argp_parse() with ARGP_NO_HELP, and use misc_argp instead.
      b8ed85a3
    • Alexandre Duret-Lutz's avatar
  23. 17 Oct, 2012 1 commit
    • Alexandre Duret-Lutz's avatar
      ltlparse: add a lenient parsing mode · 86dac4aa
      Alexandre Duret-Lutz authored
      Spin 6 supports formulas such as []<>(a < b) so that atomic properties
      need not be specified using #define.  Of course we don't want to
      implement all the syntax of Spin in our LTL parser because other tools
      may have different syntaxes for their atomic propositions.  The
      lenient mode tells the scanner to return any (...), {...}, or {...}!
      block as a single token.  The parser will try to recursively parse
      this block as a LTL/SERE formula, and if this fails, it will consider
      the block to be an atomic proposition.  The drawback is that most
      syntax errors will no be considered to be atomic propositions.  For
      instance (a U b U) is a single atomic proposition in lenient mode, and
      a syntax error in default mode.
      
      * src/ltlparse/ltlparse.yy, src/ltlparse/ltlscan.ll,
      src/ltlparse/parsedecl.hh, src/ltlparse/public.hh: Add a
      lenient parsing mode.  Simplify the lexer using yy_scan_string.
      * src/bin/common_finput.cc: Add a --lenient option.
      * src/ltltest/lenient.test: New file.
      * src/ltltest/Makefile.am: Add it.
      * src/neverparse/neverclaimparse.yy: Parse the guards in lenient mode.
      * src/tgbatest/neverclaimread.test: Adjust.
      * src/ltlvisit/tostring.cc: When outputing a formula in Spin's syntax,
      output (a < b) instead of "a < b".
      * src/misc/escape.cc, src/misc/escape.hh (trim): New helper function.
      86dac4aa
  24. 15 Oct, 2012 4 commits