1. 09 Apr, 2013 3 commits
  2. 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
  3. 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
  4. 23 Jan, 2013 1 commit
  5. 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
  6. 20 Jan, 2013 1 commit
  7. 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
  8. 06 Jan, 2013 1 commit
  9. 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
  10. 28 Nov, 2012 1 commit
  11. 14 Nov, 2012 1 commit
  12. 23 Oct, 2012 1 commit
  13. 22 Oct, 2012 1 commit
  14. 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
  15. 20 Oct, 2012 1 commit
  16. 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
  17. 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
  18. 15 Oct, 2012 5 commits
  19. 14 Oct, 2012 7 commits
  20. 13 Oct, 2012 7 commits