1. 27 Apr, 2012 7 commits
    • Alexandre Duret-Lutz's avatar
      Remove the old broken game-theory-based simulation reductions. · 7e587584
      Alexandre Duret-Lutz authored
      This implementation of direct simulation was only working on
      degeneralized automata, and produce automata that are inferiors to
      those output by the new direct simulation implementation (in
      tgba/simulation.hh) which can also work on TGBA.  The delayed
      simulation has never been reliable.  It's time for some spring
      * src/tgba/tgbareduc.hh, src/tgba/tgbareduc.cc: Delete.
      * src/tgba/Makefile.am: Adjust.
      * src/tgbaalgos/reductgba_sim.cc, src/tgbaalgos/reductgba_sim.hh:
      Remove all code, and keep only a deprecated replacement
      from reduc_tgba_sim().
      * src/tgbaalgos/reductgba_sim_del.cc: Delete.
      * src/tgbaalgos/Makefile.am: Adjust.
      * src/tgbatest/reduccmp.test, src/tgbatest/reductgba.cc,
      src/tgbatest/reductgba.test: Delete.
      * src/tgbatest/Makefile.am: Adjust.
      * src/tgbatest/ltl2tgba.cc: Undocument options -R1s, -R1t,
      -R2s, -R2t, and implement them using the new direct simulation.
      Remove options -Rd and -RD.
      * src/tgbatest/spotlbtt.test: Remove entry using these old options.
      * wrap/python/spot.i: Do not process tgbaalgos/reductgba_sim.cc.
    • Alexandre Duret-Lutz's avatar
      slights documentation changes around direct simulation · 7ba4ab79
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/simulation.hh: Mention the fact that this is
      a "direct" simulation.
      * wrap/python/ajax/ltl2tgba.html: Likewise, and change the key
      to "ds".
      * wrap/python/ajax/protocol.txt, wrap/python/ajax/spot.in: Adjust.
    • Alexandre Duret-Lutz's avatar
      Document --without-included-lbtt. · cdd57645
      Alexandre Duret-Lutz authored
      * README: Here.
    • Alexandre Duret-Lutz's avatar
      Define WEXITSTATUS if not available (e.g. on MinGW) · 9ea0e00a
      Alexandre Duret-Lutz authored
      * iface/dve2/dve2.cc: Here.
    • Alexandre Duret-Lutz's avatar
      Use clock() when times() is not available. · 2c8e5297
      Alexandre Duret-Lutz authored
      * configure.ac: Check for times() and sys/times.h.
      * src/misc/timer.hh: Include sys/times.h conditionally
      and use clock() if times() is not available.
      Reported by Yann Thierry-Mieg.
    • Alexandre Duret-Lutz's avatar
      memusage: drop two useless includes. · 86201380
      Alexandre Duret-Lutz authored
      * src/misc/memusage.cc: Do not include the unneeded sys/time.hh
      and sys/resource.h.  Reported by Yann Thierry-Mieg.
    • Alexandre Duret-Lutz's avatar
      [lbtt] Remove a useless configure check. · 907ba16b
      Alexandre Duret-Lutz authored
      * configure.ac: Do not check for mkstemp(), it is not used.
  2. 18 Apr, 2012 4 commits
    • Thomas Badie's avatar
      Add the simulation in the Spot web interface. · dfcaed03
      Thomas Badie authored
      * wrap/python/ajax/spot.in: Add the simulation.
      * wrap/python/ajax/protocol.txt: Add the direct simulation in the
      automaton simplifications section.
      * wrap/python/spot.i (simulation_new): Create a function which
      takes an automaton and a call to the simulation with the good
      template parameter.
      * wrap/python/ajax/ltl2tgba.html: Add the direct simulation
    • Thomas Badie's avatar
      Fix two VPath-related bugs in bench. · 085ea52b
      Thomas Badie authored
      * bench/ltl2tgba/known (ltlfile): Add a $srcdir.
      * bench/ltlclasses/defs.in (builddir): Add the $builddir.
      * bench/ltlclasses/run (gen): Change the $srcdir into $builddir.
    • Thomas Badie's avatar
      Create the direct simulation. · 876f8c90
      Thomas Badie authored
      * src/tgbaalgos/simulation.cc, src/tgbaalgos/simulation.hh: New files.
      * src/tgbaalgos/Makefile.am: Add the new files to the compilation.
      * src/tgbatest/spotlbtt.test: Add the simulation.
      * src/tgbatest/ltl2tgba.cc: Add direct simulation (-RSD).
    • Thomas Badie's avatar
      Add a class to convert a bdd into its complement. · e75ad574
      Thomas Badie authored
      * src/misc/acccompl.cc, src/misc/acccompl.hh: Add a way to
      an acceptance condition in an automaton, into its
      Create a method to make the reverse operation.
      * src/misc/Makefile.am: Add the new files to the compilation.
  3. 13 Apr, 2012 3 commits
  4. 12 Apr, 2012 5 commits
    • Pierre PARUTTO's avatar
      Correct a bug in tgba_explicit_succ_iterator class · 937248e5
      Pierre PARUTTO authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * src/tgba/tgbaexplicit.hh (current_acceptance_conditiosn):
      remove a suspect and in return statement
    • Pierre PARUTTO's avatar
      Modify is_accepting sba's method to run in constant time. · 9cfc4082
      Pierre PARUTTO authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * src/tgba/tgbaexplicit.hh: modify is_accepting method
    • Pierre PARUTTO's avatar
      Implement sba_explicit class, add tests · eec3a12f
      Pierre PARUTTO authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * src/tgba/tgbaexplicit.hh: Add sba_explicit implementation
      * src/tgbatest/explicit2.cc: Add test to check the good instantiation
      of sba_explicit_*
    • Alexandre Duret-Lutz's avatar
      tgba_explicit: make the new class work with Swig. · 603c5d60
      Alexandre Duret-Lutz authored
      * src/tgba/tgbaexplicit.hh (explicit_graph, tgba_explicit): Make the
      transition type explicit.
      (state_explicit_string::get_iterator): New method.
      (explicit_graph::get_transition): Use it.
      (tba): Rename as ...
      (sba): ... this.
      * wrap/python/spot.i: Instanciate explicit_graph and tgba_explicit
      for all three types.
    • Pierre PARUTTO's avatar
      Revamp tgbaexplicit.hh · a15aac28
      Pierre PARUTTO authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * src/tgba/tgbaexplicit.hh, src/tgba/tgbaexplicit.cc: Factor most of
      the code in an explicit_graph<State, Type> that inherits from type.
      The tgba_explicit type<State> now inherits from
      * src/ltlvisit/contain.cc, src/neverparse/neverclaimparse.yy
      src/tgba/tgbareduc.cc, src/tgba/tgbareduc.hh, src/tgbaalgos/cutscc.cc,
      src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh,
      src/tgbaalgos/emptiness.cc, src/tgbaalgos/ltl2tgba_fm.cc,
      src/tgbaalgos/ltl2tgba_fm.hh, src/tgbaalgos/minimize.cc,
      src/tgbaalgos/powerset.cc, src/tgbaalgos/randomgraph.cc,
      src/tgbaalgos/sccfilter.cc, src/tgbaparse/tgbaparse.yy,
      src/tgbatest/complementation.cc, src/tgbatest/explicit.cc,
      src/tgbatest/explprod.cc, src/tgbatest/ltl2tgba.cc,
      src/tgbatest/mixprod.cc, src/tgbatest/powerset.cc,
      src/tgbatest/tgbaread.cc, src/tgbatest/tripprod.cc:
      Replace tgba_explicit* by the actual type used.
      * src/tgbatest/explicit2.cc: New file.
      * src/tgbatest/Makefile.am: Add it.
  5. 11 Apr, 2012 1 commit
  6. 19 Mar, 2012 1 commit
  7. 18 Mar, 2012 1 commit
  8. 17 Mar, 2012 1 commit
    • Alexandre Duret-Lutz's avatar
      Typo: rename automata_ as aut_. · 3fb29ce1
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/reachiter.hh, src/tgbaalgos/reachiter.cc,
      src/tgbaalgos/dotty.cc, src/tgbaalgos/dupexp.cc,
      src/tgbaalgos/lbtt.cc, src/tgbaalgos/neverclaim.cc,
      src/tgbaalgos/reductgba_sim.cc, src/tgbaalgos/reductgba_sim_del.cc,
      src/tgbaalgos/save.cc, src/tgbaalgos/sccfilter.cc,
      src/tgba/tgbareduc.cc, src/evtgbaalgos/tgba2evtgba.cc,
      src/kripke/kripkeprint.cc: Rename automata_ as aut_.
  9. 12 Mar, 2012 2 commits
  10. 09 Mar, 2012 3 commits
  11. 08 Mar, 2012 2 commits
  12. 04 Mar, 2012 2 commits
  13. 25 Feb, 2012 4 commits
    • Alexandre Duret-Lutz's avatar
      * NEWS: Summarize recent changes. · 503a57ca
      Alexandre Duret-Lutz authored
    • Alexandre Duret-Lutz's avatar
      Make all python code compatible with Python 2.x and Python 3.x. · 61127a3f
      Alexandre Duret-Lutz authored
      * wrap/python/buddy.i (__le__, __lt__, __eq__, __ne__, __ge__
      __gt__): New operators for bdd.
      * wrap/python/spot.i (__le__, __lt__, __eq__, __ne__, __ge__
      __gt__, __hash__): New operators for formula.
      (nl_cout, nl_cerr): New functions.
      * wrap/python/tests/bddnqueen.py,
      wrap/python/tests/interdep.py, wrap/python/tests/ltl2tgba.py,
      wrap/python/tests/ltlparse.py, wrap/python/tests/ltlsimple.py,
      wrap/python/tests/minato.py, wrap/python/tests/modgray.py: Adjust
      to the new print syntax by using sys.output.write() or nl_cout()
      * wrap/python/tests/optionmap.py: Remove all print calls.
      * wrap/python/ajax/spot.in: Massive adjustments in order to work
      with both Python 2 and 3.  In python 3, reopening stdout as
      unbuffered requires it to be open as binary, which in turns
      requires any string output to be encoded manually.  BaseHTTPServer
      and CGIHTTPServer have been merged into http.server, so we have
      to try two different import syntaxes.  execfile no longer exists,
      so it has to be emulated.
      This also fixes two bugs where the script would segfault on
      empty input, or when calling Tau03 on automata with less then
      one acceptance conditions.
    • Alexandre Duret-Lutz's avatar
      Fix computation of PYTHONINC for Python 3. · 5e77b249
      Alexandre Duret-Lutz authored
      * m4/pypath.m4: The print syntax changed in Python 3, so use
      sys.stdout.write for compatibility with all versions.
    • Alexandre Duret-Lutz's avatar
  14. 15 Feb, 2012 2 commits
  15. 24 Jan, 2012 1 commit
  16. 20 Jan, 2012 1 commit