1. 06 Jan, 2017 7 commits
    • Alexandre GBAGUIDI AISSE's avatar
      spot: Add 'langmap' option with dichotomy (it helps to choose min val) · 67e3a4f2
      Alexandre GBAGUIDI AISSE authored
      * python/spot/__init__.py: Handle 'dicho' option in 'sat_minimize'.
      * spot/priv/satcommon.cc: Implement get_number_of_distinct_vals.
      * spot/priv/satcommon.hh: Declare get_number_of_distinct_vals.
      * spot/twaalgos/dtbasat.cc: Use get_number_of_distinct_vals.
      * spot/twaalgos/dtbasat.hh: Change dichotomy function's prototype.
      * spot/twaalgos/dtwasat.cc: Use get_number_of_distinct_vals.
      * spot/twaalgos/dtwasat.hh: Change dichotomy function's prototype.
      Handle options.
      * spot/twaalgos/postproc.cc: Handle options.
      * spot/twaalgos/postproc.hh: Add dicho_langmap_ var for options.
      * tests/core/satmin2.test: Add tests for dichotomy.
      * tests/core/satmin.test: Add tests for dichotomy.
      * tests/python/satmin.py: Replace 'dichotomy' with 'dicho' option.
      67e3a4f2
    • Alexandre GBAGUIDI AISSE's avatar
      spot: Implement dt*a_sat_minimize_assume(...) methods · 9a204b77
      Alexandre GBAGUIDI AISSE authored
      * python/spot/__init__.py: Add 'assume' option.
      * spot/misc/satsolver.cc: Add function to handle assumptions.
      * spot/misc/satsolver.hh: Declare assumption function.
      * spot/twaalgos/dtbasat.cc: Implement dtba_sat_minimize_assume.
      * spot/twaalgos/dtbasat.hh: Declare it.
      * spot/twaalgos/dtwasat.cc: Implement dtwa_sat_minimize_assume and
      handle options.
      * spot/twaalgos/dtwasat.hh: Declare it.
      * spot/twaalgos/postproc.cc: Handle options.
      * spot/twaalgos/postproc.hh: Use param_ var for incr and assume.
      * tests/core/satmin.test: Add tests for the new function.
      * tests/core/satmin2.test: Add tests for the new function.
      * tests/python/satmin.py: Add tests for the new function.
      9a204b77
    • Alexandre GBAGUIDI AISSE's avatar
      twaalgos: Implement dt*a_sat_minimize_incr(...) functions · ee17c2de
      Alexandre GBAGUIDI AISSE authored
      * python/spot/__init__.py: Add 'incr' boolean argument.
      * spot/twaalgos/dtbasat.cc: Implement dtba_sat_minimize_incr(...).
      * spot/twaalgos/dtbasat.hh: Declare it.
      * spot/twaalgos/dtwasat.cc: Implement dtwa_sat_minimize_incr(...) and
      deal with options.
      * spot/twaalgos/dtwasat.hh: Declare it.
      * spot/twaalgos/postproc.cc: Add option --sat-minimize=incr.
      * spot/twaalgos/postproc.hh: Add incr parameter.
      * tests/core/satmin.test: Add tests for incremental version.
      Update expected result.
      * tests/core/satmin2.test: Add tests for incremental version.
      * tests/python/satmin.py: Add tests for incremental version.
      ee17c2de
    • Alexandre GBAGUIDI AISSE's avatar
      twaalgos: Improve data storage in SAT-minimization · 9acd7370
      Alexandre GBAGUIDI AISSE authored
      * spot/misc/satsolver.hh: Make solver return vector<bool> instead of
      vector<int>.
      * spot/misc/satsolver.cc: Update code.
      * spot/priv/Makefile.am: Add satcommon.*
      * spot/priv/satcommon.hh: Declare helper class and factorize some
      duplicate code of dt*asat.cc
      * spot/priv/satcommon.cc: Implement helper class and factorize some
      duplicate code of dt*asat.cc
      * spot/twaalgos/dtbasat.cc: Declare helper, implement some functions
      in dict struct and update code.
      * spot/twaalgos/dtwasat.cc: Declare helper, implement some functions
      in dict struct and update code.
      * tests/core/readsat.cc: Update tests.
      * tests/core/satmin.test: Typo.
      * tests/core/satmin2.test: Update an expected result.
      9acd7370
    • Alexandre GBAGUIDI AISSE's avatar
      twaalgos: Help sat_build to ignore unuseful transitions · 79f4c8e0
      Alexandre GBAGUIDI AISSE authored
      * spot/twaalgos/dtbasat.cc: Fix static sat_build.
      * spot/twaalgos/dtwasat.cc: Fix static sat_build.
      79f4c8e0
    • Alexandre GBAGUIDI AISSE's avatar
      spot: Add Picosat to Spot library & Update satsolver class · 32f040fa
      Alexandre GBAGUIDI AISSE authored
      * Makefile.am: Add picosat to subdirs.
      * configure.ac: Add picosat/Makefile to AC_CONFIG_FILES.
      * README: Add picosat/ in the list of directories.
      * debian/copyright: Add picosat licence and details.
      * picosat/Makefile.am: Implement Makefile.am in picosat directory.
      * spot/Makefile.am: Tell the compiler to add libpico.la into libspot.la.
      * picosat/LICENSE: Add picosat licence.
      * picosat/NEWS: Add picosat NEWS.
      * picosat/VERSION: Add picosat VERSION.
      * picosat/picosat.c: Add picosat c file.
      * picosat/picosat.h: Add picosat header file.
      * spot/misc/satsolver.cc: Update functions.
      * spot/misc/satsolver.hh: Add documentation, clean code, change
      some functions visibility and separate templates functions.
      * spot/twaalgos/dtbasat.cc: Update dtba_to_sat function.
      * spot/twaalgos/dtwasat.cc: Update dtwa_to_sat function.
      32f040fa
    • Alexandre GBAGUIDI AISSE's avatar
      spot: Abstract cnf writing in SAT-based minimisation · 596bdec9
      Alexandre GBAGUIDI AISSE authored
      * spot/misc/satsolver.hh: Declare all functions needed.
      * spot/misc/satsolver.cc: Implement them.
      * spot/twaalgos/dtbasat.cc: Abstract writing.
      * spot/twaalgos/dtwasat.cc: Abstract writing.
      596bdec9
  2. 23 Nov, 2016 1 commit
    • Etienne Renault's avatar
      Prefer emplace_back to push_back · 43ec36cd
      Etienne Renault authored
      * spot/graph/ngraph.hh, spot/ltsmin/ltsmin.cc,
      spot/misc/bitvect.hh, spot/misc/intvcomp.cc,
      spot/misc/satsolver.cc, spot/priv/weight.cc,
      spot/ta/taexplicit.cc, spot/taalgos/minimize.cc,
      spot/taalgos/reachiter.cc, spot/tl/exclusive.cc,
      spot/tl/formula.cc, spot/tl/formula.hh,
      spot/tl/mark.cc, spot/tl/mutation.cc,
      spot/tl/relabel.cc, spot/tl/remove_x.cc,
      spot/tl/simplify.cc, spot/twa/acc.cc,
      spot/twa/acc.hh, spot/twa/formula2bdd.cc,
      spot/twa/taatgba.cc, spot/twa/taatgba.hh,
      spot/twa/twa.hh, spot/twa/twagraph.cc,
      spot/twaalgos/bfssteps.cc, spot/twaalgos/canonicalize.cc,
      spot/twaalgos/compsusp.cc, spot/twaalgos/copy.cc,
      spot/twaalgos/cycles.cc, spot/twaalgos/degen.cc,
      spot/twaalgos/determinize.cc, spot/twaalgos/dtwasat.cc,
      spot/twaalgos/emptiness.cc, spot/twaalgos/gv04.cc,
      spot/twaalgos/hoa.cc, spot/twaalgos/ltl2taa.cc,
      spot/twaalgos/ltl2tgba_fm.cc, spot/twaalgos/magic.cc,
      spot/twaalgos/mask.hh, spot/twaalgos/minimize.cc,
      spot/twaalgos/powerset.cc, spot/twaalgos/product.cc,
      spot/twaalgos/randomgraph.cc, spot/twaalgos/reachiter.cc,
      spot/twaalgos/relabel.cc, spot/twaalgos/remfin.cc,
      spot/twaalgos/sccfilter.cc, spot/twaalgos/se05.cc,
      spot/twaalgos/simulation.cc, spot/twaalgos/stutter.cc,
      spot/twaalgos/tau03opt.cc, spot/twaalgos/totgba.cc,
      spot/twaalgos/word.cc, tests/core/bitvect.cc: here.
      43ec36cd
  3. 08 Nov, 2016 1 commit
    • Alexandre GBAGUIDI AISSE's avatar
      spot: Add %R, %[..]R common option. · 6ed38070
      Alexandre GBAGUIDI AISSE authored
      For #189.
      
      * NEWS: Update.
      * bin/autfilt.cc: Replace stopwatch with process_timer.
      * bin/dstar2tgba.cc: Replace stopwatch with process_timer.
      * bin/ltl2tgba.cc: Replace stopwatch with process_timer.
      * bin/ltlcross.cc: Replace stopwatch with process_timer.
      * bin/ltldo.cc: Replace stopwatch with process_timer.
      * bin/randaut.cc: Replace stopwatch with process_timer.
      * bin/common_aoutput.hh: Implement process_timer, integrate it.
      * bin/common_aoutput.cc: Integrate process_timer and implement new
      print method.
      * spot/misc/timer.hh: Modify timer class and timeinfo struct
      i.e. add cutime (children_utime) and cstime (children_stime).
      * spot/misc/timer.cc: Help code to behave as before all this.
      * spot/twaalgos/dtbasat.cc: Help print_log to behave as before
      all this.
      * spot/twaalgos/dtwasat.cc: Help print_log to behave as before
      all this.
      * spot/misc/formater.hh: Add operator<< for spot::timer.
      6ed38070
  4. 06 Sep, 2016 1 commit
  5. 22 Jun, 2016 1 commit
  6. 10 Mar, 2016 1 commit
    • Laurent XU's avatar
      sanity: Replace tabulars by spaces in *.cc *.hh *.hxx · f7e7b4f1
      Laurent XU authored
      * bin/autfilt.cc, bin/common_aoutput.cc, bin/common_aoutput.hh,
      bin/common_finput.cc, bin/common_finput.hh, bin/common_hoaread.cc,
      bin/common_output.cc, bin/common_output.hh, bin/common_post.cc,
      bin/common_post.hh, bin/common_r.hh, bin/common_range.cc,
      bin/common_range.hh, bin/common_setup.cc, bin/common_trans.cc,
      bin/common_trans.hh, bin/dstar2tgba.cc, bin/genltl.cc,
      bin/ltl2tgba.cc, bin/ltl2tgta.cc, bin/ltlcross.cc, bin/ltldo.cc,
      bin/ltlfilt.cc, bin/ltlgrind.cc, bin/randaut.cc, bin/randltl.cc,
      bin/spot-x.cc, spot/graph/graph.hh, spot/graph/ngraph.hh,
      spot/kripke/kripkegraph.hh, spot/ltsmin/ltsmin.cc,
      spot/ltsmin/ltsmin.hh, spot/misc/bareword.cc, spot/misc/bitvect.cc,
      spot/misc/bitvect.hh, spot/misc/common.hh, spot/misc/escape.cc,
      spot/misc/fixpool.hh, spot/misc/formater.cc, spot/misc/hash.hh,
      spot/misc/intvcmp2.cc, spot/misc/intvcmp2.hh, spot/misc/intvcomp.cc,
      spot/misc/intvcomp.hh, spot/misc/location.hh, spot/misc/minato.cc,
      spot/misc/minato.hh, spot/misc/mspool.hh, spot/misc/optionmap.cc,
      spot/misc/optionmap.hh, spot/misc/random.cc, spot/misc/random.hh,
      spot/misc/satsolver.cc, spot/misc/satsolver.hh, spot/misc/timer.cc,
      spot/misc/timer.hh, spot/misc/tmpfile.cc, spot/misc/trival.hh,
      spot/parseaut/fmterror.cc, spot/parseaut/parsedecl.hh,
      spot/parseaut/public.hh, spot/parsetl/fmterror.cc,
      spot/parsetl/parsedecl.hh, spot/priv/accmap.hh, spot/priv/bddalloc.cc,
      spot/priv/freelist.cc, spot/priv/trim.cc, spot/priv/weight.cc,
      spot/priv/weight.hh, spot/ta/taexplicit.cc, spot/ta/taexplicit.hh,
      spot/ta/taproduct.cc, spot/ta/taproduct.hh, spot/ta/tgtaexplicit.cc,
      spot/ta/tgtaexplicit.hh, spot/ta/tgtaproduct.cc,
      spot/ta/tgtaproduct.hh, spot/taalgos/dot.cc, spot/taalgos/dot.hh,
      spot/taalgos/emptinessta.cc, spot/taalgos/emptinessta.hh,
      spot/taalgos/minimize.cc, spot/taalgos/tgba2ta.cc,
      spot/taalgos/tgba2ta.hh, spot/tl/apcollect.cc, spot/tl/contain.cc,
      spot/tl/contain.hh, spot/tl/dot.cc, spot/tl/exclusive.cc,
      spot/tl/exclusive.hh, spot/tl/formula.cc, spot/tl/formula.hh,
      spot/tl/length.cc, spot/tl/mark.cc, spot/tl/mutation.cc,
      spot/tl/mutation.hh, spot/tl/parse.hh, spot/tl/print.cc,
      spot/tl/print.hh, spot/tl/randomltl.cc, spot/tl/randomltl.hh,
      spot/tl/relabel.cc, spot/tl/relabel.hh, spot/tl/remove_x.cc,
      spot/tl/simplify.cc, spot/tl/simplify.hh, spot/tl/snf.cc,
      spot/tl/snf.hh, spot/tl/unabbrev.cc, spot/tl/unabbrev.hh,
      spot/twa/acc.cc, spot/twa/acc.hh, spot/twa/bdddict.cc,
      spot/twa/bdddict.hh, spot/twa/bddprint.cc, spot/twa/formula2bdd.cc,
      spot/twa/formula2bdd.hh, spot/twa/taatgba.cc, spot/twa/taatgba.hh,
      spot/twa/twa.cc, spot/twa/twa.hh, spot/twa/twagraph.cc,
      spot/twa/twagraph.hh, spot/twa/twaproduct.cc, spot/twa/twaproduct.hh,
      spot/twaalgos/are_isomorphic.cc, spot/twaalgos/are_isomorphic.hh,
      spot/twaalgos/bfssteps.cc, spot/twaalgos/bfssteps.hh,
      spot/twaalgos/cleanacc.cc, spot/twaalgos/complete.cc,
      spot/twaalgos/compsusp.cc, spot/twaalgos/compsusp.hh,
      spot/twaalgos/copy.cc, spot/twaalgos/cycles.cc,
      spot/twaalgos/cycles.hh, spot/twaalgos/degen.cc,
      spot/twaalgos/degen.hh, spot/twaalgos/determinize.cc,
      spot/twaalgos/determinize.hh, spot/twaalgos/dot.cc,
      spot/twaalgos/dot.hh, spot/twaalgos/dtbasat.cc,
      spot/twaalgos/dtbasat.hh, spot/twaalgos/dtwasat.cc,
      spot/twaalgos/dtwasat.hh, spot/twaalgos/emptiness.cc,
      spot/twaalgos/emptiness.hh, spot/twaalgos/emptiness_stats.hh,
      spot/twaalgos/gtec/ce.cc, spot/twaalgos/gtec/ce.hh,
      spot/twaalgos/gtec/gtec.cc, spot/twaalgos/gtec/gtec.hh,
      spot/twaalgos/gtec/sccstack.cc, spot/twaalgos/gtec/status.cc,
      spot/twaalgos/gv04.cc, spot/twaalgos/hoa.cc, spot/twaalgos/hoa.hh,
      spot/twaalgos/isdet.cc, spot/twaalgos/isunamb.cc,
      spot/twaalgos/isweakscc.cc, spot/twaalgos/lbtt.cc,
      spot/twaalgos/lbtt.hh, spot/twaalgos/ltl2taa.cc,
      spot/twaalgos/ltl2taa.hh, spot/twaalgos/ltl2tgba_fm.cc,
      spot/twaalgos/ltl2tgba_fm.hh, spot/twaalgos/magic.cc,
      spot/twaalgos/magic.hh, spot/twaalgos/mask.cc, spot/twaalgos/mask.hh,
      spot/twaalgos/minimize.cc, spot/twaalgos/minimize.hh,
      spot/twaalgos/ndfs_result.hxx, spot/twaalgos/neverclaim.cc,
      spot/twaalgos/neverclaim.hh, spot/twaalgos/postproc.cc,
      spot/twaalgos/postproc.hh, spot/twaalgos/powerset.cc,
      spot/twaalgos/powerset.hh, spot/twaalgos/product.cc,
      spot/twaalgos/product.hh, spot/twaalgos/projrun.cc,
      spot/twaalgos/projrun.hh, spot/twaalgos/randomgraph.cc,
      spot/twaalgos/randomgraph.hh, spot/twaalgos/randomize.cc,
      spot/twaalgos/randomize.hh, spot/twaalgos/reachiter.cc,
      spot/twaalgos/reachiter.hh, spot/twaalgos/relabel.cc,
      spot/twaalgos/relabel.hh, spot/twaalgos/remfin.cc,
      spot/twaalgos/remprop.cc, spot/twaalgos/sbacc.cc,
      spot/twaalgos/sccfilter.cc, spot/twaalgos/sccfilter.hh,
      spot/twaalgos/sccinfo.cc, spot/twaalgos/sccinfo.hh,
      spot/twaalgos/se05.cc, spot/twaalgos/se05.hh,
      spot/twaalgos/sepsets.cc, spot/twaalgos/simulation.cc,
      spot/twaalgos/simulation.hh, spot/twaalgos/stats.cc,
      spot/twaalgos/stats.hh, spot/twaalgos/strength.cc,
      spot/twaalgos/strength.hh, spot/twaalgos/stripacc.cc,
      spot/twaalgos/stutter.cc, spot/twaalgos/stutter.hh,
      spot/twaalgos/tau03.cc, spot/twaalgos/tau03opt.cc,
      spot/twaalgos/tau03opt.hh, spot/twaalgos/totgba.cc,
      spot/twaalgos/translate.cc, spot/twaalgos/word.cc, tests/core/acc.cc,
      tests/core/bitvect.cc, tests/core/checkpsl.cc, tests/core/checkta.cc,
      tests/core/consterm.cc, tests/core/emptchk.cc, tests/core/equalsf.cc,
      tests/core/graph.cc, tests/core/ikwiad.cc, tests/core/intvcmp2.cc,
      tests/core/intvcomp.cc, tests/core/kind.cc, tests/core/kripkecat.cc,
      tests/core/ltlrel.cc, tests/core/ngraph.cc, tests/core/randtgba.cc,
      tests/core/readltl.cc, tests/core/reduc.cc, tests/core/safra.cc,
      tests/core/syntimpl.cc, tests/ltsmin/modelcheck.cc: Replace tabulars by
      8 spaces.
      * tests/sanity/style.test: Add checks for no tabulars in *.cc *.hh *.hxx
      f7e7b4f1
  7. 28 Jan, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      twa: introduce the state_map template alias · 9b95b697
      Alexandre Duret-Lutz authored
      * spot/twa/twa.hh: Introduce the type.
      * spot/taalgos/emptinessta.cc, spot/taalgos/emptinessta.hh,
      spot/taalgos/minimize.cc, spot/taalgos/reachiter.cc,
      spot/taalgos/reachiter.hh, spot/taalgos/tgba2ta.cc,
      spot/twa/twasafracomplement.cc, spot/twaalgos/dtwasat.cc,
      spot/twaalgos/emptiness.cc, spot/twaalgos/gtec/status.cc,
      spot/twaalgos/gtec/status.hh, spot/twaalgos/gv04.cc,
      spot/twaalgos/magic.cc, spot/twaalgos/minimize.cc,
      spot/twaalgos/minimize.hh, spot/twaalgos/reachiter.cc,
      spot/twaalgos/reachiter.hh, spot/twaalgos/se05.cc,
      spot/twaalgos/tau03.cc, spot/twaalgos/tau03opt.cc: Use it.
      9b95b697
  8. 21 Jan, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      typos · 2364ff81
      Alexandre Duret-Lutz authored
      * bin/autfilt.cc, spot/twaalgos/degen.cc, spot/twaalgos/dtwasat.cc,
      spot/twaalgos/remfin.cc, spot/twaalgos/sccfilter.cc: "only work" ->
      "only works".
      2364ff81
  9. 18 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc_code: parse from the constructor · df1ef302
      Alexandre Duret-Lutz authored
      * spot/twa/acc.hh, spot/twa/acc.cc (parse_acc_code): Rename as...
      (acc_cond::acc_code): ... this, making it a lot easier to build
      acceptance conditions from strings.
      * NEWS: Mention the change.
      * spot/twaalgos/dtwasat.cc, spot/bin/randaut.cc, spot/tests/acc.cc:
      Adjust.
      * wrap/python/tests/acc_cond.ipynb, wrap/python/tests/accparse.ipynb,
      wrap/python/tests/accparse2.py: Simplify, but not completely to exercise
      all variants.
      * wrap/python/spot_impl.i: Make acc_code's constructor implicit.
      df1ef302
  10. 16 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc: simplify interface using operators · 4993e807
      Alexandre Duret-Lutz authored
      * spot/twa/acc.hh, spot/twa/acc.cc: Here.  Also remove
      some redundant functions.
      * spot/parseaut/parseaut.yy, spot/priv/accmap.hh, spot/tests/acc.cc,
      spot/tests/twagraph.cc, spot/twa/taatgba.hh, spot/twa/twaproduct.cc,
      spot/twaalgos/dtwasat.cc, spot/twaalgos/hoa.cc, spot/twaalgos/lbtt.cc,
      spot/twaalgos/ltl2tgba_fm.cc, spot/twaalgos/product.cc,
      spot/twaalgos/remfin.cc, spot/twaalgos/simulation.cc,
      spot/twaalgos/tau03opt.cc, spot/twaalgos/weight.cc,
      spot/twaalgos/weight.hh: Adjust.
      * NEWS: Mention the changes.
      4993e807
  11. 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
  12. 24 Nov, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      dtwa_sat_minimize: better selection of the reference automaton · a825fa91
      Alexandre Duret-Lutz authored
      * src/twaalgos/dtwasat.cc: Choose the reference automaton based on its
      size.  With this change, the last example of my LPAR'15 talk goes from
      ~7s to under 1s.
      * NEWS: Mention it.
      a825fa91
    • 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
  13. 05 Nov, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      twa: rename the is_* getters as prop_* · cbb2e64e
      Alexandre Duret-Lutz authored
      This fixes #116.
      
      * src/twa/twa.hh: Rename those methods.
      * NEWS: Document the renamings.
      * doc/org/hoa.org, doc/org/tut21.org, src/parseaut/parseaut.yy,
      src/tests/ikwiad.cc, src/twa/twagraph.hh,
      src/twaalgos/are_isomorphic.cc, src/twaalgos/complete.cc,
      src/twaalgos/degen.cc, src/twaalgos/dot.cc, src/twaalgos/dtbasat.cc,
      src/twaalgos/dtgbasat.cc, src/twaalgos/hoa.cc, src/twaalgos/isdet.cc,
      src/twaalgos/isunamb.cc, src/twaalgos/lbtt.cc,
      src/twaalgos/minimize.cc, src/twaalgos/postproc.cc,
      src/twaalgos/product.cc, src/twaalgos/randomgraph.cc,
      src/twaalgos/remfin.cc, src/twaalgos/sbacc.cc,
      src/twaalgos/simulation.cc, src/twaalgos/stutter.cc,
      src/twaalgos/totgba.cc: Adjust.
      cbb2e64e
  14. 04 Nov, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      twa: no default argument for property setters · 8ea5f73c
      Alexandre Duret-Lutz authored
      This is a preliminary for the renaming suggested in #116.
      
      * src/twa/twa.hh (prop_state_based_acc, prop_inherently_weak,
      prop_deterministic, prop_unambiguous, prop_stutter_invariant,
      prop_stutter_sensitive): Do not default the argument to true.
      * src/parseaut/parseaut.yy, src/twaalgos/degen.cc,
      src/twaalgos/dtbasat.cc, src/twaalgos/dtgbasat.cc,
      src/twaalgos/minimize.cc, src/twaalgos/randomgraph.cc,
      src/twaalgos/remfin.cc, src/twaalgos/sbacc.cc,
      src/twaalgos/simulation.cc, src/twaalgos/totgba.cc,
      wrap/python/tests/remfin.py: Adjust.
      8ea5f73c
  15. 24 Oct, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      stats: rename structures and attribute for concistency · 4a91fccc
      Alexandre Duret-Lutz authored
      * src/taalgos/stats.cc, src/taalgos/stats.hh
      (tgba_statistics::transitions, tgba_sub_statistics::sub_transitions):
      Rename ...
      (twa_statistics::edges, twa_sub_statistics::transitions): ... to
      these.
      * NEWS: Mention it.
      * src/bin/common_aoutput.hh, src/bin/ltlcross.cc,
      src/tests/checkta.cc, src/tests/complementation.cc,
      src/tests/ikwiad.cc, src/tests/ltl2tgba.test,
      src/tests/neverclaimread.test, src/tests/randtgba.cc,
      src/tests/renault.test, src/tests/wdba2.test, src/twaalgos/dtbasat.cc,
      src/twaalgos/dtgbasat.cc, src/twaalgos/stats.cc,
      src/twaalgos/stats.hh, wrap/python/ajax/spotcgi.in: Adjust.
      4a91fccc
  16. 03 Oct, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      tgba_complete: rename as complete and export in Python · 5e07e838
      Alexandre Duret-Lutz authored
      * src/twaalgos/complete.cc, src/twaalgos/complete.hh
      (tgba_complete, tgba_complete_here): Rename as...
      (complete, complete_here): ... these.  Also fix useless output of
      acceptance marks on transition leading to the sink when the automaton
      does not use state-based acceptance.
      * src/tests/ikwiad.cc, src/twaalgos/dtgbacomp.cc,
      src/twaalgos/dtgbasat.cc, src/twaalgos/postproc.cc,
      src/twaalgos/product.cc: Adjust.
      * wrap/python/spot_impl.i: Export these function.
      * wrap/python/tests/automata.ipynb: Test spot.complete().
      5e07e838
  17. 28 Sep, 2015 1 commit
    • 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
  18. 26 Sep, 2015 2 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
      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/ltlast/allnodes.hh, src/ltlast/atomic_prop.cc,
      src/ltlast/atomic_prop.hh, src/ltlast/binop.cc, src/ltlast/binop.hh,
      src/ltlast/bunop.cc, src/ltlast/bunop.hh, src/ltlast/constant.cc,
      src/ltlast/constant.hh, src/ltlast/multop.cc, src/ltlast/multop.hh,
      src/ltlast/unop.cc, src/ltlast/unop.hh, src/ltlvisit/dump.cc,
      src/ltlvisit/dump.hh, src/ltlast/predecl.hh: Delete these files.  Their
      feature have been merged in formula.hh and formula.cc.
      * src/ltlast/visitor.hh, src/ltlvisit/clone.cc, src/ltlvisit/clone.hh,
      src/ltlvisit/dump.hh, src/ltlvisit/postfix.cc, src/ltlvisit/postfix.hh:
      Delete these files, as we do not use visitors anymore.
      * bench/stutter/stutter_invariance_formulas.cc,
      bench/stutter/stutter_invariance_randomgraph.cc, doc/org/tut01.org,
      doc/org/tut02.org, doc/org/tut10.org, doc/org/tut22.org,
      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_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/ltlast/Makefile.am,
      src/ltlenv/declenv.cc, src/ltlenv/declenv.hh, src/ltlenv/defaultenv.cc,
      src/ltlenv/defaultenv.hh, src/ltlenv/environment.hh,
      src/ltlparse/ltlparse.yy, src/ltlparse/public.hh,
      src/ltlvisit/Makefile.am, src/ltlvisit/apcollect.cc,
      src/ltlvisit/apcollect.hh, src/ltlvisit/contain.cc,
      src/ltlvisit/contain.hh, src/ltlvisit/dot.cc, src/ltlvisit/dot.hh,
      src/ltlvisit/exclusive.cc, src/ltlvisit/exclusive.hh,
      src/ltlvisit/length.cc, src/ltlvisit/length.hh, src/ltlvisit/mark.cc,
      src/ltlvisit/mark.hh, src/ltlvisit/mutation.cc,
      src/ltlvisit/mutation.hh, src/ltlvisit/nenoform.cc,
      src/ltlvisit/nenoform.hh, src/ltlvisit/print.cc, src/ltlvisit/print.hh,
      src/ltlvisit/randomltl.cc, src/ltlvisit/randomltl.hh,
      src/ltlvisit/relabel.cc, src/ltlvisit/relabel.hh,
      src/ltlvisit/remove_x.cc, src/ltlvisit/remove_x.hh,
      src/ltlvisit/simpfg.cc, src/ltlvisit/simpfg.hh,
      src/ltlvisit/simplify.cc, src/ltlvisit/simplify.hh, src/ltlvisit/snf.cc,
      src/ltlvisit/snf.hh, src/ltlvisit/unabbrev.cc, src/ltlvisit/unabbrev.hh,
      src/parseaut/parseaut.yy, src/ta/taexplicit.cc, src/ta/tgtaexplicit.cc,
      src/taalgos/minimize.cc, src/taalgos/tgba2ta.cc, src/tests/bare.test,
      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/isop.test, src/tests/kind.cc, src/tests/length.cc,
      src/tests/ltldo.test, src/tests/ltlfilt.test, src/tests/ltlgrind.test,
      src/tests/ltlprod.cc, src/tests/ltlrel.cc,
      src/tests/parse_print_test.cc, src/tests/parseaut.test,
      src/tests/parseerr.test, 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/tests/utf8.test,
      src/twa/acc.cc, 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.cc, 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/lbtt.cc,
      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/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/ajax/spotcgi.in, wrap/python/spot.py,
      wrap/python/spot_impl.i, wrap/python/Makefile.am,
      wrap/python/tests/automata-io.ipynb, wrap/python/tests/formulas.ipynb,
      wrap/python/tests/ltl2tgba.py, wrap/python/tests/ltlparse.py,
      wrap/python/tests/ltlsimple.py, wrap/python/tests/randltl.ipynb: Adjust
      to use the new interface.
      * src/sanity/style.test: Accept more C++11 patterns.
      * NEWS: Mention the change.
      b77f7e24
  19. 03 Sep, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      dtgbasat: add a colored option · 3378d72a
      Alexandre Duret-Lutz authored
      This was suggested by one of the reviewers of our LPAR'15 paper.
      
      * src/twaalgos/dtgbasat.cc, src/twaalgos/dtgbasat.hh: Implement
      the colored option.
      * src/tests/satmin2.test: Test it.
      * doc/org/satmin.org, NEWS: Document it.
      3378d72a
  20. 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
      twa: forward num_sets() to acc_. · 6f500f3f
      Alexandre Duret-Lutz authored
      * src/twa/twa.hh (num_sets): New method.  Delegating to acc_.
      * src/twa/twagraph.hh, src/twa/twaproduct.cc, src/twa/twaproxy.cc,
      src/twaalgos/degen.cc, src/twaalgos/dot.cc, src/twaalgos/dtgbacomp.cc,
      src/twaalgos/dtgbasat.cc, src/twaalgos/gv04.cc, src/twaalgos/hoa.cc,
      src/twaalgos/lbtt.cc, src/twaalgos/magic.cc, src/twaalgos/mask.cc,
      src/twaalgos/ndfs_result.hxx, src/twaalgos/postproc.cc,
      src/twaalgos/powerset.cc, src/twaalgos/product.cc,
      src/twaalgos/remfin.cc, src/twaalgos/se05.cc,
      src/twaalgos/simulation.cc, src/twaalgos/stats.cc,
      src/twaalgos/stutter.cc, src/twaalgos/tau03.cc,
      src/twaalgos/tau03opt.cc, src/twaalgos/totgba.cc: Simplify
      acc().num_sets() into num_sets().
      6f500f3f
  21. 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
  22. 22 May, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      sat-minimize: some documentation and associated fixes · 96e2da86
      Alexandre Duret-Lutz authored
      * doc/org/satmin.org: Document the new DTωA-minimization procedure.
      * doc/org/tools.org: Fix link.
      * src/bin/autfilt.cc: Pass -S to sat_minimize().
      * src/twa/twagraph.hh: (state_acc_sets) New method.
      * src/twaalgos/dotty.cc: Use it to correctly display co-Büchi automata.
      * src/twaalgos/dtbasat.cc: Set the deterministic property on the result.
      * src/twaalgos/dtgbasat.cc: Likewise, and preprocess the input automaton
      in sat_minimize().
      * src/twaalgos/dtgbasat.hh: Fix documentation, and take the state-based
      information as an argument.
      * src/twaalgos/postproc.cc: Do not call simulation-based reduction
      on non-separated acceptances.
      * src/tests/satmin2.test: Use -S rather than 'state-based'.
      * NEWS: Update.
      96e2da86
  23. 18 May, 2015 5 commits
    • Alexandre Duret-Lutz's avatar
      sat-minimize: add a max-states option · 7880b25a
      Alexandre Duret-Lutz authored
      * src/twaalgos/dtbasat.cc, src/twaalgos/dtbasat.hh,
      src/twaalgos/dtgbasat.cc, src/twaalgos/dtgbasat.hh: Add it.
      * src/tests/satmin2.test: Add couple of tests.
      7880b25a
    • Alexandre Duret-Lutz's avatar
      sat-minimize: ignore silly histories · 91f68ab1
      Alexandre Duret-Lutz authored
      If the target acceptance is Fin(0)&Inf(1), there is no need to
      distinguish between an history of {0,1} and an history of {0}, as a
      cycle with either history will be rejected.  This implements this
      simplification.  If both the canditate and reference automata
      are Rabin automata with n pairs, then we now use at most
        Q * Q' * Q * Q' * 3^n * 3^n
      variables to encode the partial cycles histories, versus
        Q * Q' * Q * Q' * 4^n * 4^n
      before.
      
      * src/twaalgos/dtgbasat.cc: Implement this.
      * src/tests/satmin2.test: More tests.
      91f68ab1
    • Alexandre Duret-Lutz's avatar
      sat-minimize: allow different acceptances as input and output · 0ede9687
      Alexandre Duret-Lutz authored
      * src/twaalgos/dtgbasat.cc (sat_minimize): Use any arbitrary
      acceptance condition passed via the "acc" option.
      * src/twa/acc.hh (mark_t::max_set): New method.
      * src/tests/satmin2.test: Add two test cases with DRA as input
      and DSA as output.
      0ede9687
    • Alexandre Duret-Lutz's avatar
      sat-minimize: omit impossible histories · b4881579
      Alexandre Duret-Lutz authored
      When the reference acceptance condition is complex enough, some
      accepting SCCs may not use all acceptance sets.  In that case
      we don't have to encode all possible histories for this SCC.
      
      * src/twaalgos/dtgbasat.cc: Improve the encoding by omitting
      histories involving sets that are not used in a reference SCC.
      b4881579
    • Alexandre Duret-Lutz's avatar
      sat-minimize: generalize to any acceptance · 08749805
      Alexandre Duret-Lutz authored
      This is still missing tests.
      
      * src/bin/autfilt.cc: Add a --sat-minimize option.
      * src/misc/optionmap.cc, src/misc/optionmap.hh: Allow passing strings.
      * src/twa/acc.cc, src/twa/acc.hh: Add helper functions needed
      by the SAT-encoder.
      * src/twaalgos/complete.hh: Typos.
      * src/twaalgos/dtbasat.hh: Adjust comment.
      * src/twaalgos/dtgbasat.cc, src/twaalgos/dtgbasat.hh: Generalize
      to take the target acceptance as input.
      * src/twaalgos/postproc.cc, src/tests/ltl2tgba.cc: Adjust calls.
      * src/twaalgos/sbacc.cc, src/twaalgos/sbacc.hh: Don't pass
      the pointer by reference.
      * src/tests/acc.cc, src/tests/acc.test: More tests
      for the acceptance helper function.
      08749805
  24. 22 Apr, 2015 4 commits
    • 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
    • Alexandre Duret-Lutz's avatar
      rename tgba files as twa · 703fbd0e
      Alexandre Duret-Lutz authored
      Automatic mass renaming.
      
      * src/graphtest/tgbagraph.cc, src/tgba/acc.cc, src/tgba/acc.hh,
      src/tgba/bdddict.cc, src/tgba/bdddict.hh, src/tgba/bddprint.cc,
      src/tgba/bddprint.hh, src/tgba/formula2bdd.cc,
      src/tgba/formula2bdd.hh, src/tgba/fwd.hh, src/tgba/Makefile.am,
      src/tgba/taatgba.cc, src/tgba/taatgba.hh, src/tgba/tgba.cc,
      src/tgba/tgbagraph.cc, src/tgba/tgbagraph.hh, src/tgba/tgba.hh,
      src/tgba/tgbamask.cc, src/tgba/tgbamask.hh, src/tgba/tgbaproduct.cc,
      src/tgba/tgbaproduct.hh, src/tgba/tgbaproxy.cc, src/tgba/tgbaproxy.hh,
      src/tgba/tgbasafracomplement.cc, src/tgba/tgbasafracomplement.hh,
      src/tgba/.cvsignore: Rename as...
      * src/graphtest/twagraph.cc, src/twa/acc.cc, src/twa/acc.hh,
      src/twa/bdddict.cc, src/twa/bdddict.hh, src/twa/bddprint.cc,
      src/twa/bddprint.hh, src/twa/formula2bdd.cc, src/twa/formula2bdd.hh,
      src/twa/fwd.hh, src/twa/Makefile.am, src/twa/taatgba.cc,
      src/twa/taatgba.hh, src/twa/twa.cc, src/twa/twagraph.cc,
      src/twa/twagraph.hh, src/twa/twa.hh, src/twa/twamask.cc,
      src/twa/twamask.hh, src/twa/twaproduct.cc, src/twa/twaproduct.hh,
      src/twa/twaproxy.cc, src/twa/twaproxy.hh,
      src/twa/twasafracomplement.cc, src/twa/twasafracomplement.hh,
      src/twa/.cvsignore: ... these.
      * README, bench/stutter/stutter_invariance_randomgraph.cc,
      configure.ac, iface/ltsmin/modelcheck.cc, src/Makefile.am,
      src/bin/common_aoutput.cc, src/bin/common_conv.hh,
      src/bin/common_trans.hh, src/bin/dstar2tgba.cc, src/bin/ltl2tgta.cc,
      src/bin/randaut.cc, src/dstarparse/dra2ba.cc,
      src/dstarparse/public.hh, src/graphtest/Makefile.am,
      src/graphtest/ngraph.cc, src/hoaparse/hoaparse.yy,
      src/hoaparse/public.hh, src/kripke/fairkripke.hh,
      src/kripke/kripkeexplicit.cc, src/kripke/kripkeprint.cc,
      src/kripkeparse/kripkeparse.yy, src/ltlvisit/apcollect.cc,
      src/ltlvisit/apcollect.hh, src/ltlvisit/exclusive.hh,
      src/ltlvisit/simplify.cc, src/ltlvisit/simplify.hh,
      src/priv/accmap.hh, src/ta/ta.hh, src/ta/taexplicit.cc,
      src/ta/taexplicit.hh, src/ta/tgta.hh, src/ta/tgtaexplicit.cc,
      src/ta/tgtaexplicit.hh, src/ta/tgtaproduct.hh, src/taalgos/dotty.cc,
      src/taalgos/emptinessta.cc, src/taalgos/minimize.cc,
      src/taalgos/tgba2ta.cc, src/taalgos/tgba2ta.hh,
      src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/are_isomorphic.hh,
      src/tgbaalgos/bfssteps.cc, src/tgbaalgos/canonicalize.cc,
      src/tgbaalgos/canonicalize.hh, src/tgbaalgos/cleanacc.hh,
      src/tgbaalgos/complete.hh, src/tgbaalgos/compsusp.cc,
      src/tgbaalgos/compsusp.hh, src/tgbaalgos/degen.cc,
      src/tgbaalgos/degen.hh, src/tgbaalgos/dotty.cc,
      src/tgbaalgos/dotty.hh, src/tgbaalgos/dtbasat.cc,
      src/tgbaalgos/dtbasat.hh, src/tgbaalgos/dtgbacomp.hh,
      src/tgbaalgos/dtgbasat.cc, src/tgbaalgos/dtgbasat.hh,
      src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh,
      src/tgbaalgos/emptiness.cc, src/tgbaalgos/emptiness.hh,
      src/tgbaalgos/gtec/sccstack.hh, src/tgbaalgos/gtec/status.hh,
      src/tgbaalgos/gv04.cc, src/tgbaalgos/gv04.hh, src/tgbaalgos/hoa.cc,
      src/tgbaalgos/hoa.hh, src/tgbaalgos/isdet.hh, src/tgbaalgos/lbtt.cc,
      src/tgbaalgos/lbtt.hh, src/tgbaalgos/ltl2taa.hh,
      src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_fm.hh,
      src/tgbaalgos/magic.cc, src/tgbaalgos/magic.hh, src/tgbaalgos/mask.hh,
      src/tgbaalgos/minimize.hh, src/tgbaalgos/ndfs_result.hxx,
      src/tgbaalgos/neverclaim.cc, src/tgbaalgos/neverclaim.hh,
      src/tgbaalgos/postproc.hh, src/tgbaalgos/powerset.cc,
      src/tgbaalgos/powerset.hh, src/tgbaalgos/product.cc,
      src/tgbaalgos/product.hh, src/tgbaalgos/projrun.cc,
      src/tgbaalgos/projrun.hh, src/tgbaalgos/randomgraph.cc,
      src/tgbaalgos/randomgraph.hh, src/tgbaalgos/randomize.hh,
      src/tgbaalgos/reachiter.hh, src/tgbaalgos/reducerun.cc,
      src/tgbaalgos/reducerun.hh, src/tgbaalgos/relabel.hh,
      src/tgbaalgos/remfin.hh, src/tgbaalgos/remprop.hh,
      src/tgbaalgos/replayrun.cc, src/tgbaalgos/replayrun.hh,
      src/tgbaalgos/sbacc.hh, src/tgbaalgos/scc.cc, src/tgbaalgos/scc.hh,
      src/tgbaalgos/sccfilter.hh, src/tgbaalgos/sccinfo.cc,
      src/tgbaalgos/sccinfo.hh, src/tgbaalgos/se05.cc,
      src/tgbaalgos/se05.hh, src/tgbaalgos/simulation.cc,
      src/tgbaalgos/simulation.hh, src/tgbaalgos/stats.cc,
      src/tgbaalgos/stats.hh, src/tgbaalgos/stripacc.hh,
      src/tgbaalgos/stutter.cc, src/tgbaalgos/stutter.hh,
      src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03.hh,
      src/tgbaalgos/tau03opt.cc, src/tgbaalgos/tau03opt.hh,
      src/tgbaalgos/totgba.cc, src/tgbaalgos/totgba.hh,
      src/tgbaalgos/weight.hh, src/tgbaalgos/word.cc, src/tgbatest/acc.cc,
      src/tgbatest/complementation.cc, src/tgbatest/emptchk.cc,
      src/tgbatest/ltl2tgba.cc, src/tgbatest/taatgba.cc,
      wrap/python/spot_impl.i: Adjust.
      703fbd0e
    • Alexandre Duret-Lutz's avatar
      rename tgba_ptr into twa_ptr · 8520c4c3
      Alexandre Duret-Lutz authored
      Automatic mass renaming.
      
      * iface/ltsmin/modelcheck.cc, src/dstarparse/dra2ba.cc,
      src/dstarparse/nra2nba.cc, src/ltlvisit/apcollect.cc,
      src/ltlvisit/apcollect.hh, src/ta/taexplicit.cc, src/ta/taexplicit.hh,
      src/ta/tgtaexplicit.cc, src/ta/tgtaexplicit.hh, src/ta/tgtaproduct.hh,
      src/taalgos/tgba2ta.cc, src/taalgos/tgba2ta.hh, src/tgba/fwd.hh,
      src/tgba/tgba.cc, src/tgba/tgba.hh, src/tgba/tgbagraph.hh,
      src/tgba/tgbamask.cc, src/tgba/tgbamask.hh, src/tgba/tgbaproduct.cc,
      src/tgba/tgbaproduct.hh, src/tgba/tgbaproxy.cc, src/tgba/tgbaproxy.hh,
      src/tgbaalgos/bfssteps.cc, src/tgbaalgos/bfssteps.hh,
      src/tgbaalgos/complete.cc, src/tgbaalgos/complete.hh,
      src/tgbaalgos/compsusp.cc, src/tgbaalgos/dotty.cc,
      src/tgbaalgos/dotty.hh, src/tgbaalgos/dtgbasat.cc,
      src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh,
      src/tgbaalgos/emptiness.cc, src/tgbaalgos/emptiness.hh,
      src/tgbaalgos/gtec/gtec.cc, src/tgbaalgos/gtec/gtec.hh,
      src/tgbaalgos/gtec/status.cc, src/tgbaalgos/gtec/status.hh,
      src/tgbaalgos/gv04.cc, src/tgbaalgos/gv04.hh, src/tgbaalgos/hoa.cc,
      src/tgbaalgos/hoa.hh, src/tgbaalgos/lbtt.cc, src/tgbaalgos/lbtt.hh,
      src/tgbaalgos/magic.cc, src/tgbaalgos/magic.hh,
      src/tgbaalgos/minimize.cc, src/tgbaalgos/ndfs_result.hxx,
      src/tgbaalgos/neverclaim.cc, src/tgbaalgos/neverclaim.hh,
      src/tgbaalgos/projrun.cc, src/tgbaalgos/projrun.hh,
      src/tgbaalgos/reachiter.cc, src/tgbaalgos/reachiter.hh,
      src/tgbaalgos/reducerun.cc, src/tgbaalgos/reducerun.hh,
      src/tgbaalgos/replayrun.cc, src/tgbaalgos/replayrun.hh,
      src/tgbaalgos/scc.cc, src/tgbaalgos/scc.hh, src/tgbaalgos/se05.cc,
      src/tgbaalgos/se05.hh, src/tgbaalgos/stats.cc, src/tgbaalgos/stats.hh,
      src/tgbaalgos/stutter.cc, src/tgbaalgos/tau03.cc,
      src/tgbaalgos/tau03.hh, src/tgbaalgos/tau03opt.cc,
      src/tgbaalgos/tau03opt.hh, src/tgbatest/checkta.cc,
      src/tgbatest/complementation.cc, src/tgbatest/emptchk.cc,
      src/tgbatest/ltl2tgba.cc, wrap/python/spot_impl.i: Rename tgba_ptr as
      twa_ptr.
      8520c4c3
    • Alexandre Duret-Lutz's avatar
      rename tgba_digraph as twa_graph · e0bd0ad4
      Alexandre Duret-Lutz authored
      Automatic mass renaming.
      
      * src/bin/autfilt.cc, src/bin/common_aoutput.cc,
      src/bin/common_aoutput.hh, src/bin/common_conv.cc,
      src/bin/common_conv.hh, src/bin/common_output.hh, src/bin/dstar2tgba.cc,
      src/bin/ltlcross.cc, src/bin/ltldo.cc, src/bin/randaut.cc,
      src/dstarparse/dra2ba.cc, src/dstarparse/dstar2tgba.cc,
      src/dstarparse/dstarparse.yy, src/dstarparse/nra2nba.cc,
      src/dstarparse/nsa2tgba.cc, src/dstarparse/public.hh,
      src/graphtest/tgbagraph.cc, src/hoaparse/hoaparse.yy,
      src/hoaparse/public.hh, src/ltlvisit/contain.hh,
      src/ltlvisit/exclusive.cc, src/ltlvisit/exclusive.hh,
      src/priv/accmap.hh, src/taalgos/minimize.cc, src/tgba/fwd.hh,
      src/tgba/tgba.cc, src/tgba/tgbagraph.cc, src/tgba/tgbagraph.hh,
      src/tgba/tgbasafracomplement.cc, src/tgba/tgbasafracomplement.hh,
      src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/are_isomorphic.hh,
      src/tgbaalgos/canonicalize.cc, src/tgbaalgos/canonicalize.hh,
      src/tgbaalgos/cleanacc.cc, src/tgbaalgos/cleanacc.hh,
      src/tgbaalgos/complete.cc, src/tgbaalgos/complete.hh,
      src/tgbaalgos/compsusp.cc, src/tgbaalgos/compsusp.hh,
      src/tgbaalgos/cycles.hh, src/tgbaalgos/degen.cc, src/tgbaalgos/degen.hh,
      src/tgbaalgos/dotty.cc, src/tgbaalgos/dtbasat.cc,
      src/tgbaalgos/dtbasat.hh, src/tgbaalgos/dtgbacomp.cc,
      src/tgbaalgos/dtgbacomp.hh, src/tgbaalgos/dtgbasat.cc,
      src/tgbaalgos/dtgbasat.hh, src/tgbaalgos/dupexp.cc,
      src/tgbaalgos/dupexp.hh, src/tgbaalgos/emptiness.cc,
      src/tgbaalgos/emptiness.hh, src/tgbaalgos/hoa.cc,
      src/tgbaalgos/isdet.cc, src/tgbaalgos/isdet.hh, src/tgbaalgos/lbtt.cc,
      src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_fm.hh,
      src/tgbaalgos/mask.cc, src/tgbaalgos/mask.hh, src/tgbaalgos/minimize.cc,
      src/tgbaalgos/minimize.hh, src/tgbaalgos/neverclaim.cc,
      src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh,
      src/tgbaalgos/powerset.cc, src/tgbaalgos/powerset.hh,
      src/tgbaalgos/product.cc, src/tgbaalgos/product.hh,
      src/tgbaalgos/randomgraph.cc, src/tgbaalgos/randomgraph.hh,
      src/tgbaalgos/randomize.cc, src/tgbaalgos/randomize.hh,
      src/tgbaalgos/relabel.cc, src/tgbaalgos/relabel.hh,
      src/tgbaalgos/remfin.cc, src/tgbaalgos/remfin.hh,
      src/tgbaalgos/remprop.cc, src/tgbaalgos/remprop.hh,
      src/tgbaalgos/safety.cc, src/tgbaalgos/safety.hh,
      src/tgbaalgos/sbacc.cc, src/tgbaalgos/sbacc.hh,
      src/tgbaalgos/sccfilter.cc, src/tgbaalgos/sccfilter.hh,
      src/tgbaalgos/sccinfo.cc, src/tgbaalgos/sccinfo.hh,
      src/tgbaalgos/simulation.cc, src/tgbaalgos/simulation.hh,
      src/tgbaalgos/stats.cc, src/tgbaalgos/stats.hh,
      src/tgbaalgos/stripacc.cc, src/tgbaalgos/stripacc.hh,
      src/tgbaalgos/stutter.cc, src/tgbaalgos/stutter.hh,
      src/tgbaalgos/totgba.cc, src/tgbaalgos/totgba.hh,
      src/tgbaalgos/translate.cc, src/tgbaalgos/translate.hh,
      src/tgbatest/checkpsl.cc, src/tgbatest/complementation.cc,
      src/tgbatest/emptchk.cc, src/tgbatest/ltl2tgba.cc,
      src/tgbatest/randtgba.cc, wrap/python/spot_impl.i,
      wrap/python/tests/automata-io.ipynb, wrap/python/tests/automata.ipynb,
      wrap/python/tests/piperead.ipynb, wrap/python/tests/testingaut.ipynb:
      Rename tgba_digraph as twa_graph.
      e0bd0ad4