1. 28 Nov, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      * iface/gspn/eesrg.cc, iface/gspn/eesrg.hh, iface/gspn/gspn.cc, · e341cc9a
      Alexandre Duret-Lutz authored
      iface/gspn/gspn.hh, src/tgba/bdddict.cc, src/tgba/bdddict.hh,
      src/tgba/bddprint.hh, src/tgba/succiter.hh,
      src/tgba/succiterconcrete.cc, src/tgba/succiterconcrete.hh,
      src/tgba/tgba.hh, src/tgba/tgbabddconcrete.cc,
      src/tgba/tgbabddconcrete.hh, src/tgba/tgbabddconcretefactory.cc,
      src/tgba/tgbabddconcretefactory.hh, src/tgba/tgbabddcoredata.cc,
      src/tgba/tgbabddcoredata.hh, src/tgba/tgbaexplicit.cc,
      src/tgba/tgbaexplicit.hh, src/tgba/tgbaproduct.cc,
      src/tgba/tgbaproduct.hh, src/tgba/tgbatba.cc, src/tgba/tgbatba.hh,
      src/tgbaalgos/dotty.cc, src/tgbaalgos/dupexp.cc,
      src/tgbaalgos/emptinesscheck.cc, src/tgbaalgos/emptinesscheck.hh,
      src/tgbaalgos/lbtt.cc, src/tgbaalgos/lbtt.hh,
      src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_lacim.cc,
      src/tgbaalgos/save.cc, src/tgbatest/explicit.cc,
      src/tgbatest/ltl2tgba.cc, src/tgbaparse/tgbaparse.yy,
      wrap/python/tests/ltl2tgba.py:
      Rewrite `accepting condition' as `acceptance condition'.
      The symbols which have been renamed are:
      tgba::all_accepting_conditions
      tgba::neg_accepting_conditions
      succ_iterator::current_accepting_conditions
      bdd_dict::register_accepting_variable
      bdd_dict::register_accepting_variables
      bdd_dict::is_registered_accepting_variable
      tgba_bdd_concrete_factory::declare_accepting_condition
      tgba_bdd_core_data::accepting_conditions
      tgba_bdd_core_data::all_accepting_conditions
      tgba_explicit::declare_accepting_condition
      tgba_explicit::complement_all_accepting_conditions
      tgba_explicit::has_accepting_condition
      tgba_explicit::get_accepting_condition
      tgba_explicit::add_accepting_condition
      tgba_explicit::all_accepting_conditions
      tgba_explicit::neg_accepting_conditions
      state_tba_proxy::acceptance_cond
      accepting_cond_splitter
      e341cc9a
  2. 26 Nov, 2003 2 commits
  3. 25 Nov, 2003 1 commit
  4. 24 Nov, 2003 2 commits
    • Alexandre Duret-Lutz's avatar
      Explicit automata can now have arbitrary logic formula on their · 20289e4e
      Alexandre Duret-Lutz authored
      arcs.  ltl2tgba_fm benefits from this and join multiple arcs with
      the same destination and acceptance conditions.
      * src/tgba/formula2bdd.cc, src/tgba/formula2bdd.hh: New files.
      * src/tgba/Makefile.am (tgba_HEADERS, libtgba_la_SOURCES): Add them.
      * src/tgba/bddprint.cc, src/tgba/bddprint.hh (bdd_pring_formula,
      bdd_format_formula): New functions.
      * src/tgba/tgbaexplicit.hh (tgba_explicit::get_condition,
      tgba_explicit::add_condition, tgba_explicit::add_neg_condition,
      tgba_explicit::declare_accepting_condition,
      tgba_explicit::has_accepting_condition,
      tgba_explicit::get_accepting_condition,
      tgba_explicit::add_accepting_condition): Take a const formula*.
      * src/tgba/tgbaexplicit.cc (tgba_explicit::add_condition):
      Rewrite using formula_to_bdd.
      * src/tgbaalgos/dotty.cc (dotty_bfs::process_link): Use
      bdd_print_formula to display conditions.
      * src/tgbaalgos/save.cc (save_bfs::process_state): Likewise.
      * src/tgbaalgos/ltl2tgba_fm.cc (translate_dict::bdd_to_formula):
      New function.
      (translate_dict::conj_bdd_to_atomic_props): Remove.
      (ltl_to_tgba_fm): Factor successors on accepting conditions
      and destinations, not conditions.  Use bdd_to_formula to translate
      the conditions.
      * src/tgbaparse/tgbaparse.yy: Expect conditions as a formula
      in a string, call the LTL parser for this.
      * src/tgbaparse/tgbascan.ll: Process " and \ escapes in
      strings.
      * src/tgbatest/emptchke.test, src/tgbatest/explicit.test,
      src/tgbatest/explpro2.test, src/tgbatest/explpro3.test,
      src/tgbatest/explprod.test, src/tgbatest/mixprod.test,
      src/tgbatest/readsave.test, src/tgbatest/tgbaread.test,
      src/tgbatest/tripprod.test: Adjust to new syntax for explicit
      automata.
      20289e4e
    • Alexandre Duret-Lutz's avatar
      * src/misc/minato.hh (minato_isop(bdd,bdd)): New constructor variant. · 3126e49b
      Alexandre Duret-Lutz authored
      (minato_isop::local_vars::vars): New attribute.
      (minato_isop::local_vars::local_vars): Add the vars arguments.
      (minato_isop::todo, minato_isop::cube, minato_isop::ret): Rename as ...
      (minato_isop::todo_, minato_isop::cube_, minato_isop::ret_): ... these.
      * src/misc/minato.cc: Adjust to factorize only variables in vars.
      3126e49b
  5. 21 Nov, 2003 3 commits
    • Alexandre Duret-Lutz's avatar
      * COPYING: New file. · 43a91a15
      Alexandre Duret-Lutz authored
      * Makefile.am, configure.ac, doc/Makefile.am, iface/Makefile.am,
      iface/gspn/Makefile.am, iface/gspn/common.cc,
      iface/gspn/common.hh, iface/gspn/dottyeesrg.cc,
      iface/gspn/dottygspn.cc, iface/gspn/eesrg.cc, iface/gspn/eesrg.hh,
      iface/gspn/gspn.cc, iface/gspn/gspn.hh, iface/gspn/ltlgspn.cc,
      src/Makefile.am, src/ltlast/Makefile.am, src/ltlast/allnodes.hh,
      src/ltlast/atomic_prop.cc, src/ltlast/atomic_prop.hh,
      src/ltlast/binop.cc, src/ltlast/binop.hh, src/ltlast/constant.cc,
      src/ltlast/constant.hh, src/ltlast/formula.cc,
      src/ltlast/formula.hh, src/ltlast/multop.cc, src/ltlast/multop.hh,
      src/ltlast/predecl.hh, src/ltlast/refformula.cc,
      src/ltlast/refformula.hh, src/ltlast/unop.cc, src/ltlast/unop.hh,
      src/ltlast/visitor.hh, src/ltlenv/Makefile.am,
      src/ltlenv/defaultenv.cc, src/ltlenv/defaultenv.hh,
      src/ltlenv/environment.hh, src/ltlparse/Makefile.am,
      src/ltlparse/fmterror.cc, src/ltlparse/ltlparse.yy,
      src/ltlparse/ltlscan.ll, src/ltlparse/parsedecl.hh,
      src/ltlparse/public.hh, src/ltltest/Makefile.am,
      src/ltltest/defs.in, src/ltltest/equals.cc,
      src/ltltest/equals.test, src/ltltest/lunabbrev.test,
      src/ltltest/nenoform.test, src/ltltest/parse.test,
      src/ltltest/parseerr.test, src/ltltest/readltl.cc,
      src/ltltest/tostring.cc, src/ltltest/tostring.test,
      src/ltltest/tunabbrev.test, src/ltltest/tunenoform.test,
      src/ltlvisit/Makefile.am, src/ltlvisit/clone.cc,
      src/ltlvisit/clone.hh, src/ltlvisit/destroy.cc,
      src/ltlvisit/destroy.hh, src/ltlvisit/dotty.cc,
      src/ltlvisit/dotty.hh, src/ltlvisit/dump.cc, src/ltlvisit/dump.hh,
      src/ltlvisit/lunabbrev.cc, src/ltlvisit/lunabbrev.hh,
      src/ltlvisit/nenoform.cc, src/ltlvisit/nenoform.hh,
      src/ltlvisit/postfix.cc, src/ltlvisit/postfix.hh,
      src/ltlvisit/tostring.cc, src/ltlvisit/tostring.hh,
      src/ltlvisit/tunabbrev.cc, src/ltlvisit/tunabbrev.hh,
      src/misc/Makefile.am, src/misc/bddalloc.cc, src/misc/bddalloc.hh,
      src/misc/bddlt.hh, src/misc/hash.hh, src/misc/minato.cc,
      src/misc/minato.hh, src/misc/version.cc, src/misc/version.hh,
      src/tgba/Makefile.am, src/tgba/bdddict.cc, src/tgba/bdddict.hh,
      src/tgba/bddprint.cc, src/tgba/bddprint.hh, src/tgba/public.hh,
      src/tgba/state.hh, src/tgba/statebdd.cc, src/tgba/statebdd.hh,
      src/tgba/succiter.hh, src/tgba/succiterconcrete.cc,
      src/tgba/succiterconcrete.hh, src/tgba/tgba.cc, src/tgba/tgba.hh,
      src/tgba/tgbabddconcrete.cc, src/tgba/tgbabddconcrete.hh,
      src/tgba/tgbabddconcretefactory.cc,
      src/tgba/tgbabddconcretefactory.hh,
      src/tgba/tgbabddconcreteproduct.cc,
      src/tgba/tgbabddconcreteproduct.hh, src/tgba/tgbabddcoredata.cc,
      src/tgba/tgbabddcoredata.hh, src/tgba/tgbabddfactory.hh,
      src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh,
      src/tgba/tgbaproduct.cc, src/tgba/tgbaproduct.hh,
      src/tgba/tgbatba.cc, src/tgba/tgbatba.hh,
      src/tgbaalgos/Makefile.am, src/tgbaalgos/dotty.cc,
      src/tgbaalgos/dotty.hh, src/tgbaalgos/dupexp.cc,
      src/tgbaalgos/dupexp.hh, src/tgbaalgos/emptinesscheck.cc,
      src/tgbaalgos/emptinesscheck.hh, src/tgbaalgos/lbtt.cc,
      src/tgbaalgos/lbtt.hh, src/tgbaalgos/ltl2tgba_fm.cc,
      src/tgbaalgos/ltl2tgba_fm.hh, src/tgbaalgos/ltl2tgba_lacim.cc,
      src/tgbaalgos/ltl2tgba_lacim.hh, src/tgbaalgos/magic.cc,
      src/tgbaalgos/magic.hh, src/tgbaalgos/reachiter.cc,
      src/tgbaalgos/reachiter.hh, src/tgbaalgos/save.cc,
      src/tgbaalgos/save.hh, src/tgbaparse/Makefile.am,
      src/tgbaparse/fmterror.cc, src/tgbaparse/parsedecl.hh,
      src/tgbaparse/public.hh, src/tgbaparse/tgbaparse.yy,
      src/tgbaparse/tgbascan.ll, src/tgbatest/Makefile.am,
      src/tgbatest/bddprod.test, src/tgbatest/defs.in,
      src/tgbatest/dupexp.test, src/tgbatest/emptchk.test,
      src/tgbatest/emptchke.test, src/tgbatest/explicit.test,
      src/tgbatest/explpro2.test, src/tgbatest/explpro3.test,
      src/tgbatest/explprod.test, src/tgbatest/ltl2tgba.test,
      src/tgbatest/ltlprod.test, src/tgbatest/mixprod.test,
      src/tgbatest/readsave.test, src/tgbatest/spotlbtt.test,
      src/tgbatest/tgbaread.test, src/tgbatest/tripprod.test,
      wrap/Makefile.am, wrap/python/Makefile.am, wrap/python/buddy.i,
      wrap/python/spot.i, wrap/python/cgi/Makefile.am,
      wrap/python/cgi/ltl2tgba.in, wrap/python/tests/Makefile.am,
      wrap/python/tests/bddnqueen.py, wrap/python/tests/interdep.py,
      wrap/python/tests/ltl2tgba.py, wrap/python/tests/ltl2tgba.test,
      wrap/python/tests/ltlparse.py, wrap/python/tests/ltlsimple.py,
      wrap/python/tests/run.in: Add Copyright license.
      43a91a15
    • Alexandre Duret-Lutz's avatar
      8ba331bb
    • Alexandre Duret-Lutz's avatar
      * src/misc/minato.cc, src/misc/minato.hh: New files. · c317154d
      Alexandre Duret-Lutz authored
      * src/misc/Makefile.am (misc_HEADERS, libmisc_la_SOURCES): Add them.
      * src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Use minato_isop.
      c317154d
  6. 14 Nov, 2003 2 commits
    • Alexandre Duret-Lutz's avatar
      * src/ltltest/Makefile.am (AM_CXXFLAGS): New variable. · 982c5efc
      Alexandre Duret-Lutz authored
      * tgba/bdddict.hh (bdd_dict::register_propositions,
      bdd_dict::register_accepting_variables): New methods.
      * src/bdddict.cc: Likewise.
      * tgba/tgbaexplicit.cc (tgba_explicit::add_conditions,
      tgba_explicit::add_accepting_conditions): New methods.
      (tgba_explicit::get_init_state): Add an "empty" initial
      state to empty automata.
      * tgba/tgbaexplicit.hh: (tgba_explicit::add_conditions,
      tgba_explicit::add_accepting_conditions): New methods.
      * tgbaalgos/Makefiles.am (tgbaalgos_HEADERS, libtgbaalgos_la_SOURCES):
      Add dupexp.hh and dupexp.cc.
      * tgbaalgos/dupexp.hh, tgbaalgos/dupexp.cc: New files.
      * tgbatest/Makefile.am (AM_CXXFLAGS): New variable.
      (check_SCRIPTS): Add dupexp.test.
      (CLEANFILES): Add output1 and output2.
      * tgbatest/dupexp.test: New file.
      * tgbatest/ltl2tgba.cc: Handle -s and -S.
      * tgbatest/tgbaread.cc: Remove unused variable exit_code.
      982c5efc
    • Alexandre Duret-Lutz's avatar
      * src/ltlparse/ltlscan.ll: Include ltlparse/parsedecl.hh, · 1b222106
      Alexandre Duret-Lutz authored
      not parsedecl.hh.
      * src/tgbaparse/tgbascan.ll: Likewise, include tgbaparse/parsedecl.hh.
      1b222106
  7. 13 Nov, 2003 1 commit
  8. 06 Nov, 2003 1 commit
  9. 03 Nov, 2003 1 commit
  10. 28 Oct, 2003 2 commits
  11. 27 Oct, 2003 4 commits
  12. 24 Oct, 2003 5 commits
  13. 23 Oct, 2003 13 commits
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/emptinesscheck.cc (emptiness_check::check, · 071cb5d6
      Alexandre Duret-Lutz authored
      emptiness_check::counter_example): Simplify access to hashes
      after calls to find() for the same element..
      071cb5d6
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/emptinesscheck.hh (connected_component::set_of_state): · fb4873d9
      Alexandre Duret-Lutz authored
      Rename as ...
      (connected_component::set_type): ... this, and define as a hash_set.
      (connected_component::has_state): New method.
      * src/tgbaalgos/emptinesscheck.cc (connected_component::has_state):
      New method.
      (emptiness_check::counter_example, emptiness_check::complete_cycle,
      emptiness_check::accepting_path): Simplify using has_state().
      fb4873d9
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/emptinesscheck.hh (emptiness_check::seen_state_num): · f0dd415f
      Alexandre Duret-Lutz authored
      Rename as ...
      (emptiness_check::h): ... this, and define as a hash_map.
      (emptiness_check::remove_component): Remove superfluous state_map
      argument.
      * src/tgbaalgos/emptinesscheck.cc: Adjust.
      f0dd415f
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/emptinesscheck.hh, src/tgbaalgos/emptinesscheck.cc: · dfdefdf6
      Alexandre Duret-Lutz authored
      Remove superfluous includes.
      dfdefdf6
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/emptinesscheck.hh (emptiness_check::emptiness_check): · 90099e47
      Alexandre Duret-Lutz authored
      New, take the automaton to work on, and store it ...
      (emptiness_check::aut_): ... in this new attribute.
      (emptiness_check::tgba_emptiness_check): Rename as ...
      (emptiness_check::check): ... this, and remove the automata
      argument.
      (emptiness_check::counter_example, emptiness_check::print_result,
      emptiness_check::remove_component, emptiness_check::accepting_path,
      emptiness_check::complete_cycle): Remove the automata argument.
      * src/tgbaalgos/emptinesscheck.cc, src/tgbatest/ltl2tgba.cc,
      iface/gspn/ltlgspn.cc: Adjust.
      90099e47
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/emptinesscheck.hh (connected_component::not_null, · b60722bc
      Alexandre Duret-Lutz authored
      connected_component::transition_acc,
      connected_component::nb_transition,
      connected_component::nb_state): Remove these unused attributes.
      (connected_component::connected_component): Merge the two
      definitions into one.
      (connected_component::~connected_component): Remove.
      (connected_component::isAccepted): Delete, unused.
      * src/tgbaalgos/emptinesscheck.cc
      (connected_component::connected_component,
      connected_component::~connected_component): Adjust.
      (connected_component::isAccepted): Delete.
      (spot):
      
      * src/tgbatest/emptchk.test: Typo.
      b60722bc
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/emptinesscheck.hh · 636f5238
      Alexandre Duret-Lutz authored
      (emptiness_check::remove_component, emptiness_check::root_component,
      emptiness_check::seen_state_num, emptiness_check::suffix): Move in
      private part.
      (emptiness_check::arc_accepting, emptiness_check::todo): Move ...
      * src/tgbaalgos/emptinesscheck.cc
      (emptiness_check::tgba_emptiness_check): ... as local variables
      of this function.
      * src/tgbaalgos/emptinesscheck.hh (emptiness_check::vec_component):
      Move ...
      (emptiness_check::counter_example): ... as local variable of this
      function.
      * src/tgbaalgos/emptinesscheck.hh (pair_state_iter, triplet):
      Move ...
      * src/tgbaalgos/emptinesscheck.cc (pair_state_iter, triplet):
      ... here.
      636f5238
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/emptinesscheck.hh · fda83b9c
      Alexandre Duret-Lutz authored
      (emptiness_check::remove_component, emptiness_check::root_component,
      emptiness_check::seen_state_num, emptiness_check::suffix): Move in
      private part.
      (emptiness_check::arc_accepting, emptiness_check::todo): Move ...
      * src/tgbaalgos/emptinesscheck.cc
      (emptiness_check::tgba_emptiness_check): ... as local variables
      of this function.
      * src/tgbaalgos/emptinesscheck.hh (emptiness_check::vec_component):
      Move ...
      (emptiness_check::counter_example): ... as local variable of this
      function.
      * src/tgbaalgos/emptinesscheck.hh (pair_state_iter, triplet):
      Move ...
      * src/tgbaalgos/emptinesscheck.cc (pair_state_iter, triplet):
      ... here.
      fda83b9c
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/emptinesscheck.cc (emptiness_check::print_result): · 008056f2
      Alexandre Duret-Lutz authored
      Indent output as in the magic search.
      008056f2
    • Alexandre Duret-Lutz's avatar
    • Alexandre Duret-Lutz's avatar
      Merge emptinesscheckexplicit into ltl2tgba. · d46c63a2
      Alexandre Duret-Lutz authored
      * src/tgbatest/Makefile.am (check_PROGRAMS): Remove
      emptinesscheckexplicit.
      (emptinesscheckexplicit_SOURCES): Remove.
      (TESTS): Replace emptinesscheckexplicit.test by emptchke.test.
      * src/tgbatest/emptinesscheckexplicit.cc,
      src/tgbatest/emptinesscheckexplicit.test: Delete.
      * src/tgbatest/empchke.test: New file.
      * src/tgbatest/ltl2tgba.cc: Add support for -X.
      d46c63a2
    • Alexandre Duret-Lutz's avatar
      Merge emptiness-checks tests into ltl2tgba. · 65f84e2c
      Alexandre Duret-Lutz authored
      * src/tgbatest/Makefile (check_PRORGRAMS): Remove
      emptinesscheck and ltlmagic.
      (emptinesscheck_SOURCES, ltlmagic_SOURCES): Remove.
      (TESTS): Replace emptinesscheck.test and ltlmagic.test by
      emptchk.test.
      * src/tgbatest/emptinesscheck.test, src/tgbatest/ltlmagic.test:
      Delete.
      * src/tgbatest/emptchk.test: New file.
      * src/tgbatest/emptinesscheck.cc, src/tgbatest/ltlmagic.cc:
      Delete.
      * src/tgbatest/ltl2tgba.cc: Add support for -e, -E, -m, -M, and -n.
      65f84e2c
    • Alexandre Duret-Lutz's avatar
      * src/tgbaalgos/emptinesscheck.cc · a11a29a1
      Alexandre Duret-Lutz authored
      (emptiness_check::tgba_emptiness_check): Do not print anything.
      (emptiness_check::counter_example): Assume that tgba_emptiness_check
      has already been called.
      a11a29a1
  14. 22 Oct, 2003 2 commits