1. 02 Apr, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      python: better bindings for testing automata · 16204e8e
      Alexandre Duret-Lutz authored
      * src/taalgos/dotty.cc, src/taalgos/dotty.hh: Add an interface
      similar to that of tgba/dotty.hh, even if we have to ignore
      most options.
      * src/taalgos/tgba2ta.cc, src/taalgos/tgba2ta.hh: Add an option
      to display the intermediate automaton with explicit stuttering
      transitions, for the purpose of making demonstrations.
      * src/tgba/tgbagraph.hh: Tweak the file so that SWIG can
      read it.
      * wrap/python/spot.py: Add wrappers for testing automata.
      * wrap/python/spot_impl.i: Fix support for
      atomic_prop_collect_as_bdd, and include a few more files.
      * wrap/python/tests/testingaut.ipynb: New file.
      * wrap/python/tests/Makefile.am: Add it.
      16204e8e
  2. 25 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      complete: Fix completion of automata using Fin-acceptance · 23bcbb5b
      Alexandre Duret-Lutz authored
      * src/tgba/acc.cc, src/tgba/acc.hh: Add a way to extract
      an unstatisfiable mark, and fix the eval() function for
      Fin acceptance.
      * src/tgbaalgos/complete.cc: Label the sink state using
      an unsatisfiable mark.  Do not assume generalized Büchi.
      * src/tgbatest/complete.test: New test.
      * src/tgbatest/Makefile.am: Add it.
      23bcbb5b
  3. 24 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      remove_fin: remove useless states · 020bbd44
      Alexandre Duret-Lutz authored
      * src/tgba/tgbagraph.cc (purge_dead_states): Using a DFS to compute a
      topological order, allowing to remove useless using a second
      pass (instead of iterating the passes until there is nothing to remove).
      * src/tgbaalgos/remfin.cc: Call purge_dead_states().
      * src/tgbatest/remfin.test, src/tgbatest/det.test: Adjust expected
      output.
      * doc/org/autfilt.org: Update example.
      020bbd44
  4. 23 Mar, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      autfilt: add a --exclusive-ap option · fb7b7a94
      Alexandre Duret-Lutz authored
      * src/ltlvisit/exclusive.cc, src/ltlvisit/exclusive.hh: Implement
      constrain() for automata.
      * src/bin/autfilt.cc: Add --exclusive-ap option.
      * src/tgba/bdddict.cc, src/tgba/bdddict.hh: Add a
      has_registered_proposition() method.
      * src/tgbatest/exclusive.test: New file.
      * src/tgbatest/Makefile.am: Add it.
      fb7b7a94
    • Etienne Renault's avatar
      Replace guards by pragma once. · 57cd9f2d
      Etienne Renault authored
      * iface/ltsmin/ltsmin.hh, src/bin/common_aoutput.hh,
      src/bin/common_conv.hh, src/bin/common_cout.hh,
      src/bin/common_file.hh, src/bin/common_finput.hh,
      src/bin/common_output.hh, src/bin/common_post.hh,
      src/bin/common_r.hh, src/bin/common_range.hh,
      src/bin/common_setup.hh, src/bin/common_sys.hh,
      src/bin/common_trans.hh, src/dstarparse/parsedecl.hh,
      src/dstarparse/public.hh, src/graph/graph.hh,
      src/graph/ngraph.hh, src/hoaparse/parsedecl.hh,
      src/hoaparse/public.hh, src/kripke/fairkripke.hh,
      src/kripke/fwd.hh, src/kripke/kripke.hh,
      src/kripke/kripkeexplicit.hh, src/kripke/kripkeprint.hh,
      src/kripkeparse/parsedecl.hh, src/kripkeparse/public.hh,
      src/ltlast/allnodes.hh, src/ltlast/atomic_prop.hh,
      src/ltlast/binop.hh, src/ltlast/bunop.hh,
      src/ltlast/constant.hh, src/ltlast/formula.hh,
      src/ltlast/multop.hh, src/ltlast/predecl.hh,
      src/ltlast/unop.hh, src/ltlast/visitor.hh,
      src/ltlenv/declenv.hh, src/ltlenv/defaultenv.hh,
      src/ltlenv/environment.hh, src/ltlparse/parsedecl.hh,
      src/ltlparse/public.hh, src/ltlvisit/apcollect.hh,
      src/ltlvisit/clone.hh, src/ltlvisit/contain.hh,
      src/ltlvisit/dotty.hh, src/ltlvisit/dump.hh,
      src/ltlvisit/lbt.hh, src/ltlvisit/length.hh,
      src/ltlvisit/lunabbrev.hh, src/ltlvisit/mark.hh,
      src/ltlvisit/mutation.hh, src/ltlvisit/nenoform.hh,
      src/ltlvisit/postfix.hh, src/ltlvisit/randomltl.hh,
      src/ltlvisit/relabel.hh, src/ltlvisit/remove_x.hh,
      src/ltlvisit/simpfg.hh, src/ltlvisit/simplify.hh,
      src/ltlvisit/snf.hh, src/ltlvisit/tostring.hh,
      src/ltlvisit/tunabbrev.hh, src/ltlvisit/wmunabbrev.hh,
      src/misc/bareword.hh, src/misc/bddlt.hh, src/misc/bitvect.hh,
      src/misc/casts.hh, src/misc/common.hh, src/misc/escape.hh,
      src/misc/fixpool.hh, src/misc/formater.hh, src/misc/hash.hh,
      src/misc/hashfunc.hh, src/misc/intvcmp2.hh,
      src/misc/intvcomp.hh, src/misc/location.hh, src/misc/ltstr.hh,
      src/misc/memusage.hh, src/misc/minato.hh, src/misc/mspool.hh,
      src/misc/optionmap.hh, src/misc/position.hh, src/misc/random.hh,
      src/misc/satsolver.hh, src/misc/timer.hh, src/misc/tmpfile.hh,
      src/misc/version.hh, src/priv/accmap.hh, src/priv/bddalloc.hh,
      src/priv/freelist.hh, src/ta/ta.hh, src/ta/taexplicit.hh,
      src/ta/taproduct.hh, src/ta/tgta.hh, src/ta/tgtaexplicit.hh,
      src/ta/tgtaproduct.hh, src/taalgos/dotty.hh,
      src/taalgos/emptinessta.hh, src/taalgos/minimize.hh,
      src/taalgos/reachiter.hh, src/taalgos/statessetbuilder.hh,
      src/taalgos/stats.hh, src/taalgos/tgba2ta.hh,
      src/tgba/acc.hh, src/tgba/bdddict.hh,
      src/tgba/bddprint.hh, src/tgba/formula2bdd.hh, src/tgba/fwd.hh,
      src/tgba/taatgba.hh, src/tgba/tgba.hh, src/tgba/tgbagraph.hh,
      src/tgba/tgbamask.hh, src/tgba/tgbaproduct.hh, src/tgba/tgbaproxy.hh,
      src/tgba/tgbasafracomplement.hh, src/tgbaalgos/are_isomorphic.hh,
      src/tgbaalgos/bfssteps.hh, src/tgbaalgos/canonicalize.hh,
      src/tgbaalgos/cleanacc.hh, src/tgbaalgos/complete.hh,
      src/tgbaalgos/compsusp.hh, src/tgbaalgos/cycles.hh,
      src/tgbaalgos/degen.hh, src/tgbaalgos/dotty.hh,
      src/tgbaalgos/dtbasat.hh, src/tgbaalgos/dtgbacomp.hh,
      src/tgbaalgos/dtgbasat.hh, src/tgbaalgos/dupexp.hh,
      src/tgbaalgos/emptiness.hh, src/tgbaalgos/emptiness_stats.hh,
      src/tgbaalgos/gtec/ce.hh, src/tgbaalgos/gtec/gtec.hh,
      src/tgbaalgos/gtec/sccstack.hh, src/tgbaalgos/gtec/status.hh,
      src/tgbaalgos/gv04.hh, src/tgbaalgos/hoa.hh, src/tgbaalgos/isdet.hh,
      src/tgbaalgos/isweakscc.hh, src/tgbaalgos/lbtt.hh,
      src/tgbaalgos/ltl2taa.hh, src/tgbaalgos/ltl2tgba_fm.hh,
      src/tgbaalgos/magic.hh, src/tgbaalgos/mask.hh,
      src/tgbaalgos/minimize.hh, src/tgbaalgos/neverclaim.hh,
      src/tgbaalgos/postproc.hh, src/tgbaalgos/powerset.hh,
      src/tgbaalgos/product.hh, src/tgbaalgos/projrun.hh,
      src/tgbaalgos/randomgraph.hh, src/tgbaalgos/randomize.hh,
      src/tgbaalgos/reachiter.hh, src/tgbaalgos/reducerun.hh,
      src/tgbaalgos/relabel.hh, src/tgbaalgos/remfin.hh,
      src/tgbaalgos/replayrun.hh, src/tgbaalgos/safety.hh,
      src/tgbaalgos/sbacc.hh, src/tgbaalgos/scc.hh,
      src/tgbaalgos/sccfilter.hh, src/tgbaalgos/sccinfo.hh,
      src/tgbaalgos/se05.hh, src/tgbaalgos/simulation.hh,
      src/tgbaalgos/stats.hh, src/tgbaalgos/stripacc.hh,
      src/tgbaalgos/stutter.hh, src/tgbaalgos/tau03.hh,
      src/tgbaalgos/tau03opt.hh, src/tgbaalgos/translate.hh,
      src/tgbaalgos/weight.hh, src/tgbaalgos/word.hh,
      src/sanity/includes.test, src/tgbaalgos/ndfs_result.hxx: here.
      57cd9f2d
  5. 22 Mar, 2015 1 commit
  6. 18 Mar, 2015 6 commits
  7. 17 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      dotty: colored acceptance sets · 838bfb2a
      Alexandre Duret-Lutz authored
      This implement several new options for --dot in order to
      allow emptiness sets to be output as colored ⓿ or ❶...
      Also add a SPOT_DOTDEFAULT environment variable.
      
      * NEWS, src/bin/man/spot-x.x, src/bin/common_aoutput.cc,
      src/bin/dstar2tgba.cc: Document the new options.
      * doc/org/.dir-locals.el, doc/org/init.el.in: Setup
      SPOT_DOTEXTRA and SPOT_DOTDEFAULT for all documents.
      * doc/org/autfilt.org, doc/org/dstar2tgba.org, doc/org/ltl2tgba.org,
      doc/org/ltldo.org, doc/org/oaut.org, doc/org/randaut.org,
      doc/org/satmin.org: Adjust to this new setup.
      * src/misc/escape.cc, src/misc/escape.hh (escape_html): New function.
      * src/tgba/acc.cc, src/tgba/acc.hh (to_text, to_html): New method.
      * src/tgbaalgos/dotty.cc: Implement the new options.
      * src/tgbatest/readsave.test, wrap/python/tests/automata.ipynb: More
      tests.
      * wrap/python/spot.py: Make sure the default argument for
      dotty_reachable is None, so that SPOT_DOTDEFAULT is honored.
      838bfb2a
  8. 05 Mar, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      acc: add a to_cnf() function · a0ac8dc5
      Alexandre Duret-Lutz authored
      * src/tgba/acc.cc, src/tgba/acc.hh (to_cnf, is_cnf): New functions.
      * src/bin/autfilt.cc: Add a --cnf-acceptance option.
      * src/tgbatest/acc2.test: Test it.
      a0ac8dc5
    • Alexandre Duret-Lutz's avatar
      acc: fix is_dnf() · b71e6add
      Alexandre Duret-Lutz authored
      A Fin() terms with multiple sets should not appear under an And.
      
      * src/tgba/acc.cc (is_dnf): Fix it.
      * src/tgbatest/acc.cc, src/tgbatest/acc.test: Augment test case.
      b71e6add
  9. 04 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc: implement to_dnf() using BDDs · 518de8d5
      Alexandre Duret-Lutz authored
      This way we have for instance
        (Inf(1) | Fin(2)) & (Fin(1) | Inf(3)) & Inf(0)
      converted into just
        (Fin(1) & Fin(2) & Inf(0)) | (Inf(0)&Inf(1)&Inf(3))
      while previously we would produce 4 terms:
        (Fin(2) & Fin(1) & Inf(0)) | (Fin(2) & (Inf(0)&Inf(3)))
        | (Fin(1) & (Inf(0)&Inf(1))) | (Inf(0)&Inf(1)&Inf(3))
      
      * src/tgba/acc.cc (to_dnf): Recode it.
      * src/tgbatest/acc2.test: Adjust.
      518de8d5
  10. 03 Mar, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      sccinfo: introduce is_rejecting() · ebe4ffc5
      Alexandre Duret-Lutz authored
      Because scc_info does not perform a full emptiness check, it is not
      always able to tell whether an SCC is accepting if the acceptance
      condition use Fin primitives.  This introduce is_rejecting_scc() in
      addition to to is_accepting_scc().  Only one of them may be true, but
      they can both be false if scc_info has no idea whether the SCC is
      accepting.
      
      * src/tgbaalgos/sccinfo.cc, src/tgbaalgos/sccinfo.hh: Implement
      is_rejecting_scc().
      * src/bin/ltlcross.cc, src/tgba/acc.cc, src/tgba/acc.hh,
      src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/isweakscc.cc,
      src/tgbaalgos/remfin.cc, src/tgbaalgos/safety.cc,
      src/tgbaalgos/sccfilter.cc: Use it.
      * src/tgbaalgos/dotty.cc: Use is_rejecting_scc() and is_accepting_scc()
      to color SCCs.
      * doc/org/oaut.org: Document the colors used.
      * src/tgbatest/neverclaimread.test, src/tgbatest/readsave.test: Adjust
      tests.
      * src/tgbatest/sccdot.test: New test case.
      * src/tgbatest/Makefile.am: Add it.
      ebe4ffc5
  11. 28 Feb, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      add a stutter-invariant property to automata · 1f0bb428
      Alexandre Duret-Lutz authored
      ... and show it in the HOA output.  Fixes #60.
      
      * src/tgba/tgba.hh: Add is_stutter_invariant().
      * src/tgbaalgos/hoa.cc: Print stutter-invariant
      and inherently-weak.
      * src/tgbaalgos/ltl2tgba_fm.cc: Set both.
      * src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/complete.cc,
      src/tgbaalgos/degen.cc, src/tgbaalgos/dtgbacomp.cc,
      src/tgbaalgos/mask.cc, src/tgbaalgos/minimize.cc,
      src/tgbaalgos/remfin.cc, src/tgbaalgos/sccfilter.cc,
      src/tgbaalgos/simulation.cc, src/tgbaalgos/stutter.cc,
      src/tgbatest/hoaparse.test, src/tgbatest/ltldo.test,
      src/tgbatest/monitor.test, src/tgbatest/randomize.test,
      src/tgbatest/remfin.test, src/tgbatest/sbacc.test: Adjust.
      1f0bb428
  12. 27 Feb, 2015 1 commit
  13. 26 Feb, 2015 6 commits
    • Alexandre Duret-Lutz's avatar
      Prefix many algorithms with runtime_error for unexpected acceptance · f0b1b943
      Alexandre Duret-Lutz authored
      * src/tgba/tgbagraph.cc (merge_transitions): Disable acceptance
      merging if Fin acceptance is used.
      * src/tgbaalgos/degen.cc, src/tgbaalgos/dtbasat.cc,
      src/tgbaalgos/dtgbasat.cc, src/tgbaalgos/isweakscc.cc,
      src/tgbaalgos/lbtt.cc, src/tgbaalgos/minimize.cc,
      src/tgbaalgos/neverclaim.cc, src/tgbaalgos/safety.cc,
      src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc: Throw an
      exception if an unsupported type of acceptance is received.
      f0b1b943
    • Alexandre Duret-Lutz's avatar
      acc: refactor strip() routines · 5b2c7b55
      Alexandre Duret-Lutz authored
      * src/tgba/acc.cc, src/tgba/acc.hh: Move the strip() routine from
      acc_cond into acc_cond::mark_t, and the strip() routine from
      cleanacc.cc into acc_cond::acc_code.  Introduce helper functions
      to create inf()/fin()/t()/f() at the acc_code level.
      * src/tgbaalgos/cleanacc.cc: Simplify, using the strip() function
      from acc_code.
      * src/tgbaalgos/mask.cc (mask_acc_sets): Use the strip() function
      from acc_code so that it work on non-Buchi acceptance.
      * src/tgbatest/maskacc.test: Add a test for the latter change.
      * src/tgbaalgos/sccfilter.cc, src/tgbatest/acc.cc: Adjust the
      use mark_t::strip().
      5b2c7b55
    • Alexandre Duret-Lutz's avatar
      ltlcross: adjust to work with generic acceptance · 717c8577
      Alexandre Duret-Lutz authored
      * src/bin/ltlcross.cc: Remove Fin-acceptance before
      doing checks.  More --verbose output.
      * src/tgba/acc.cc, src/tgba/acc.hh: Add an eval_sets() function
      to find the set of acceptance sets needed to satisfy the condition
      in an accepting SCC.
      * src/tgbaalgos/gtec/ce.cc: Use eval_sets() when computing
      a counter example.
      * src/tgbaalgos/gtec/gtec.cc: Raise an exception when called
      on an acceptance that contains Fin.
      * src/tgbatest/ltl2dstar3.test, src/tgbatest/ltlcrossce2.test:
      New files.
      * src/tgbatest/Makefile.am: Add them.
      * src/tgba/tgba.cc (is_empty): Call remove_fin if needed.
      * src/tgbaalgos/product.cc, src/tgbaalgos/dtgbacomp.cc: Adjust
      to work with generic acceptance.
      717c8577
    • Alexandre Duret-Lutz's avatar
      Make it easy to complement an acceptance condition · d597050f
      Alexandre Duret-Lutz authored
      * src/tgba/acc.cc, src/tgba/acc.hh (complement): New method.
      * src/bin/autfilt.cc: Add a --complement-acceptance option.
      * src/tgbatest/acc2.test: Test it.
      d597050f
    • 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
  14. 24 Feb, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc: add a to_dnf() method · 1441c4fe
      Alexandre Duret-Lutz authored
      * src/tgba/acc.cc, src/tgba/acc.hh: Implement a to_dnf()
      method.
      * src/bin/autfilt.cc: Add option --dnf-acceptance.
      * src/tgbatest/acc2.test: Test it.
      1441c4fe
  15. 23 Feb, 2015 4 commits
    • Alexandre Duret-Lutz's avatar
      acc: Add operators == and != for acc_code · 33c496a4
      Alexandre Duret-Lutz authored
      and make sure are_isomorphic does not look only at the number of
      acceptance sets
      
      * src/tgba/acc.hh: Here.
      * src/tgbaalgos/are_isomorphic.cc: Use it to ensure two automata
      have the same acceptance condition.
      * src/tgbatest/explpro4.test: Test product between Büchi and co-Büchi,
      and make sure the isomorphic check look at the acceptance condition.
      33c496a4
    • Alexandre Duret-Lutz's avatar
      acc: avoid superfluous parentheses when printing acceptance · f325cddc
      Alexandre Duret-Lutz authored
      * src/tgba/acc.cc: Do not output (Inf(x)) or (Fin(x)).
      * src/tgbatest/acc.test: Adjust.
      f325cddc
    • Alexandre Duret-Lutz's avatar
      rename set_acceptance_conditions as set_generalized_buchi · 76c676db
      Alexandre Duret-Lutz authored
      * src/hoaparse/hoaparse.yy, src/tgba/tgbagraph.hh,
      src/tgbaalgos/compsusp.cc, src/tgbaalgos/dtgbasat.cc,
      src/tgbaalgos/mask.cc, src/tgbaalgos/randomgraph.cc,
      src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc,
      src/tgbaalgos/stripacc.cc, src/tgba/tgba.hh: Here.
      76c676db
    • Alexandre Duret-Lutz's avatar
      Preliminirary support for generic acceptance. · fd1f6c4d
      Alexandre Duret-Lutz authored
      * src/tgba/acc.hh: Add creation and printing of generic acceptance
      code.
      * src/tgba/acc.cc: New file.
      * src/tgba/Makefile.am: Add it.
      * src/tgbatest/acc.cc: More tests.
      * src/tgbatest/acc.test: Update.
      * src/tgba/tgba.hh (set_acceptance, get_acceptance): New methods.
      * src/tgba/tgbagraph.hh: Store acceptance code.
      * src/hoaparse/hoaparse.yy: Read any acceptance.
      * src/dstarparse/nsa2tgba.cc, src/ta/taexplicit.cc,
      src/tgba/tgbaproduct.cc, src/tgba/tgbasafracomplement.cc,
      src/tgbaalgos/degen.cc, src/tgbaalgos/hoa.cc,
      src/tgbaalgos/ltl2taa.cc, src/tgbaalgos/ltl2tgba_fm.cc,
      src/tgbaalgos/product.cc, src/tgbaalgos/stutter.cc,
      src/tgbatest/hoaparse.test: Adjust.
      fd1f6c4d
  16. 04 Feb, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc: do not store a bdd_dict · 856adef9
      Alexandre Duret-Lutz authored
      Fixes #55.
      
      * src/tgba/acc.hh: Do not store a bdd_dict_ptr, it is not used.
      * src/tgba/tgba.hh, src/tgba/tgba.cc, src/ta/ta.hh,
      src/tgba/tgbagraph.hh, src/tgbaalgos/dtgbasat.cc,
      src/tgbatest/acc.cc: Adjust.
      856adef9
  17. 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
  18. 31 Jan, 2015 1 commit
    • 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
  19. 09 Jan, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      product: rename the one-the-fly version as otf_product · 94577d65
      Alexandre Duret-Lutz authored
      This avoid compiler errors about ambiguous calls and make sure we are
      calling the intended algorithms everywhere (this wasn't the case).
      
      * src/tgba/tgbaproduct.hh (product, product_at): Rename as...
      (otf_product, otf_product_at): ... this.
      * iface/ltsmin/modelcheck.cc, src/bin/autfilt.cc, src/bin/ltlfilt.cc,
      src/tgbaalgos/minimize.cc, src/tgbaalgos/powerset.cc,
      src/tgbatest/ltl2tgba.cc, src/tgbatest/checkpsl.cc,
      src/tgbatest/complementation.cc, src/tgbatest/ltlprod.cc: Adjust
      callers.
      94577d65
  20. 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
  21. 03 Jan, 2015 3 commits
    • Alexandre Duret-Lutz's avatar
      tgba_digraph: force selection of properties kept on copy · 87c2b291
      Alexandre Duret-Lutz authored
      * src/tgba/tgba.hh: Declare a prop_set to specify the types.
      * src/tgba/tgbagraph.hh: Use prop_set for all copy constructors.
      * iface/ltsmin/ltsmin.cc, src/bin/autfilt.cc, src/bin/randaut.cc,
      src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/closure.cc,
      src/tgbaalgos/complete.cc, src/tgbaalgos/degen.cc,
      src/tgbaalgos/dotty.cc, src/tgbaalgos/dtgbacomp.cc,
      src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh,
      src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc,
      src/tgbaalgos/stutterize.cc, src/tgbatest/checkpsl.cc,
      src/tgbatest/emptchk.cc, src/tgbatest/ltl2tgba.cc,
      wrap/python/spot.i,src/graphtest/tgbagraph.test: Adjust all uses.
      87c2b291
    • Alexandre Duret-Lutz's avatar
      dotty: Specialize for tgba_digraph_ptr · 77cb836e
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/dotty.cc: Specialize for tgba_digraph_ptr.
      * src/tgba/tgbagraph.hh, src/tgbaalgos/dupexp.cc: Copy properties by
      default when cloning an automaton.
      * src/tgbatest/det.test, src/tgbatest/dstar.test,
      src/tgbatest/ltl2tgba.test, src/tgbatest/monitor.test,
      src/tgbatest/neverclaimread.test, src/tgbatest/tgbaread.test: Adjust
      tests.
      77cb836e
    • Alexandre Duret-Lutz's avatar
  22. 17 Dec, 2014 2 commits
    • 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
    • Alexandre Duret-Lutz's avatar
      merge transitions: also merge transitions with same conditions · 8e9c4317
      Alexandre Duret-Lutz authored
      * src/tgba/tgbagraph.cc (merge_transition): Do it.
      * src/tgbatest/readsave.test: Test it.
      * src/bin/autfilt.cc: Fix statistics about the original
      automaton when using --stats or --name.
      8e9c4317