1. 12 May, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      Introduce scc_filter_states(). · 6b5b002f
      Alexandre Duret-Lutz authored
      The main motivation is the upcoming patch that introduces
      simulation_sba() and requires this function.
      
      * src/tgbaalgos/sccfilter.hh, src/tgbaalgos/sccfilter.cc: Implement it.
      * src/tgbaalgos/postproc.cc: Use it for monitors, because we do not
      care about acceptance conditions.
      * NEWS: Mention it.
      6b5b002f
  2. 11 May, 2013 1 commit
  3. 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
  4. 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
  5. 28 Apr, 2013 2 commits
  6. 27 Apr, 2013 9 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
      isweakscc: cleanup interfaces and code · cb7cd868
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/isweakscc.cc, src/tgbaalgos/isweakscc.hh: Do not pass
      automata since they are known from the scc.  Avoid several dynamic
      casts.  Try to match the established vocabulary wrt "weak" and
      "inherently weak".  The old is_weak_scc() that used to enumerate cycles
      is therefore renamed to is_inherently_weak_scc(), while the new
      is_weak_scc() will should ensure all transitions are fully accepting.
      * NEWS: Mention the new interface.
      cb7cd868
    • Etienne Renault's avatar
      Heuristics for SCC strength · 450ec22b
      Etienne Renault authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      Provides 3 heurisitics to compute the strength of an SCC:
      inherent, structural and syntactic
      
      * src/tgbaalgos/isweakscc.cc: implementation
      * src/tgbaalgos/isweakscc.hh: definition
      450ec22b
    • Etienne Renault's avatar
      Fix Warning GCC 4.8 · b4fbbc95
      Etienne Renault authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * src/tgbatest/taatgba.cc: Remove unused typedef
      b4fbbc95
    • Alexandre Duret-Lutz's avatar
      Implement a favor_even_univ option in the rewriting rules. · 9caa9ad1
      Alexandre Duret-Lutz authored
      The set of rules enabled by favor_even_univ try to "lift" the
      subformulae that are both eventual and universal, so they appear
      higher in the AST.  This is contrary to what we used to do (and still
      do when the option is unset), were we try to postpone such subformulae
      (by moving them down the AST).  It is still a bit experimental.
      
      * src/ltlvisit/simplify.hh: Add option favor_event_univ.
      * src/ltlvisit/simplify.cc: Implement new rewriting rules.
      * doc/tl/tl.tex: Document them.
      * src/tgbatest/ltl2tgba.cc: Add option -ra to enable them.
      * src/tgbatest/spotlbtt.test: Test the translation with this option.
      * src/ltltest/reduc.cc, src/ltltest/equals.cc: Add option
      to enable the new rules.
      * src/ltltest/eventuniv.test: New file to test them.
      * src/ltltest/Makefile.am: Add it.
      9caa9ad1
    • 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
      scc_filter: Improve selection of missing acceptance sets. · 88cd376d
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/sccfilter.cc: Reuse existing acceptance set as filler
      in SCC sets that need less SCC sets than the other SCCs automaton.
      * src/tgbatest/sccsimpl.test: Add more tests.
      88cd376d
    • 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
    • Alexandre Duret-Lutz's avatar
      Introduce compositional suspension (SPIN'13) · 53c69235
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/compsusp.cc, src/tgbaalgos/compsusp.hh: New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbaalgos/sccfilter.cc, src/tgbaalgos/sccfilter.hh: Add option
      for suspended labels removal.
      * src/tgbatest/ltl2tgba.cc, src/tgbatest/spotlbtt.test: Test it.
      53c69235
  7. 15 Apr, 2013 1 commit
  8. 09 Apr, 2013 21 commits
  9. 04 Apr, 2013 3 commits
    • Alexandre Duret-Lutz's avatar
      * src/ltlast/formula.cc: Typo. · 2e7711a3
      Alexandre Duret-Lutz authored
      2e7711a3
    • Alexandre Duret-Lutz's avatar
      ltl2tgba: fix translation of !{xxx} when xxx reduces to false · c083c0df
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/ltl2tgba_fm.cc: Typo.
      * src/tgbatest/ltl2tgba.test: Add a test case.
      c083c0df
    • Alexandre Duret-Lutz's avatar
      fix a memory leak in basic LTL simplifications · a9fc213a
      Alexandre Duret-Lutz authored
      When something like XFa & FXa is reduced, the subformulae XFa and FXa
      are both rewritten separately to XFa, and then the vector of arguments
      of the And operators, [XFa,XFa], is passed through a specialized loop
      that searches of the form X(...) that can potentially be simplified with
      some other terms.  This loop converts the vector [XFa,XFa] into the set
      {XFa,XFa}={XFa} and forgot to deal with the case where the insertion
      would actually not add an existing subformula.
      
      * src/ltlvisit/simplify.cc: Fix the code for Or, and And.
      * src/ltltest/reduc0.test: New file, to test it.
      * src/ltltest/Makefile.am (TESTS): Add it.
      * src/ltltest/reduccmp.test: Add an extra test that does not
      trigger the bug (because reduccmp.test uses more than basic
      optimizations, and the implication-based simplifications are
      already able to detect that XFa and FXa are equivalent).
      a9fc213a