1. 05 May, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      introduce spot::split_edges() · 19aae6f9
      Alexandre Duret-Lutz authored
      Fixes #255.
      
      * spot/twaalgos/split.cc, spot/twaalgos/split.hh,
      tests/core/split.test: New files.
      * spot/twaalgos/Makefile.am, tests/Makefile.am: Add them.
      * bin/autfilt.cc (--split-edges): New option.
      * python/spot/impl.i: Process split.hh.
      * tests/python/alternating.py: Test split_edges() on
      an alternating automaton.
      19aae6f9
  2. 07 Apr, 2017 1 commit
    • Thomas Medioni's avatar
      implement dualize to complement automatons · c9d8d41f
      Thomas Medioni authored
      * NEWS: Mention the implementation
      * python/spot/impl.i: Add dualize() to python interface.
      * spot/twaalgos/Makefile.am: Add dualize.cc,hh to the build
      * spot/twaalgos/dualize.cc: Implement dualize() that takes an automaton
        and returns its dual
      * spot/twaalgos/dualize.hh: Implement dualize()
      * tests/Makefile.am: Add dualize tests to the test suite
      * tests/python/dualize.py: Test cases for dualize
      c9d8d41f
  3. 09 Mar, 2017 1 commit
    • Thomas Medioni's avatar
      Implement sum(..) and sum_and(..). · 194c1992
      Thomas Medioni authored
      Fixes #231.
      
      * NEWS: Mention of implementation of sum, sum_and.
      * bin/autfilt.cc: Add --sum, --sum-or and --sum-and options.
      * python/spot/impl.i: Add bindings for sum, sum_and.
      * spot/twaalgos/Makefile.am: Add sum.cc, sum.hh.
      * spot/twaalgos/sum.cc: Implement sum, sum_and.
      * spot/twaalgos/sum.hh: Declaration of sum, sum_and.
      * tests/Makefile.am: Add sum tests.
      * tests/core/explsum.test: Test the sum of two automatons,
        false or false, unsatisfied mark propagation, handling of univ.
        transitions.
      * tests/python/sum.py: Check that two automatons that does not
        share their bdd dict are not accepted, then run tests over the
        sum of randomly generated LTL formulas.
      194c1992
  4. 06 Jan, 2017 1 commit
    • Alexandre GBAGUIDI AISSE's avatar
      twaalgos: Implement language_map algo · 8a0eed6c
      Alexandre GBAGUIDI AISSE authored
      * python/spot/impl.i: Add python bindings.
      * spot/twaalgos/langmap.cc: Implement algo.
      * spot/twaalgos/langmap.hh: Declare algo.
      * spot/twaalgos/Makefile.am: Add new files.
      * tests/python/langmap.py: Add tests.
      * NEWS: Update.
      8a0eed6c
  5. 27 Dec, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      alternation: add a states_and algorithm · 27ab631c
      Alexandre Duret-Lutz authored
      This should will come handy to implement the convertion from LTL to
      alternating automata, and to handle automata with multiple initial
      states.
      
      * spot/twaalgos/alternation.hh, spot/twaalgos/alternation.cc: New files.
      * spot/twaalgos/Makefile.am: Add them.
      * python/spot/impl.i: Add bindings.
      * tests/python/alternating.py: Test states_and.
      27ab631c
  6. 13 Dec, 2016 1 commit
    • Maximilien Colange's avatar
      Add a new, parameterized, version of the Couvreur emptiness check. · 1a08eca8
      Maximilien Colange authored
      This version has optimization for explicit twa, and also for weak and
      terminal (depending on whether an accepting run is requested) automata.
      
      * spot/twaalgos/couvreurnew.hh, spot/twaalgos/couvreurnew.cc,
        spot/twaalgos/Makefile.am: New files for the new algorithm.
      * spot/twaalgos/emptiness.cc, tests/core/randtgba.cc:
        Register new algorithm.
      1a08eca8
  7. 18 Jul, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      remove the incorrect project_twa_run() · d1aca565
      Alexandre Duret-Lutz authored
      It was bogus, and is better replaced by twa_run::project().
      
      * NEWS, doc/org/upgrade2.org: Mention the removal.
      * spot/twaalgos/projrun.cc, spot/twaalgos/projrun.hh: Remove the files.
      * spot/twaalgos/Makefile.am: Adjust.
      d1aca565
  8. 12 Feb, 2016 2 commits
  9. 05 Jan, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      move the sanity tests in tests/sanity/ · 6e854b6d
      Alexandre Duret-Lutz authored
      * spot/sanity/: Move ...
      * tests/sanity/: ... here.
      * spot/sanity/Makefile.am: Merge with...
      * tests/Makefile.am: ... this.
      * tests/run.in: Learn to run perl tests.
      * README, configure.ac, spot/Makefile.am: Adjust.
      * spot/tl/mark.hh: Add missing SPOT_API detected by
      fixed private.test.
      
      * spot/twaalgos/weight.cc, spot/twaalgos/weight.hh: Move...
      * spot/priv/weight.cc, spot/priv/weight.hh: ... here, as
      suggested by fixed private.test.
      * spot/twaalgos/tau03opt.cc, spot/twaalgos/Makefile.am,
      spot/priv/Makefile.am: Adjust.
      6e854b6d
  10. 04 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      rename src/ as spot/ and use include <spot/...> · f120dd32
      Alexandre Duret-Lutz authored
      * NEWS: Mention the change.
      * src/: Rename as ...
      * spot/: ... this, adjust all headers to include <spot/...> instead of
      "...", and adjust all Makefile.am to search headers from the top-level
      directory.
      * HACKING: Add conventions about #include.
      * spot/sanity/style.test: Add a few more grep to catch cases
      that do not follow these conventions.
      * .gitignore, Makefile.am, README, bench/stutter/Makefile.am,
      bench/stutter/stutter_invariance_formulas.cc,
      bench/stutter/stutter_invariance_randomgraph.cc, configure.ac,
      debian/rules, doc/Doxyfile.in, doc/Makefile.am,
      doc/org/.dir-locals.el.in, doc/org/g++wrap.in, doc/org/init.el.in,
      doc/org/tut01.org, doc/org/tut02.org, doc/org/tut03.org,
      doc/org/tut10.org, doc/org/tut20.org, doc/org/tut21.org,
      doc/org/tut22.org, doc/org/tut30.org, iface/ltsmin/Makefile.am,
      iface/ltsmin/kripke.test, iface/ltsmin/ltsmin.cc,
      iface/ltsmin/ltsmin.hh, iface/ltsmin/modelcheck.cc,
      wrap/python/Makefile.am, wrap/python/ajax/spotcgi.in,
      wrap/python/spot_impl.i, wrap/python/tests/ltl2tgba.py,
      wrap/python/tests/randgen.py, wrap/python/tests/run.in: Adjust.
      f120dd32
  11. 24 Nov, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      sat: rename dtgbasat as dtwasat · a5ca9dbc
      Alexandre Duret-Lutz authored
      * src/twaalgos/dtgbasat.cc, src/twaalgos/dtgbasat.hh: Rename as...
      * src/twaalgos/dtwasat.cc, src/twaalgos/dtwasat.hh: ... these.
      * src/bin/autfilt.cc, src/tests/ikwiad.cc, src/twaalgos/Makefile.am,
      src/twaalgos/postproc.cc, wrap/python/spot_impl.i: Adjust.
      * NEWS: Mention the renamings.
      a5ca9dbc
  12. 07 Nov, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      rename safety.hh as strength.hh · 81cfa05a
      Alexandre Duret-Lutz authored
      * src/twaalgos/safety.cc, src/twaalgos/safety.hh: Rename as ...
      * src/twaalgos/strength.cc, src/twaalgos/strength.hh: ... these.
      * src/bin/ltlfilt.cc, src/tests/ikwiad.cc, src/twaalgos/Makefile.am,
      src/twaalgos/compsusp.cc, src/twaalgos/minimize.cc,
      wrap/python/spot_impl.i: Adjust.
      81cfa05a
  13. 25 Oct, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      twa_run: swallow reduce_run, replay_twa_run, twa_run_to_tgba · 99c967f0
      Alexandre Duret-Lutz authored
      These now become twa_run::reduce, twa_run::replay, and
      twa_run::as_twa.
      
      * src/twaalgos/reducerun.cc, src/twaalgos/reducerun.hh,
      src/twaalgos/replayrun.cc, src/twaalgos/replayrun.hh: Delete.
      * src/twaalgos/Makefile.am: Adjust.
      * src/twaalgos/emptiness.cc, src/twaalgos/emptiness.hh: Move
      the above functions here, as method of twa_run.
      * src/bin/common_aoutput.hh, src/bin/ltlcross.cc,
      src/tests/emptchk.cc, src/tests/ikwiad.cc, src/tests/randtgba.cc,
      wrap/python/ajax/spotcgi.in, iface/ltsmin/modelcheck.cc: Adjust.
      * NEWS: List the renamings.
      99c967f0
  14. 13 Oct, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      restructure the complementation code · 06d3bc67
      Alexandre Duret-Lutz authored
      The previous code was sometime doing the work of remove_fin() in
      addition to complementing the acceptance conditions.  This separate
      the two operations clearly.  Also the specialized code for
      complementing weak automata is now a specialized code for remove_fin()
      on weak automata.
      
      * src/twaalgos/dtgbacomp.hh, src/twaalgos/dtgbacomp.cc: Rename as ...
      * src/twaalgos/complement.hh, src/twaalgos/complement.cc: ... these.
      * src/twaalgos/Makefile.am: Adjust.
      * src/twaalgos/complement.hh (dtgba_complement): Rename as ...
      (dtwa_complement): ... this, and restrict the purpose to completion
      and accetance complementation.  Further acceptance simplification
      can be done with remove_fin() and to_generalized_buchi().
      * src/twaalgos/remfin.cc (remove_fin): Specialize handling of weak
      automata using the code that was originally in dtgba_complement().
      Also mark the output as state-based when the input has to Inf.
      * src/twaalgos/postproc.cc, src/twaalgos/postproc.hh: Make sure
      scc_filter is always called after to_generalized_buchi().
      * bench/stutter/stutter_invariance_randomgraph.cc,
      src/bin/ltlcross.cc, src/tests/ikwiad.cc, src/twaalgos/minimize.cc,
      src/twaalgos/powerset.cc, src/twaalgos/stutter.cc: Adjust usage.
      * src/tests/dstar.test, src/tests/ltl2dstar4.test,
      src/tests/remfin.test: Adjust expected outputs.
      * wrap/python/spot_impl.i: Export dtwa_complement().
      06d3bc67
  15. 30 Sep, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      dupexp: rename to copy, and preserve named states on request · 0bbcd6e8
      Alexandre Duret-Lutz authored
      * src/twaalgos/dupexp.cc, src/twaalgos/dupexp.hh: Rename to...
      * src/twaalgos/copy.cc, src/twaalgos/copy.hh: ... these.
      Get rid of dupexp_bfs, rename dupexp_dfs as copy, and add
      an option to preserve named states.
      * src/twaalgos/Makefile.am, src/tests/dupexp.test,
      src/tests/ikwiad.cc, src/tests/sccsimpl.test,
      src/twa/twagraph.hh, src/twaalgos/dot.cc,
      src/twaalgos/stutter.cc, wrap/python/spot_impl.i: Adjust.
      * NEWS: Mention this change.
      0bbcd6e8
  16. 20 Aug, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      remove algorithms that where only used by dstar's dra2ba conversion · 62f5b976
      Alexandre Duret-Lutz authored
      Since we just removed that conversion, those can go as well.  Yay!
      
      * src/tests/kv.test, src/twa/twamask.cc,
      src/twa/twamask.hh, src/twa/twaproxy.cc,
      src/twa/twaproxy.hh, src/twaalgos/scc.cc,
      src/twaalgos/scc.hh: Delete.
      * src/twaalgos/Makefile.am, src/twa/Makefile.am,
      src/tests/Makefile.am, src/tests/ikwiad.cc: adjust.
      62f5b976
  17. 05 Jun, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      adjust names for automata printers · 738f939f
      Alexandre Duret-Lutz authored
      The following renamings are made:
      
        never_claim_reachable -> print_never_claim
        hoa_reachable   -> print_hoa
        lbtt_reachable  -> print_lbtt
        dotty_reachable -> print_dot
        ltl::dotty      -> print_dot_psl
      
      Fixes #89.
      
      * src/ltlvisit/dotty.cc, src/ltlvisit/dotty.hh, src/taalgos/dotty.cc,
      src/taalgos/dotty.hh src/twaalgos/dotty.cc, src/twaalgos/dotty.hh:
      Rename...
      * src/ltlvisit/dot.cc, src/ltlvisit/dot.hh src/taalgos/dot.cc,
      src/taalgos/dot.hh src/twaalgos/dot.cc, src/twaalgos/dot.hh:
      ... those.
      * bench/stutter/stutter_invariance_randomgraph.cc,
      iface/ltsmin/modelcheck.cc, src/bin/common_aoutput.cc,
      src/bin/dstar2tgba.cc, src/bin/ltl2tgta.cc, src/dstarparse/dra2ba.cc,
      src/ltlvisit/Makefile.am, src/taalgos/Makefile.am,
      src/tests/checkpsl.cc, src/tests/checkta.cc,
      src/tests/complementation.cc, src/tests/emptchk.cc,
      src/tests/ltl2tgba.cc, src/tests/ltlprod.cc, src/tests/randtgba.cc,
      src/tests/readltl.cc, src/tests/taatgba.cc, src/tests/twagraph.cc,
      src/twa/twa.hh, src/twa/twasafracomplement.cc,
      src/twaalgos/Makefile.am, src/twaalgos/dtbasat.cc,
      src/twaalgos/dtgbasat.cc, src/twaalgos/dupexp.cc,
      src/twaalgos/lbtt.cc, src/twaalgos/lbtt.hh,
      src/twaalgos/ltl2tgba_fm.cc, src/twaalgos/neverclaim.cc,
      src/twaalgos/neverclaim.hh, wrap/python/ajax/spot.in,
      wrap/python/spot.py, wrap/python/spot_impl.i,
      wrap/python/tests/ltl2tgba.py, wrap/python/tests/parsetgba.py: Adjust.
      738f939f
  18. 14 May, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      autfilt: new --separate-sets option · 3d1ccdc4
      Alexandre Duret-Lutz authored
      * src/twaalgos/sepsets.cc, src/twaalgos/sepsets.hh: New files.
      * src/twaalgos/Makefile.am: Add them.
      * src/twa/acc.hh (get_acceptance): Add a non-const version.
      * src/bin/autfilt.cc: Add the --separate-sets option.
      * src/tests/sepsets.test: New file.
      * src/tests/Makefile.am: Add it.
      3d1ccdc4
  19. 12 May, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      Add an is_unambiguous() function, use it in ltlcross and autfilt · 98de84f3
      Alexandre Duret-Lutz authored
      * src/twaalgos/isunamb.hh, src/twaalgos/isunamb.cc: New files.
      * src/twaalgos/Makefile.am: Add them.
      * src/tests/unambig.test: New file.
      * src/tests/Makefile.am: Add it.
      * src/bin/ltlcross.cc: Record whether each produced automaton is
      ambiguous.
      * src/bin/autfilt.cc: Add a --is-unambiguous option.
      * NEWS: Mention it.
      98de84f3
  20. 22 Apr, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      rename src/tgbaalgos/ as src/twaalgos/ · de529df5
      Alexandre Duret-Lutz authored
      Automatic mass renaming.
      
      * src/tgbaalgos/: Rename as...
      * src/twaalgos/: ... this.
      * README, configure.ac, iface/ltsmin/modelcheck.cc, src/Makefile.am,
      src/bin/autfilt.cc, src/bin/common_aoutput.cc,
      src/bin/common_aoutput.hh, src/bin/common_output.hh,
      src/bin/common_post.hh, src/bin/dstar2tgba.cc, src/bin/ltl2tgba.cc,
      src/bin/ltl2tgta.cc, src/bin/ltlcross.cc, src/bin/ltldo.cc,
      src/bin/ltlfilt.cc, src/bin/randaut.cc, src/dstarparse/dra2ba.cc,
      src/dstarparse/nra2nba.cc, src/dstarparse/nsa2tgba.cc,
      src/graphtest/twagraph.cc, src/kripke/kripkeprint.cc,
      src/ltlvisit/contain.cc, src/ltlvisit/contain.hh,
      src/ltlvisit/exclusive.cc, src/taalgos/emptinessta.hh,
      src/tgbatest/checkpsl.cc, src/tgbatest/checkta.cc,
      src/tgbatest/complementation.cc, src/tgbatest/emptchk.cc,
      src/tgbatest/ltl2tgba.cc, src/tgbatest/ltlprod.cc,
      src/tgbatest/randtgba.cc, src/tgbatest/taatgba.cc, src/twa/twa.cc,
      src/twa/twagraph.hh, src/twa/twasafracomplement.cc,
      wrap/python/spot_impl.i: Adjust.
      de529df5
  21. 02 Apr, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      new transformation from Fin-less to TGBA · e589e208
      Alexandre Duret-Lutz authored
      Fixes #72.
      
      * src/tgbaalgos/totgba.cc, src/tgbaalgos/totgba.hh: New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: Add
      a Generic output type, and call to_generalized_buchi() if
      this type is not selected.
      * src/tgbatest/remfin.test: Add some tests.
      * src/bin/autfilt.cc: Add a --generic option, and set it
      by default.
      e589e208
  22. 24 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      autfilt: add a --remove-ap option · 4553ac06
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/remprop.cc, src/tgbaalgos/remprop.hh: New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbatest/remprop.test: New test.
      * src/tgbatest/Makefile.am: Add it.
      * src/bin/autfilt.cc: Implement the option.
      * doc/org/autfilt.org: Document it.
      4553ac06
  23. 26 Feb, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      Add a cleanup_acceptance() algorithm · 659107a0
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/cleanacc.cc, src/tgbaalgos/cleanacc.hh: New file.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgba/acc.hh, src/tgba/tgba.hh (get_acceptance): Return a
      reference.
      * src/bin/autfilt.cc: Add a --cleanup-acceptance option.
      * src/tgbatest/hoaparse.test: Test it.
      659107a0
    • Alexandre Duret-Lutz's avatar
      Add a remove_fin() algorithm · 85508a0e
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Add remove_fin().
      * src/tgba/acc.cc, src/tgba/acc.hh: Add is_dnf() and simplify eval().
      * src/tgbaalgos/remfin.cc, src/tgbaalgos/remfin.hh: New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbatest/remfin.test: New file.
      * src/tgbatest/Makefile.am: Add it.
      85508a0e
  24. 03 Feb, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      autfilt: add a --sbacc option · acb67c1b
      Alexandre Duret-Lutz authored
      ... to force automata into state-based acceptance.
      
      * src/tgbaalgos/sbacc.cc, src/tgbaalgos/sbacc.hh,
      src/tgbatest/sbacc.test: New files.
      * src/tgbaalgos/Makefile.am, src/tgbatest/Makefile.am: Add
      them.
      * src/tgba/tgbagraph.hh (copy_acceptance_conditions_of):
      Call set_acceptance_conditions().
      * src/bin/autfilt.cc: Add option --sbacc.
      acb67c1b
  25. 31 Jan, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      save: remove · dbd824c5
      Alexandre Duret-Lutz authored
      Get rid of the output in Spot's format.
      
      This finally fixes #1.
      
      * src/tgbaalgos/save.cc, src/tgbaalgos/save.hh: Delete.
      * src/tgbaalgos/Makefile.am: Adjust.
      * src/ltlvisit/contain.cc: Remove useless includes.
      * src/bin/dstar2tgba.cc, src/bin/common_aoutput.cc,
      src/bin/common_aoutput.hh: Remove the "Spot" output.
      * doc/org/dstar2tgba.org, doc/org/ioltl.org,
      doc/org/ltl2tgba.org, doc/org/oaut.org: Update doc.
      * NEWS: Mention that Spot i/o is gone.
      * src/tgbatest/randtgba.cc: Output in HOA.
      * src/tgbatest/randtgba.test: Use randaut instead of
      randtgba.
      * wrap/python/spot.i: Do not provide binding for save.hh
      dbd824c5
    • Alexandre Duret-Lutz's avatar
      maskacc: Add a tgba_digraph version · d0f0be23
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/mask.cc, src/tgbaalgos/mask.hh: New files.
      * src/tgbaalgos/Makefile.am: Adjust.
      * src/tgba/acc.hh (mark_t::set): New method.
      * src/bin/autfilt.cc: Add option --mask-acc.
      * src/tgbatest/maskacc.test: Rewrite.
      * src/tgbatest/maskacc.cc: Delete.
      * src/tgbatest/Makefile.am: Adjust.
      d0f0be23
  26. 27 Jan, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      ltldo: automatic renaming of AP · 259c9faa
      Alexandre Duret-Lutz authored
      * src/bin/ltldo.cc: Relabel formula and output automata as needed.
      * src/tgbaalgos/relabel.cc, src/tgbaalgos/relabel.hh: New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbatest/ltldo.test: Add some tests.
      * doc/org/ltldo.org: Document this.
      259c9faa
  27. 24 Jan, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      dotty: get rid of the decorated version · 49701ca3
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/dottydec.cc, src/tgbaalgos/dottydec.hh,
      src/tgbaalgos/rundotdec.cc, src/tgbaalgos/rundotdec.hh: Delete.
      * src/tgbaalgos/Makefile.am, wrap/python/spot.i: Adjust.
      * src/tgbaalgos/dotty.cc, src/tgbaalgos/dotty.hh: Remove the
      decorated version, and the related arguments.
      * src/bin/common_aoutput.cc, src/bin/dstar2tgba.cc,
      src/tgbatest/ltl2tgba.cc, src/tgbatest/complementation.cc,
      src/tgbatest/emptchk.cc: Adjust calls.
      * wrap/python/ajax/spot.in: Draw the accepting run as an
      automaton instead of painting it.
      * wrap/python/ajax/ltl2tgba.html: Update help text.
      49701ca3
  28. 08 Jan, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      stutter: gather all code in one place · bb9b204d
      Alexandre Duret-Lutz authored
      * src/tgba/tgbasl.cc, src/tgba/tgbasl.hh, src/tgbaalgos/closure.cc,
      src/tgbaalgos/closure.hh, src/tgbaalgos/stutter_invariance.cc,
      src/tgbaalgos/stutter_invariance.hh, src/tgbaalgos/stutterize.cc,
      src/tgbaalgos/stutterize.hh: Delete these files, and merge their
      contents into...
      * src/tgbaalgos/stutter.cc, src/tgbaalgos/stutter.hh: ... these two.
      * src/tgba/Makefile.am, src/tgbaalgos/Makefile.am: Adjust.
      * wrap/python/spot.i: Adjust.
      bb9b204d
  29. 17 Dec, 2014 1 commit
    • Thibaud Michaud's avatar
      Adding function to canonicalize an automaton. · 1995602d
      Thibaud Michaud authored
      * src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/are_isomorphic.hh,
      src/bin/autfilt.cc: are_isomorphic now uses canonicalize. It returns a
      bool, because the mapping cannot be deduced easily from the
      canonicalized automaton.
      * src/graph/graph.hh: Add equality operator to trans_storage_t
      for easy comparison of transition vectors.
      * src/tgba/tgbagraph.hh: Add equality operator to tgba_graph_trans_data
      and to tgba_digraph.
      * src/tgbaalgos/canonicalize.cc, src/tgbaalgos/canonicalize.hh:
      New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbatest/isomorph.test: Test them.
      1995602d
  30. 10 Dec, 2014 1 commit
    • Thibaud Michaud's avatar
      Adding function to test if two büchi automata are isomorphic. · 97fdea9d
      Thibaud Michaud authored
      And add the corresponding --isomorphic=FILENAME option to autfilt.
      
      * src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/are_isomorphic.hh:
      New.
      * src/tgbaalgos/Makefile.am: Add it.
      * src/bin/autfilt.cc: Add --isomorphic option.
      * src/tgbatest/isomorph.test: Test it.
      * src/tgbatest/Makefile.am: Add it.
      97fdea9d
  31. 03 Dec, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      randomize: new function · c0e98912
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/randomize.cc, src/tgbaalgos/randomize.hh: New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/graph/graph.hh (rename_states_): New method.
      * src/bin/autfilt.cc: Add options --randomize and --seed.
      * src/tgbatest/randomize.test: Test them.
      * src/tgbatest/Makefile.am: Add randomize.test.
      * NEWS: Mention randomize().
      c0e98912
  32. 25 Nov, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      hoa: rename hoaf_reachable() to hoa_reachable() · f08a26f7
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/hoaf.cc, src/tgbaalgos/hoaf.hh: Rename to...
      * src/tgbaalgos/hoa.cc, src/tgbaalgos/hoa.hh: ... these, and
      fix the function names.
      * src/tgbaalgos/Makefile.am, src/bin/autfilt.cc,
      src/bin/dstar2tgba.cc, src/bin/ltl2tgba.cc, src/tgbatest/ltl2tgba.cc:
      Adjust all calls.
      f08a26f7
  33. 14 Nov, 2014 1 commit
    • Thibaud Michaud's avatar
      Adding tgba-based stutter-invariance checking · 37bcb5d9
      Thibaud Michaud authored
      * src/tgbaalgos/closure.cc, src/tgbaalgos/closure.hh:
      Add closure function.
      * src/tgbaalgos/stutterize.cc, src/tgbaalgos/stutterize.hh:
      Add two implementations of "self-loopize" function.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgba/tgbasl.cc, src/tgba/tgbasl.hh: On-the-fly implementation of
      self-loopize.
      * src/tgba/Makefile.am: Add it.
      * src/tgbatest/ltl2tgba.cc, src/tgbatest/stutter_invariant.test: Test
      closure and sl.
      * src/tgbatest/Makefile.am: Adjust.
      * src/bin/ltlfilt.cc: Modify stutter-invariant option to use
      automaton-based checking rather than syntactic-based checking.
      * src/ltlvisit/remove_x.cc, src/ltlvisit/remove_x.hh:
      Remove is_stutter_insensitive function.
      * src/tgbaalgos/stutter_invariance.cc,
      src/tgbaalgos/stutter_invariance.hh: Check if a formula is
      stutter-invariant using closure and sl.
      * wrap/python/spot.i: Add closure and sl bindings.
      * bench/stutter/stutter_invariance_formulas.cc: Generate benchmarks from
      given formulas.
      * bench/stutter/stutter_invariance_randomgraph.cc: Generate benchmarks
      from random automata.
      * bench/stutter/Makefile.am: Add them.
      * configure.ac: Add bench/stutter/Makefile.
      * bench/Makefile.am: Add stutter subdirectory.
      * README: Document bench/stutter directory.
      37bcb5d9
  34. 08 Oct, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      Replace most uses of scc_map by scc_info. · 2fb436a1
      Alexandre Duret-Lutz authored
      This involves reimplementing some algorithms using tgba_digraph, and
      implementing an explicit product that takes two tgba_digraphs and
      produces a tgba_digraph.
      
      * src/tgbaalgos/product.cc, src/tgbaalgos/product.hh: New files.
      * src/tgbaalgos/Makefile.am: Adjust.
      * src/bin/ltlcross.cc, src/tgba/tgba.cc, src/tgba/tgba.hh,
      src/tgba/tgbasafracomplement.cc, src/tgba/tgbasafracomplement.hh,
      src/tgbaalgos/cycles.cc, src/tgbaalgos/cycles.hh,
      src/tgbaalgos/degen.cc, src/tgbaalgos/degen.hh,
      src/tgbaalgos/isweakscc.cc, src/tgbaalgos/isweakscc.hh,
      src/tgbaalgos/minimize.cc, src/tgbaalgos/minimize.hh,
      src/tgbaalgos/powerset.cc, src/tgbaalgos/powerset.hh,
      src/tgbaalgos/safety.cc, src/tgbaalgos/safety.hh,
      src/tgbaalgos/sccinfo.cc, src/tgbaalgos/sccinfo.hh,
      src/tgbatest/complementation.cc, src/tgbatest/emptchk.cc,
      src/tgbatest/ltl2ta.test, src/tgbatest/ltl2tgba.cc,
      src/tgbatest/randtgba.cc: Update to use scc_info and/or tgba_digraph.
      2fb436a1
  35. 20 Aug, 2014 1 commit
  36. 12 Aug, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      remove tgba_explicit variants and the old scc_filter · e6ea90e3
      Alexandre Duret-Lutz authored
      * src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh: Delete.
      * src/tgba/Makefile.am: Adjust.
      * src/tgbaalgos/reductgba_sim.cc, src/tgbaalgos/reductgba_sim.hh:
      Delete these obsoleted algorithms.
      * src/tgbaalgos/Makefile.am: Adjust.
      * src/tgbatest/explicit.cc, src/tgbatest/explicit.test,
      src/tgbatest/explicit2.cc, src/tgbatest/explicit2.test,
      src/tgbatest/explicit3.cc, src/tgbatest/explicit3.test:
      Delete.
      * src/tgbatest/Makefile.am: Adjust.
      * src/bin/ltl2tgba.cc, src/priv/countstates.cc,
      src/tgbaalgos/isweakscc.cc, src/tgbaalgos/lbtt.cc,
      src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/minimize.cc,
      src/tgbaalgos/minimize.hh, src/tgbaalgos/powerset.cc,
      src/tgbaalgos/powerset.hh, src/tgbaalgos/sccfilter.cc,
      src/tgbaalgos/sccfilter.hh, src/tgbaalgos/simulation.cc,
      src/tgbatest/explprod.cc, src/tgbatest/ltl2tgba.cc,
      src/tgbatest/powerset.cc, src/tgbatest/tgbaread.cc,
      src/tgbatest/tripprod.cc, wrap/python/ajax/spot.in,
      wrap/python/spot.i: Remove all remaining references to
      tgba_explicit.
      e6ea90e3
  37. 31 Jul, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      Delete the cutscc algorithms. · 401179ea
      Alexandre Duret-Lutz authored
      These were used in old experiments, but have not turned useful in
      practice.  Not worth keeping and maintaining.
      
      * src/tgbaalgos/cutscc.cc, src/tgbaalgos/cutscc.hh: Delete.
      * bench/scc-stats/, bench/split-product/: Delete.
      * configure.ac, src/tgbaalgos/Makefile.am, README, bench/Makefile.am:
      Adjust.
      401179ea