1. 30 Sep, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      ltlparse: move in parsetl/, and declare in tl/parse.hh · ae6cd921
      Alexandre Duret-Lutz authored
      * src/ltlparse/public.hh: Rename as...
      * src/tl/parse.hh: ... this.
      * src/ltlparse/: Rename as...
      * src/parsetl/: ... this.
      * NEWS: Mention the change.
      * README, configure.ac, doc/org/tut01.org, doc/org/tut02.org,
      doc/org/tut03.org, doc/org/tut10.org, src/Makefile.am,
      src/bin/common_finput.cc, src/bin/common_finput.hh, src/bin/ltl2tgta.cc,
      src/kripkeparse/kripkeparse.yy, src/parseaut/parseaut.yy,
      src/tests/checkpsl.cc, src/tests/checkta.cc,
      src/tests/complementation.cc, src/tests/consterm.cc,
      src/tests/emptchk.cc, src/tests/equalsf.cc, src/tests/ikwiad.cc,
      src/tests/kind.cc, src/tests/length.cc, src/tests/ltlprod.cc,
      src/tests/ltlrel.cc, src/tests/randtgba.cc, src/tests/readltl.cc,
      src/tests/reduc.cc, src/tests/syntimpl.cc, src/tests/tostring.cc,
      src/tl/Makefile.am, src/twaalgos/lbtt.cc, wrap/python/spot_impl.i,
      iface/ltsmin/modelcheck.cc: Adjust.
      ae6cd921
  2. 28 Sep, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      kill the ltl namespace · cb392101
      Alexandre Duret-Lutz authored
      * NEWS: Mention it.
      * bench/stutter/stutter_invariance_formulas.cc,
      bench/stutter/stutter_invariance_randomgraph.cc, doc/mainpage.dox,
      doc/org/tut01.org, doc/org/tut02.org, doc/org/tut10.org, doc/tl/tl.tex,
      iface/ltsmin/ltsmin.cc, iface/ltsmin/ltsmin.hh,
      iface/ltsmin/modelcheck.cc, src/bin/autfilt.cc,
      src/bin/common_aoutput.cc, src/bin/common_aoutput.hh,
      src/bin/common_finput.cc, src/bin/common_finput.hh,
      src/bin/common_output.cc, src/bin/common_output.hh, src/bin/common_r.hh,
      src/bin/common_trans.cc, src/bin/common_trans.hh, src/bin/dstar2tgba.cc,
      src/bin/genltl.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc,
      src/bin/ltlcross.cc, src/bin/ltldo.cc, src/bin/ltlfilt.cc,
      src/bin/ltlgrind.cc, src/bin/randaut.cc, src/bin/randltl.cc,
      src/kripke/kripkeexplicit.cc, src/kripke/kripkeexplicit.hh,
      src/kripkeparse/kripkeparse.yy, src/kripkeparse/public.hh,
      src/ltlparse/fmterror.cc, src/ltlparse/ltlparse.yy,
      src/ltlparse/ltlscan.ll, src/ltlparse/parsedecl.hh,
      src/ltlparse/public.hh, src/parseaut/parseaut.yy,
      src/parseaut/public.hh, src/tests/checkpsl.cc, src/tests/checkta.cc,
      src/tests/complementation.cc, src/tests/consterm.cc,
      src/tests/emptchk.cc, src/tests/equalsf.cc, src/tests/ikwiad.cc,
      src/tests/kind.cc, src/tests/length.cc, src/tests/ltlprod.cc,
      src/tests/ltlrel.cc, src/tests/parse.test,
      src/tests/parse_print_test.cc, src/tests/randtgba.cc,
      src/tests/readltl.cc, src/tests/reduc.cc, src/tests/syntimpl.cc,
      src/tests/taatgba.cc, src/tests/tostring.cc, src/tests/tostring.test,
      src/tl/apcollect.cc, src/tl/apcollect.hh, src/tl/contain.cc,
      src/tl/contain.hh, src/tl/declenv.cc, src/tl/declenv.hh,
      src/tl/defaultenv.cc, src/tl/defaultenv.hh, src/tl/dot.cc,
      src/tl/dot.hh, src/tl/environment.hh, src/tl/exclusive.cc,
      src/tl/exclusive.hh, src/tl/formula.cc, src/tl/formula.hh,
      src/tl/length.cc, src/tl/length.hh, src/tl/mark.cc, src/tl/mark.hh,
      src/tl/mutation.cc, src/tl/mutation.hh, src/tl/nenoform.cc,
      src/tl/nenoform.hh, src/tl/print.cc, src/tl/print.hh,
      src/tl/randomltl.cc, src/tl/randomltl.hh, src/tl/relabel.cc,
      src/tl/relabel.hh, src/tl/remove_x.cc, src/tl/remove_x.hh,
      src/tl/simpfg.cc, src/tl/simpfg.hh, src/tl/simplify.cc,
      src/tl/simplify.hh, src/tl/snf.cc, src/tl/snf.hh, src/tl/unabbrev.cc,
      src/tl/unabbrev.hh, src/twa/bdddict.cc, src/twa/bdddict.hh,
      src/twa/bddprint.cc, src/twa/formula2bdd.cc, src/twa/formula2bdd.hh,
      src/twa/taatgba.cc, src/twa/taatgba.hh, src/twa/twa.hh,
      src/twa/twagraph.cc, src/twa/twagraph.hh, src/twaalgos/compsusp.cc,
      src/twaalgos/compsusp.hh, src/twaalgos/ltl2taa.cc,
      src/twaalgos/ltl2taa.hh, src/twaalgos/ltl2tgba_fm.cc,
      src/twaalgos/ltl2tgba_fm.hh, src/twaalgos/minimize.cc,
      src/twaalgos/minimize.hh, src/twaalgos/neverclaim.cc,
      src/twaalgos/postproc.cc, src/twaalgos/postproc.hh,
      src/twaalgos/powerset.cc, src/twaalgos/powerset.hh,
      src/twaalgos/randomgraph.cc, src/twaalgos/randomgraph.hh,
      src/twaalgos/relabel.cc, src/twaalgos/relabel.hh,
      src/twaalgos/remprop.cc, src/twaalgos/remprop.hh, src/twaalgos/stats.cc,
      src/twaalgos/stats.hh, src/twaalgos/stutter.cc, src/twaalgos/stutter.hh,
      src/twaalgos/translate.cc, src/twaalgos/translate.hh,
      wrap/python/spot_impl.i: Remove the ltl namespace.
      cb392101
    • Alexandre Duret-Lutz's avatar
      merge ltlvisit/ ltlast/ ltlenv/ into a single tl/ directory · 6ded5e75
      Alexandre Duret-Lutz authored
      The ltl prefix does not make a lot of sens anymore (since we
      support psl as well).  ltlast/ and ltlenv/ were almost empty.
      And ltlvisit/ did not contain any visitor anymore.
      
      * src/ltlvisit/, src/ltlast/, src/ltlenv/: Merge into...
      * src/tl/: ...this.
      * NEWS: Mention the change.
      * README, bench/stutter/stutter_invariance_formulas.cc,
      bench/stutter/stutter_invariance_randomgraph.cc, configure.ac,
      doc/org/tut01.org, doc/org/tut02.org, doc/org/tut10.org, doc/tl/tl.tex,
      iface/ltsmin/ltsmin.hh, iface/ltsmin/modelcheck.cc, src/Makefile.am,
      src/bin/autfilt.cc, src/bin/common_output.cc, src/bin/common_output.hh,
      src/bin/common_r.hh, src/bin/common_trans.cc, src/bin/genltl.cc,
      src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc, src/bin/ltlcross.cc,
      src/bin/ltldo.cc, src/bin/ltlfilt.cc, src/bin/ltlgrind.cc,
      src/bin/randltl.cc, src/kripke/kripkeexplicit.hh,
      src/kripkeparse/public.hh, src/parseaut/public.hh, src/priv/accmap.hh,
      src/ta/taexplicit.hh, src/ta/tgtaexplicit.hh, src/tests/equalsf.cc,
      src/tests/ikwiad.cc, src/tests/length.cc, src/tests/ltlrel.cc,
      src/tests/randtgba.cc, src/tests/readltl.cc, src/tests/reduc.cc,
      src/tests/syntimpl.cc, src/tests/taatgba.cc, src/tests/tostring.cc,
      src/tests/twagraph.cc, src/twa/acc.hh, src/twa/bdddict.cc,
      src/twa/bdddict.hh, src/twa/bddprint.cc, src/twa/taatgba.cc,
      src/twa/taatgba.hh, src/twa/twa.hh, src/twa/twagraph.cc,
      src/twa/twagraph.hh, src/twa/twasafracomplement.cc,
      src/twaalgos/compsusp.cc, src/twaalgos/compsusp.hh,
      src/twaalgos/dtgbasat.cc, src/twaalgos/hoa.cc,
      src/twaalgos/isweakscc.cc, src/twaalgos/lbtt.cc,
      src/twaalgos/ltl2taa.cc, src/twaalgos/ltl2taa.hh,
      src/twaalgos/ltl2tgba_fm.cc, src/twaalgos/ltl2tgba_fm.hh,
      src/twaalgos/minimize.hh, src/twaalgos/neverclaim.cc,
      src/twaalgos/randomgraph.hh, src/twaalgos/relabel.hh,
      src/twaalgos/remprop.hh, src/twaalgos/stats.cc, src/twaalgos/stutter.cc,
      src/twaalgos/translate.hh, wrap/python/spot_impl.i,
      src/ltlparse/ltlparse.yy, src/ltlparse/public.hh: Adjust.
      6ded5e75
  3. 26 Sep, 2015 3 commits
    • Alexandre Duret-Lutz's avatar
      nullptr cleanup for -Wzero-as-null-pointer-constant · 1729a79a
      Alexandre Duret-Lutz authored
      Fixes #106.
      
      * m4/gccwarn.m4: Use -Wzero-as-null-pointer-constant if supported.
      * src/bin/autfilt.cc, src/bin/common_aoutput.cc,
      src/bin/common_finput.cc, src/bin/common_finput.hh,
      src/bin/common_output.cc, src/bin/common_output.hh,
      src/bin/common_post.cc, src/bin/common_r.hh, src/bin/common_range.hh,
      src/bin/common_setup.cc, src/bin/common_trans.cc, src/bin/dstar2tgba.cc,
      src/bin/genltl.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc,
      src/bin/ltlcross.cc, src/bin/ltldo.cc, src/bin/ltlfilt.cc,
      src/bin/ltlgrind.cc, src/bin/randaut.cc, src/bin/randltl.cc,
      src/bin/spot-x.cc, src/kripke/kripkeexplicit.cc, src/ltlast/formula.cc,
      src/ltlvisit/randomltl.cc, src/ltlvisit/randomltl.hh,
      src/ltlvisit/relabel.cc, src/ltlvisit/relabel.hh,
      src/ltlvisit/simplify.cc, src/ltlvisit/snf.hh, src/misc/fixpool.hh,
      src/misc/mspool.hh, src/misc/hash.hh, src/misc/optionmap.cc,
      src/misc/satsolver.cc, src/misc/tmpfile.cc, src/misc/tmpfile.hh,
      src/priv/bddalloc.cc, src/ta/ta.hh, src/ta/taexplicit.cc,
      src/ta/taexplicit.hh, src/ta/taproduct.cc, src/ta/tgtaexplicit.hh,
      src/ta/tgtaproduct.cc, src/taalgos/minimize.cc,
      src/taalgos/reachiter.cc, src/taalgos/tgba2ta.cc,
      src/tests/complementation.cc, src/tests/ikwiad.cc,
      src/tests/randtgba.cc, src/tests/reduc.cc, src/twa/bdddict.cc,
      src/twa/bddprint.cc, src/twa/taatgba.cc, src/twa/twa.cc,
      src/twa/twagraph.hh, src/twa/twaproduct.cc,
      src/twa/twasafracomplement.cc, src/twaalgos/bfssteps.cc,
      src/twaalgos/compsusp.cc, src/twaalgos/dtgbasat.cc,
      src/twaalgos/emptiness.cc, src/twaalgos/gtec/ce.cc,
      src/twaalgos/gv04.cc, src/twaalgos/ltl2taa.cc,
      src/twaalgos/ltl2tgba_fm.cc, src/twaalgos/ltl2tgba_fm.hh,
      src/twaalgos/magic.cc, src/twaalgos/minimize.cc,
      src/twaalgos/ndfs_result.hxx, src/twaalgos/postproc.cc,
      src/twaalgos/postproc.hh, src/twaalgos/reachiter.cc,
      src/twaalgos/reducerun.cc, src/twaalgos/safety.hh,
      src/twaalgos/sccfilter.hh, src/twaalgos/se05.cc,
      src/twaalgos/simulation.cc, src/twaalgos/tau03.cc,
      src/twaalgos/tau03opt.cc, src/twaalgos/translate.cc,
      src/twaalgos/translate.hh, utf8/utf8/core.h,
      bench/stutter/stutter_invariance_formulas.cc, iface/ltsmin/ltsmin.cc,
      iface/ltsmin/modelcheck.cc: Use nullptr to fix the warning.
      1729a79a
    • Alexandre Duret-Lutz's avatar
      product: add a product_or variant · 51a3cfce
      Alexandre Duret-Lutz authored
      * src/twaalgos/product.cc, src/twaalgos/product.hh: Implement
      the variance.
      * src/bin/autfilt.cc: Expose it.
      * src/tests/prodor.test: New file.
      * src/tests/Makefile.am: Add it.
      * NEWS: Mention it.
      51a3cfce
    • Alexandre Duret-Lutz's avatar
      revamp the formula hierarchy (montro-patch) · b77f7e24
      Alexandre Duret-Lutz authored
      Flatten the formula ltl::formula hiearchy into a single ltl::vnode that
      has an enumerator to distinguish the types of node, and a common
      interface to access children, update reference counts, etc.  The
      ltl::formula class is now a thin wrapper around an ltl::vnode pointer to
      keep track of reference counts automatically.  Visitor are not used
      anymore; we now have map() and traversor() methods that are more
      concise.
      
      This basically fixes #43, but should be followed by some fine tuning
      that should now be localized to the formula.hh and formula.cc files.
      
      Some statistics about this patch.  I started working on it on Sep 9, had
      a first compiling version two weeks later on Sep 22, and it then took 5
      days to fixes the ~70 distincts bugs that were introduced during the
      conversion.  About 13200 lines were modified, and one third of those
      were removed.
      
      * src/ltlast/formula.cc, src/ltlast/formula.hh: Complete rewrite,
      including what was in separate nearby files.
      * src/ltla...
      b77f7e24
  4. 09 Sep, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      adjust documentation for the merge of the dstar parser · 17a18f28
      Alexandre Duret-Lutz authored
      * NEWS: Mention the changes.
      * doc/org/autfilt.org, doc/org/dstar2tgba.org,
      doc/org/ltlcross.org, doc/org/tools.org, doc/org/tut20.org,
      src/bin/man/dstar2tgba.x, src/bin/man/ltlcross.x: Adjust
      documentation.
      * src/bin/common_trans.cc: Use %O instead of %D, but keep %D
      hidden for backward compatibility.
      17a18f28
  5. 08 Sep, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      parseaut: support multiple dstar automata · c59e994a
      Alexandre Duret-Lutz authored
      * src/parseaut/parseaut.yy, src/parseaut/scanaut.ll: All multiple
      dstar automata to be chained.
      * src/bin/dstar2tgba.cc: Loop over multiple automata in a file.
      * src/tests/dstar.test: Test that.
      c59e994a
    • Alexandre Duret-Lutz's avatar
      parseaut: swallow the dstarparser · 209e89a9
      Alexandre Duret-Lutz authored
      Note that the parser is still not able to reader multiple dstar
      automata.
      
      * src/dstarparse/: Delete.
      * configure.ac, src/Makefile.am, README: Adjust.
      * src/parseaut/parseaut.yy, src/parseaut/scanaut.ll: Merge in the
      dstarparser rules.
      * src/bin/common_trans.cc, src/bin/common_trans.hh,
      src/bin/dstar2tgba.cc, src/bin/ltlcross.cc, src/bin/ltldo.cc,
      src/tests/ikwiad.cc: Adjust usage.
      * src/tests/parseaut.test: Adjust expected output.
      209e89a9
  6. 24 Aug, 2015 1 commit
  7. 21 Aug, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      unabbreviate: enable removal of R · 30883378
      Alexandre Duret-Lutz authored
      This implies learning alternative rules for G, and W as well, since
      those would use R.
      
      Fixes #103.  Suggested by Joachim Klein.
      
      * src/ltlvisit/unabbrev.cc, src/ltlvisit/unabbrev.hh: Implement the
      new rules.
      * doc/tl/tl.tex: Document the rules.
      * src/tests/unabbrevwm.test: Test them.
      * src/bin/ltlfilt.cc, NEWS: Mention that --unabbreviate accepts R.
      30883378
  8. 20 Aug, 2015 3 commits
    • Alexandre Duret-Lutz's avatar
      dstar2tgba: rewrite using common_aoutput · 7615a57d
      Alexandre Duret-Lutz authored
      Fixes #8.
      
      * src/bin/dstar2tgba.cc: Here.
      7615a57d
    • Alexandre Duret-Lutz's avatar
      homogenize dstar_parse() and parse_aut() outputs · f831f729
      Alexandre Duret-Lutz authored
      * src/dstarparse/dstarparse.yy, src/dstarparse/dstarscan.ll
      src/dstarparse/parsedecl.hh, src/dstarparse/public.hh:
      Adjust to return the same return types as parse_aut.
      * src/dstarparse/fmterror.cc: Delete, we can use
      the one of parse_aut.
      * src/dstarparse/Makefile.am: Adjust.
      * src/tests/ikwiad.cc, src/bin/dstar2tgba.cc,
      src/bin/ltldo.cc: Adjust usage.
      * src/bin/ltlcross.cc: The the result of dstar_parse() as-is, now that
      it is a TωA like those produced by parse_aut().  As a consequence,
      get rid of all the code storing statistics about the input
      automaton.
      * src/tests/ltlcross3.test, src/tests/ltl2dstar.test: Adjust expected
      CSV output.
      * doc/org/ltlcross.org, src/bin/man/ltlcross.x: Adjust to not
      mention that %D performs a tranformation to Büchi.
      f831f729
    • Alexandre Duret-Lutz's avatar
      dstarparse: get rid of the deticated data structures and conversions · 9b5340b9
      Alexandre Duret-Lutz authored
      * src/dstarparse/dstarparse.yy: Use the twa_graph_ptr to store the
      acceptance condition.
      * src/dstarparse/dra2ba.cc, src/dstarparse/dstar2tgba.cc,
      src/dstarparse/nra2nba.cc, src/dstarparse/nsa2tgba.cc: Delete
      all these conversion routines.
      * src/dstarparse/public.hh, src/dstarparse/Makefile.am: Adjust.
      * src/bin/dstar2tgba.cc: Adjust to call to_generalized_buchi()
      instead.
      * src/bin/ltlcross.cc: Adjust to call remove_fin() instead.
      * src/bin/ltldo.cc: Use the parsed automaton as-is.
      * src/tests/degenid.test, src/tests/dstar.test, src/tests/ikwiad.cc:
      Adjust test cases.
      9b5340b9
  9. 17 Aug, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      ltlfilt: add --unabbreviate · 56cbc3c8
      Alexandre Duret-Lutz authored
      * src/bin/ltlfilt.cc: Add option --unabbreviate.
      * src/tests/ltlfilt.test: Add a test case.
      * NEWS: Mention it.
      56cbc3c8
    • Alexandre Duret-Lutz's avatar
      merge tunnabrev/lunnabrev/wmunabbrev into a single function · d1f915c7
      Alexandre Duret-Lutz authored
      * src/ltlvisit/lunabbrev.cc, src/ltlvisit/lunabbrev.hh,
      src/ltlvisit/tunabbrev.cc, src/ltlvisit/tunabbrev.hh,
      src/ltlvisit/wmunabbrev.cc, src/ltlvisit/wmunabbrev.hh: Delete.
      * src/ltlvisit/unabbrev.cc, src/ltlvisit/unabbrev.hh: New files.
      * src/ltlvisit/Makefile.am: Adjust.
      * src/ltlvisit/print.cc, src/tests/equalsf.cc, src/tests/Makefile.am,
      src/twaalgos/ltl2taa.cc, wrap/python/spot_impl.i, src/bin/ltlfilt.cc:
      Adjust callers.
      * src/ltlvisit/contain.cc, src/tests/syntimpl.cc: Remove useless
      include.
      * wrap/python/tests/formulas.ipynb: New test cases.
      * doc/tl/tl.tex: Group all rules in a single section.
      * NEWS: Mention it.
      d1f915c7
  10. 13 Aug, 2015 3 commits
  11. 16 Jul, 2015 3 commits
  12. 10 Jul, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      new conversion for Streett->GBA · d8a1dafa
      Alexandre Duret-Lutz authored
      * src/twaalgos/totgba.hh, src/twaalgos/totgba.cc: Implement
      the new function.
      * NEWS: Mention this new function.
      * src/bin/man/spot-x.x: Document SPOT_STREETT_CONV_MIN.
      * src/tests/ltl2dstar4.test: Add tests.
      * src/tests/Makefile.am: Add it.
      * src/bin/autfilt.cc: Do do call remove_fin explicitely
      when --tgba is used, let the postprocessor do it.
      * src/twa/acc.hh: Add shift operators for acceptance marks.
      * src/twaalgos/remfin.cc: Use the new algorithm.
      * src/twaalgos/sccinfo.cc, src/twaalgos/sccinfo.hh: Add
      a new method to supply the acceptance sets visited by an SCC.
      d8a1dafa
  13. 01 Jul, 2015 1 commit
  14. 30 Jun, 2015 1 commit
  15. 16 Jun, 2015 1 commit
  16. 15 Jun, 2015 2 commits
  17. 11 Jun, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      graph: rename num_transitions() as num_edges() · af8634d8
      Alexandre Duret-Lutz authored
      And in fact, rename most "trans*" as "edges*", because that what they
      really are.
      
      * src/bin/autfilt.cc, src/bin/ltlcross.cc, src/bin/randaut.cc,
      src/dstarparse/dra2ba.cc, src/dstarparse/dstarparse.yy,
      src/dstarparse/nra2nba.cc, src/dstarparse/nsa2tgba.cc,
      src/graph/graph.hh, src/graph/ngraph.hh, src/ltlvisit/exclusive.cc,
      src/parseaut/parseaut.yy, src/tests/complementation.cc,
      src/tests/graph.cc, src/tests/ltl2tgba.cc, src/tests/ngraph.cc,
      src/tests/twagraph.cc, src/twa/twagraph.cc, src/twa/twagraph.hh,
      src/twa/twamask.hh, src/twaalgos/are_isomorphic.cc,
      src/twaalgos/are_isomorphic.hh, src/twaalgos/canonicalize.cc,
      src/twaalgos/cleanacc.cc, src/twaalgos/complete.cc,
      src/twaalgos/compsusp.cc, src/twaalgos/cycles.cc,
      src/twaalgos/degen.cc, src/twaalgos/dot.cc, src/twaalgos/dtbasat.cc,
      src/twaalgos/dtgbacomp.cc, src/twaalgos/dtgbasat.cc,
      src/twaalgos/dupexp.cc, src/twaalgos/emptiness.cc,
      src/twaalgos/isunamb.cc, src/twaalgos/isweakscc.cc,
      src/twaalgos/ltl2tgba_fm.cc, src/twaalgos/mask.hh,
      src/twaalgos/minimize.cc, src/twaalgos/postproc.cc,
      src/twaalgos/powerset.cc, src/twaalgos/product.cc,
      src/twaalgos/randomgraph.cc, src/twaalgos/randomize.cc,
      src/twaalgos/randomize.hh, src/twaalgos/relabel.cc,
      src/twaalgos/remfin.cc, src/twaalgos/safety.cc, src/twaalgos/sbacc.cc,
      src/twaalgos/sccfilter.cc, src/twaalgos/sepsets.cc,
      src/twaalgos/simulation.cc, src/twaalgos/stutter.cc,
      src/twaalgos/totgba.cc: Rename these.
      af8634d8
    • Alexandre Duret-Lutz's avatar
      hoaparse: rename to parseaut · a86391ab
      Alexandre Duret-Lutz authored
      Because this parser is not specific to HOA anymore.
      
      * src/hoaparse/Makefile.am, src/hoaparse/fmterror.cc,
      src/hoaparse/hoaparse.yy, src/hoaparse/parsedecl.hh,
      src/parseaut/public.hh, src/hoaparse/hoascan.ll,
      src/tests/hoaparse.test: Rename to...
      * src/parseaut/Makefile.am, src/parseaut/fmterror.cc,
      src/parseaut/parseaut.yy, src/parseaut/parsedecl.hh,
      src/hoaparse/public.hh, src/parseaut/scanaut.ll,
      src/tests/parseaut.test: ... these, and also adjust the name internally.
      For instance hoa_aut_ptr is now parsed_aut_ptr; hoa_stream_parser is now
      automaton_stream_parser, and hoa_parse() has become parse_aut().
      * NEWS, README, configure.ac, doc/org/tut20.org, src/Makefile.am,
      src/bin/autfilt.cc, src/bin/common_aoutput.cc,
      src/bin/common_aoutput.hh, src/bin/common_conv.cc,
      src/bin/ltlcross.cc, src/bin/ltldo.cc, src/tests/Makefile.am,
      src/tests/complementation.cc, src/tests/ltl2tgba.cc,
      src/tests/readsave.test, wrap/python/ajax/spot.in,
      wrap/python/spot.py, wrap/python/spot_impl.i,
      wrap/python/tests/automata-io.ipynb, wrap/python/tests/parsetgba.py:
      Adjust.
      a86391ab
  18. 10 Jun, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      lbtt: take options as a string like other print functions · 9f32021e
      Alexandre Duret-Lutz authored
      * src/twaalgos/lbtt.hh (print_lbtt): Take a const char* opt argument.
      * src/twaalgos/lbtt.cc: Use it, select state-based
      vs. transition-based using automaton property, and implement output
      for generalized state-based acceptance.
      * src/bin/common_aoutput.cc, src/bin/common_aoutput.hh,
      src/bin/dstar2tgba.cc: Adjust usage.  We do not need to handle
      --lbtt=t as a special case anymore.
      * src/tests/lbttparse.test, wrap/python/spot.py,
      wrap/python/tests/automata-io.ipynb, wrap/python/tests/piperead.ipynb:
      Adjust.
      9f32021e
    • Alexandre Duret-Lutz's avatar
      rename hoa_reachable as print_hoa · b229bfc2
      Alexandre Duret-Lutz authored
      As actually claimed (but not done) by
      738f939f.
      
      * src/twaalgos/hoa.hh, src/twaalgos/hoa.cc: Rename it.
      * src/bin/common_aoutput.cc, src/bin/dstar2tgba.cc,
      src/bin/ltlcross.cc, src/tests/complementation.cc,
      src/tests/ltl2tgba.cc, src/tests/randtgba.cc, src/twaalgos/hoa.cc,
      wrap/python/spot.py: Adjust.
      b229bfc2
  19. 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
  20. 04 Jun, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      ltlvisit: rename tostring.hh as print.hh and rename printer functions · 8fb7b279
      Alexandre Duret-Lutz authored
      This actually performs three related changes, but separating them
      would be quite inconvenient.
      
      1) rename tostring.hh to print.hh a welcome side-effect is that
      I could fix several files that included this file for not reason.
      
      2) de-overload some of the to_string functions, and rename them
      as follow:
      
        to_string -> print_psl, print_sere, str_psl, str_sere
        to_utf8_string -> print_utf8_psl, print_utf8_sere,
                          str_utf8_psl, str_utf8_sere
        to_spin_string -> print_spin_ltl, str_spin_ltl
        to_wring_string -> print_wring_ltl, str_wing_ltl
        to_lbt_string -> print_lbt_ltl, str_lbt_ltl
        to_latex_string -> print_latex_psl, str_latex_psl
        to_sclatex_string -> print_sclatex_psl, str_sclatex_psl
      
      Now it is clearer what these functions do, and their restrictions.
      
      3) all those print_* functions now take the stream to write onto
      as their first argument.  This fixes #88.
      
      * src/ltlvisit/tostring.cc, src/ltlvisit/tostring.hh: Rename into...
      * src/ltlvisit/print.cc, src/ltlvisit/print.hh: ... those, and make
      the changes listed above.
      * doc/org/tut01.org, src/bin/common_output.cc,
      src/bin/common_trans.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc,
      src/bin/ltlcross.cc, src/bin/ltldo.cc, src/bin/ltlfilt.cc,
      src/bin/randltl.cc, src/ltlparse/ltlparse.yy,
      src/ltlvisit/Makefile.am, src/ltlvisit/mark.cc,
      src/ltlvisit/relabel.cc, src/ltlvisit/simplify.cc,
      src/ltlvisit/snf.cc, src/ta/taexplicit.cc, src/ta/tgtaexplicit.cc,
      src/taalgos/tgba2ta.cc, src/tests/equalsf.cc, src/tests/ltl2tgba.cc,
      src/tests/ltlrel.cc, src/tests/randtgba.cc, src/tests/reduc.cc,
      src/tests/syntimpl.cc, src/tests/tostring.cc, src/twa/bdddict.cc,
      src/twa/bddprint.cc, src/twa/taatgba.cc, src/twa/taatgba.hh,
      src/twa/twagraph.cc, src/twaalgos/compsusp.cc, src/twaalgos/lbtt.cc,
      src/twaalgos/ltl2taa.cc, src/twaalgos/ltl2tgba_fm.cc,
      src/twaalgos/neverclaim.cc, src/twaalgos/remprop.cc,
      src/twaalgos/stats.cc, wrap/python/ajax/spot.in, wrap/python/spot.py,
      wrap/python/spot_impl.i: Adjust.
      8fb7b279
    • Alexandre Duret-Lutz's avatar
      ltlparse: rename the main functions · 98790f53
      Alexandre Duret-Lutz authored
      parse         -> parse_infix_psl
      parse_lbt     -> parse_prefix_ltl
      parse_sere    -> parse_infix_sere
      parse_boolean -> parse_infix_boolean
      
      Fixes #87.
      
      * src/ltlparse/ltlparse.yy, src/ltlparse/public.hh:
      Do the above changes.
      * doc/mainpage.dox, doc/org/tut01.org, iface/ltsmin/modelcheck.cc,
      src/bin/common_finput.cc, src/hoaparse/hoaparse.yy,
      src/kripkeparse/kripkeparse.yy, src/tests/checkpsl.cc,
      src/tests/checkta.cc, src/tests/complementation.cc,
      src/tests/consterm.cc, src/tests/emptchk.cc, src/tests/equalsf.cc,
      src/tests/kind.cc, src/tests/length.cc, src/tests/ltl2tgba.cc,
      src/tests/ltlprod.cc, src/tests/ltlrel.cc, src/tests/randtgba.cc,
      src/tests/readltl.cc, src/tests/reduc.cc, src/tests/syntimpl.cc,
      src/tests/tostring.cc, wrap/python/ajax/spot.in,
      wrap/python/tests/alarm.py, wrap/python/tests/interdep.py,
      wrap/python/tests/ltl2tgba.py, wrap/python/tests/ltlparse.py: Adjust.
      98790f53
  21. 03 Jun, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      ltlvisit: merge lbt.hh into tostring.hh · aedce810
      Alexandre Duret-Lutz authored
      Fixes #86.
      
      * src/ltlvisit/lbt.hh, src/ltlvisit/lbt.cc: Delete and move contents
      into...
      * src/ltlvisit/tostring.hh, src/ltlvisit/tostring.cc: ... these.
      * doc/org/tut01.org, src/bin/common_output.cc,
      src/bin/common_trans.cc, src/bin/ltlcross.cc,
      src/ltlvisit/Makefile.am, src/twaalgos/lbtt.cc,
      wrap/python/spot_impl.i: Adjust.
      aedce810
  22. 02 Jun, 2015 2 commits
  23. 01 Jun, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      randaut: add a --colored option · 715805fa
      Alexandre Duret-Lutz authored
      Fixes #83.
      
      * src/bin/randaut.cc: Add option.
      * src/twaalgos/randomgraph.cc, src/twaalgos/randomgraph.hh: Honor it.
      * src/tests/randaut.test: Add tests.
      * doc/org/randaut.org: Document it.
      715805fa
    • Alexandre Duret-Lutz's avatar
      bin: clear temporary files on termination signals · eabed370
      Alexandre Duret-Lutz authored
      This is particularly important for src/tests/satmin.test, where ltl2tgba
      might be killed while writing a huge temporary file used for SAT-based
      minimization.  Before this patch, the temporary files would remain in
      src/tests/satmin.dir/, easily overflowing the 100GB limit of the docker
      containers we use on the build farm.
      
      * src/bin/common_setup.cc: Catch termination signals for all tools,
      even those that do not yet clear temporary files.
      * configure.ac: Check for sigaction.
      eabed370