1. 23 Nov, 2017 1 commit
    • Maximilien Colange's avatar
      Improve ltlsynt interface · 1da0afba
      Maximilien Colange authored
      To ease debugging and testing, ltlsynt can output the synthesized
      strategy as an automaton, not just an aiger circuit.
      Also, its exit code has been changed to something meaningful.
      
      * bin/ltlsynt.cc: Various improvements: options, exit code, code style
      * spot/twaalgos/aiger.hh, spot/twaalgos/aiger.cc,
        spot/twaalgos/Makefile.am: Move the aiger printer to separate files
      * tests/core/ltlsynt.test: Clean up and update test file
      * tests/Makefile.am: Add the test file to the test suite
      * NEWS: document the new aiger printer
      * doc/org/concepts.org: document the named property "synthesis-outputs",
        used by print_aiger
      1da0afba
  2. 25 Sep, 2017 2 commits
    • Laurent XU's avatar
      parity: add spot::change_parity() · 27982fb8
      Laurent XU authored
      This function changes the parity acceptance of an automaton.
      
      * spot/twaalgos/parity.cc, spot/twaalgos/parity.hh: Here
      * python/spot/impl.i: Add spot/twaalgos/parity.hh
      * spot/twaalgos/Makefile.am: Add spot/twaalgos/parity.{cc,hh}
      * tests/core/parity.cc, tests/core/parity.test: Add
      spot::change_parity() tests
      * tests/python/parity.ipynb: Add documentation about
      spot::change_parity()
      * tests/Makefile.am: Add tests/core/parity.{cc,hh} and
      tests/python/parity.ipynb
      * doc/org/tut.org: Add the html page of tests/python/parity.ipynb
      27982fb8
    • Laurent XU's avatar
      misc: add spot::is_colored() · b7ef7c55
      Laurent XU authored
      This function checks whether an automaton is colored, an automaton
      is said to be colored iff all the transitions belong to exactly one
      acceptance set.
      
      * spot/twaalgos/iscolored.cc, spot/twaalgos/iscolored.hh: Here.
      * spot/twaalgos/Makefile.am: add spot/twaalgos/iscolored.{cc,hh}
      * python/spot/impl.i: add spot/twaalgos/iscolored.hh
      b7ef7c55
  3. 19 Sep, 2017 1 commit
    • Alexandre GBAGUIDI AISSE's avatar
      twaalgos/cobuchi: Add nsa_to_nca() · cf18c069
      Alexandre GBAGUIDI AISSE authored
      * NEWS: Update.
      * spot/twaalgos/cobuchi.hh: Declare to_dca() and nsa_to_nca().
      * spot/twaalgos/cobuchi.cc: Implement them.
      * python/spot/impl.i: Include new file for python bindings.
      * spot/twaalgos/Makefile.am: Add new file.
      * bin/autfilt.cc: Add --dca command line option. This option does not
      return a deterministic automaton yet, but it will.
      * tests/core/dca.test: Add tests for Büchi automata.
      * tests/python/dca.py: Add a python script that builds a nondet. Streett
      automaton.
      * tests/python/dca.test: Add tests for Streett automata.
      * tests/Makefile.am: Add all tests.
      cf18c069
  4. 25 Jul, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      deprecate copy() in favor of make_twa_graph() · 8e685e00
      Alexandre Duret-Lutz authored
      Fixes #258.
      
      * spot/twaalgos/copy.cc: Delete, and move the code...
      * spot/twa/twagraph.cc: ... in some anonymous namespace here.
      * spot/twa/twagraph.hh: Adjust the make_twa_graph() overload.
      * spot/twaalgos/copy.hh, NEWS: Mark copy() as deprecated and redirect
      to make_twa_graph().
      * doc/org/upgrade2.org, doc/org/tut51.org, python/spot/impl.i,
      spot/twaalgos/dot.cc, spot/twaalgos/langmap.cc, tests/core/ikwiad.cc:
      Adjust callers.
      * spot/twaalgos/Makefile.am: Remove copy.cc.
      8e685e00
  5. 19 Jul, 2017 1 commit
    • Thomas Medioni's avatar
      Implement to_weak_alternating() which weakifies tgbas · c8889e65
      Thomas Medioni authored
      * NEWS: mention the modification.
      * python/spot/impl.i: makes to_weak_alternating visible from python
      * spot/twaalgos/Makefile.am, spot/twaalgos/toweak.cc,
        spot/twaalgos/toweak.hh: Implements to_weak_alternating.
      * tests/Makefile.am, tests/python/toweak.py: Test the results of
        to_weak_alternating.
      c8889e65
  6. 17 Jul, 2017 2 commits
    • Henrich Lauko's avatar
      remfin: Use tra2tba as new rabin strategy in remove_fin · d45b60a4
      Henrich Lauko authored
      Move implementation of tra2tba to remfin.
      
      * python/spot/impl.i: Remove tra2tba python bindings
      * spot/twaalgos/Makefile.am: Remove tra2tba
      * spot/twaalgos/remfin.cc: Update rabin_strategy
      * spot/twaalgos/tra2tba.cc: Delete the file
      * spot/twaalgos/tra2tba.hh: Delete the file
      * tests/core/remfin.test: Update tests
      * tests/python/tra2tba.py: Update tests
      d45b60a4
    • Henrich Lauko's avatar
      tra2tba: Implement transformation of TRA to TBA acceptance condition · e1271bf8
      Henrich Lauko authored
      * python/spot/impl.i: Add bindings for tra2tba
      * spot/twaalgos/Makefile.am: Record tra2tba.cc, tra2tba.hh
      * spot/twaalgos/tra2tba.cc: Implement transformation of TRA to TBA
      * spot/twaalgos/tra2tba.hh: Introduce declaration of tra_to_tba
      * tests/Makefile.am: Record tra2tba tests
      * tests/core/tra2tba.cc: Add driver for tests
      * tests/core/tra2tba.test: Add tests of tra2tba transformation
      e1271bf8
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 12 Feb, 2016 2 commits
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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