1. 28 May, 2009 1 commit
    • Alexandre Duret-Lutz's avatar
      Keep track of conditions in SCC, and add a more verbose dump. · 07ead613
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/scc.hh (scc_map::scc_of_state,
      scc_map::cond_set_of, scc_map::acc_set_of, scc_map::states_of):
      New functions.
      (scc_map::scc::conds): New attribute.
      (dump_scc_dot): Take an optional VERBOSE argument.
      * src/tgbaalgos/scc.cc (scc_map::scc_of_state,
      scc_map::cond_set_of, scc_map::acc_set_of, scc_map::states_of):
      Implement these new functions.
      (dump_scc_dot): Display number of states, conditions and
      acceptance conditions, with VERBOSE is set.
      (build_map): Fill the new scc_map::scc::cond field.
      07ead613
  2. 25 Mar, 2009 1 commit
  3. 10 Dec, 2008 2 commits
  4. 12 Jun, 2008 1 commit
  5. 21 Mar, 2008 1 commit
  6. 14 Mar, 2008 1 commit
    • Alexandre Duret-Lutz's avatar
      Make sure Spot compiles with g++-4.3. · d3b702a9
      Alexandre Duret-Lutz authored
      * src/ltlast/formula.hh (hash): Remove const from return type.
      This kills a g++-4.3 warning.
      * src/misc/hash.hh: Adjust to use unordered_set and unordered_map
      from TR1 when g++-4.3 is used.
      * src/evtgba/product.cc, src/ltltest/randltl.cc,
      src/ltlvisit/randomltl.cc, src/ltlvisit/tostring.cc,
      src/misc/freelist.hh, src/misc/optionmap.cc,
      src/tgba/tgbareduc.hh, src/tgbaalgos/gv04.cc,
      src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/randomgraph.cc,
      src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc,
      src/ltltest/equals.cc, src/ltltest/readltl.cc,
      src/ltltest/reduc.cc, src/ltltest/syntimpl.cc,
      src/ltltest/tostring.cc, src/tgbatest/ltlprod.cc,
      src/tgbatest/powerset.cc, src/tgbatest/explprod.cc,
      src/tgbatest/mixprod.cc, src/tgbatest/readsave.cc,
      src/tgbatest/reductgba.cc, src/tgbatest/tgbaread.cc,
      src/tgbatest/tripprod.cc, src/evtgbatest/product.cc,
      src/evtgbatest/readsave.cc, src/evtgbatest/ltl2evtgba.cc,
      src/evtgbatest/readsave.cc: Add missing includes.
      * src/tgbatest/explicit.test, src/tgbatest/explprod.test,
      src/tgbatest/explpro2.test, src/tgbatest/troprod.test,
      src/tgbatest/emptchk.test: Cope with different outputs.
      d3b702a9
  7. 25 Feb, 2008 7 commits
  8. 04 May, 2005 1 commit
  9. 14 Apr, 2005 1 commit
  10. 18 Feb, 2005 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/tgbatest/ltl2tgba.cc: Simplify using · 3b3a1965
      Alexandre Duret-Lutz authored
      emptiness_check_instantiator.
      * src/tgba/tgba.cc, src/tgba/tgba.hh
      (tgba::number_of_acceptance_conditions): Return an unsigned.
      * bench/emptchk/algorithms, bench/emptchk/README,
      src/tgbatest/emptchk.test, src/tgbatest/emptchke.test: Adjust
      references to algorithms.
      * bench/emptchk/pml-clserv.sh, bench/emptchk/pml-eeaean.sh: Quote
      variables properly.
      3b3a1965
  11. 16 Feb, 2005 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/misc/optionmap.cc, src/misc/optionmap.hh (option_map::get, · f3effb9d
      Alexandre Duret-Lutz authored
      option_map::set): Handle default values.
      (anonymous::to_int): Do not print anything.
      * src/tgbaalgos/gv04.cc, src/tgbaalgos/gv04.hh,
      src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03.hh,
      src/tgbaalgos/tau03opt.cc, src/tgbaalgos/tau03opt.hh,
      src/tgbaalgos/ce.cc, src/tgbaalgos/ce.hh: Take an option_map in
      the constructor.
      * src/tgbaalgos/gtec.cc, src/tgbaalgos/gtec.hh: Likewise.  Handle
      the "poprem", "group", and "shy" options via the option_map.
      Supply a couvreur99() wrapper to the shy/non-shy variant.
      * src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc,
      iface/gspn/ssp.cc: Adjust.
      f3effb9d
  12. 29 Jan, 2005 1 commit
  13. 28 Jan, 2005 2 commits
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/emptiness_stats.hh: Make sure depth() >= 0. · 5fb5b684
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/gtec/gtec.hh (couvreur99_check, couvreur99_check_shy):
      Add the poprem option.
      * src/tgbaalgos/gtec/gtec.cc: Implement it.
      * src/tgbaalgos/gtec/sccstack.cc, src/tgbaalgos/gtec/sccstack.hh
      (scc_stack::rem, scc_stack::clear_rem,
      scc_stack::connected_component::rem): New.
      * src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc: Add rem variants.
      5fb5b684
    • Denis Poitrenaud's avatar
      * src/tgbatest/dfs.test, src/tgbatest/emptchk.test, · b1800e38
      Denis Poitrenaud authored
      src/tgbatest/emptchke.test, src/tgbatest/ltl2tgba.cc,
      src/tgbatest/randtgba.cc, src/tgbatest/tba_samples_from_spin.test:
      Adjust names of emptiness check algorithms.
      b1800e38
  14. 25 Jan, 2005 1 commit
  15. 24 Jan, 2005 1 commit
  16. 10 Jan, 2005 2 commits
  17. 16 Dec, 2004 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/ltlparse/ltlscan.ll: Pass yyleng to the std::string constructor, · 0efca0f6
      Alexandre Duret-Lutz authored
      so it doesn't have to compute it.
      * src/tgbaparse/tgbascan.ll: Likewise.
      (YY_USER_INIT, current_file): Remove, it is too costly to use
      yy::Location::filename in the current implementation
      of yy::Location (this attribute is duplicated for each token).
      Leaving it empty divides the parsing time by 3.
      * src/tgbaparse/fmterror.cc, src/tgbaparse/public.hh
      (format_tgba_parse_errors): Take the filename as argument.
      * src/tgbatest/explprod.cc, src/tgbatest/ltl2tgba.cc,
      src/tgbatest/mixprod.cc, src/tgbatest/powerset.cc,
      src/tgbatest/readsave.cc, src/tgbatest/reductgba.cc,
      src/tgbatest/tgbaread.cc, src/tgbatest/tripprod.cc,
      iface/gspn/dottyssp.cc, iface/gspn/ltlgspn.cc: Adjust calls
      to format_tgba_parse_errors.
      0efca0f6
  18. 14 Dec, 2004 1 commit
  19. 10 Dec, 2004 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/gtec/gtec.hh, src/tgbaalgos/gtec/gtec.cc · 9782b822
      Alexandre Duret-Lutz authored
      (couvreur99_check_shy::couvreur99_check_shy): Add the group option,
      and redefine todo as a list so it can be iterated over.
      * src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc: Introduce
      couvreur99_shy- (for group=false) in addition to couvreur99_shy
      (for group=true).
      * iface/gspn/ssp.cc (couvreur99_check_ssp_shy_semi,
      couvreur99_check_ssp_shy): Use group=true;
      9782b822
  20. 08 Dec, 2004 1 commit
  21. 29 Nov, 2004 1 commit
  22. 28 Nov, 2004 1 commit
  23. 27 Nov, 2004 1 commit
  24. 22 Nov, 2004 2 commits
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/gv04.cc, src/tgbaalgos/gv04.hh: New files, partly · 6cce60be
      Alexandre Duret-Lutz authored
      based on Thomas Martinez's src/tgbaalgos/tarjan_on_fly.cc and
      src/tgbaalgos/tarjan_on_fly.hh former implementation.
      * src/tgbaalgos/Makefile.am (libtgbaalgos_la_SOURCES,
      tgbaalgos_HEADERS): Add them.
      * src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc: Bind the
      new algorithm.
      * src/tgbatest/emptchk.test: Test it.
      6cce60be
    • Denis Poitrenaud's avatar
      * src/tgbaalgos/emptiness_stats.hh, src/tgbaalgos/weight.cc, · 0f15d28f
      Denis Poitrenaud authored
      src/tgbaalgos/weight.hh: New files.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbaalgos/magic.cc, src/tgbaalgos/se05.cc,
      src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03opt.cc,
      src/tgbaalgos/gtec/gtec.cc, src/tgbaalgos/gtec/status.cc,
      src/tgbaalgos/gtec/status.hh, : Add emptiness check statistics
      capability.
      * src/tgbatest/randtgba.cc: Print these statistics.
      * src/tgbatest/ltl2tgba.cc: tau03opt search can deal without acceptance
      condition.
      * src/tgbatest/emptchk.test: Test tau03opt search.
      0f15d28f
  25. 18 Nov, 2004 1 commit
    • Denis Poitrenaud's avatar
      * src/tgbaalgos/se05.hh, src/tgbaalgos/tau03.hh: Typo. · 121d5824
      Denis Poitrenaud authored
      * src/tgbaalgos/tau03.cc: Suppress optimisations, the algorithm is now
      the original one.
      * src/tgbaalgos/tau03opt.hh, src/tgbaalgos/tau03opt.cc: New files
      implementing most of all the optimisations of tau03.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc: Make them public.
      * src/tgbatest/tba_samples_from_spin.test: Test them.
      121d5824
  26. 17 Nov, 2004 1 commit
    • Denis Poitrenaud's avatar
      * src/tgbaalgos/magic.hh: Fix a comment and remove se05 interface. · 9bea364e
      Denis Poitrenaud authored
      * src/tgbaalgos/magic.cc: Fix a comment.
      * src/tgbaalgos/se05.hh: New file.
      * src/tgbaalgos/se05.cc: Fix a comment.
      * src/tgbaalgos/tau03.hh: New file.
      * src/tgbaalgos/tau03.cc: New file.
      * src/tgbaalgos/Makefile.am: Add it.
      * src/tgbatest/ltl2tgba.cc: Add tau03 new emptiness check.
      * src/tgbatest/randtgba.cc: Add tau03 new emptiness check.
      * src/tgbatest/emptchkr: Fix a comment.
      * src/tgbatest/tba_samples_from_spin/explicit1_1.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_2.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_3.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_4.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_5.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_6.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_7.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_8.tba,
      src/tgbatest/tba_samples_from_spin/explicit1_9.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_1.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_2.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_3.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_4.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_5.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_6.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_7.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_8.tba,
      src/tgbatest/tba_samples_from_spin/explicit2_9.tba: New files
      * src/tgbatest/tba_samples_from_spin.test : New test.
      * src/tgbatest/Makefile.am: Add it.
      9bea364e
  27. 16 Nov, 2004 2 commits
    • Alexandre Duret-Lutz's avatar
      * src/tgba/tgbatba.hh (tgba_sba_proxy): New class, with the · cac85dbc
      Alexandre Duret-Lutz authored
      functionality of the old tgba_tba_proxy.
      * src/tgba/tgbatba.cc (tgba_tba_proxy_succ_iterator,
      tgba_tba_proxy): Rewrite to produce TBA with at most N copies of
      each state, skipping the `bddtrue' stage now used only in
      tgba_sba_proxy.  Doing so removes approximately 6% of states in
      the degeneralized tests of spotlbtt.test.
      (tgba_sba_proxy): Implement it.
      * src/tgbaalgos/neverclaim.hh, src/tgbaalgos/neverclaim.cc: Adjust
      to take a tgba_sba_proxy.
      * src/tgbatest/ltl2tgba.cc: Add option -DS and adjust call to
      never_claim_reachable().
      cac85dbc
    • Alexandre Duret-Lutz's avatar
      * src/tgbatest/ltl2tgba.cc (main): For non-generalized emptiness · 49b871f9
      Alexandre Duret-Lutz authored
      check, degeneralize the automaton only if it has too much
      acceptance conditions.  This makes it easier to reproduce runs
      of randtgba.
      * src/tgbatest/emptchk.test: Adjust.
      49b871f9
  28. 15 Nov, 2004 1 commit
    • Denis Poitrenaud's avatar
      * src/tgbaalgos/magic.cc: Add a bit state hashing version. · 3ea97719
      Denis Poitrenaud authored
      * src/tgbaalgos/se05.cc: Add a bit state hashing version.
      * src/tgbaalgos/magic.hh: Make them public.
      * src/tgbatest/ltl2tgba.cc: Add the two new emptiness checks.
      * src/tgbatest/emptchk.test: Incorporate tests of src/tgbatest/dfs.test.
      * src/tgbatest/dfs.test: Introduce new characteristic explicit tests.
      3ea97719
  29. 10 Nov, 2004 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/replayrun.hh, · 21e0e9bc
      Alexandre Duret-Lutz authored
      src/tgbaalgos/replayrun.cc (replay_tgba_run): Take a `debug'
      option to decide whether the output should look like that of
      print_tgba_run() or a complete debug trace.
      * src/tgbatest/ltl2tgba.cc (main): Call replay_tgba_run() with
      debug=true.
      21e0e9bc