1. 22 Jun, 2003 1 commit
  2. 19 Jun, 2003 4 commits
  3. 18 Jun, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/tgba/bddprint.cc (print_handler): Quote promises · bacd5a0a
      Alexandre Duret-Lutz authored
      when !want_prom.
      * src/tgbaparse/tgbaparse.yy (prop_list): Accept strings or
      identifiers.  Discard empty strings.
      * src/tgbatest/mixprod.cc, src/tgbatest/mixprod.test: New file.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add mixprod.
      (mixprod_SOURCES): New variable.
      (TESTS): Add mixprod.test.
      bacd5a0a
  4. 17 Jun, 2003 1 commit
    • Alexandre Duret-Lutz's avatar
      * src/tgba/tgbaproduct.cc (state_bdd_product::state_bdd_product): · fd12c023
      Alexandre Duret-Lutz authored
      New constructor.
      * src/tgba/tgbaproduct.hh (state_bdd_product::state_bdd_product):
      New constructor.
      * tgbatest/tripprod.cc, tgbatest/tripprod.test: New files.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add explprod.
      (tripprod_SOURCES): New variable.
      (CLEANFILES): Add input3.
      (TESTS): Add tripprod.test.
      fd12c023
  5. 16 Jun, 2003 3 commits
    • Alexandre Duret-Lutz's avatar
      * src/tgba/tgbabddprod.cc, src/tgba/tgbabddprod.hh: Rename as ... · 4db70160
      Alexandre Duret-Lutz authored
      * src/tgba/tgbaproduct.cc, src/tgba/tgbaproduct.hh: ... these.
      (tgba_bdd_product, tgba_bdd_product_succ_iterator): Rename as ...
      (tgba_product, tgba_product_succ_iterator): ... these, and adjust
      all uses.
      * src/tgba/tgbabddtranslateproxy.cc,
      src/tgba/tgbabddtranslateproxy.hh: Rename as ...
      * src/tgba/tgbatranslateproxy.cc,
      src/tgba/tgbatranslateproxy.hh: ... these.
      (tgba_bdd_translate_proxy, tgba_bdd_translate_proxy_succ_iterator):
      Rename as ...
      (tgba_translate_proxy, tgba_translate_proxy_succ_iterator): ... these,
      and adjust all uses.
      4db70160
    • Alexandre Duret-Lutz's avatar
      more files to ignore · b1d2b351
      Alexandre Duret-Lutz authored
      b1d2b351
    • Alexandre Duret-Lutz's avatar
      Make sure we can multiply two tgba_explicit. · ab09c185
      Alexandre Duret-Lutz authored
      * tgba/state.hh (state::translate, state::clone, state::as_bdd):
      New virtual methods.
      * tgba/stataebdd.cc (state::translate, state::clone): New methods.
      * tgba/stataebdd.hh (state::translate, state::clone): New methods.
      * tgba/tgbabddprod.cc (state_bdd_product::clone,
      tgba_bdd_product_succ_iterator::~tgba_bdd_product_succ_iterator):
      New methods.
      (tgba_bdd_product_succ_iterator::first): Reset right_
      if any of left_ or right_ is already done (i.e., is empty).
      (tgba_bdd_product_succ_iterator::done): Return true
      if right_ is NULL.
      (tgba_bdd_product_succ_iterator::current_state,
      tgba_bdd_product::get_init_state): Work	directory with `state's.
      * tgba/tgbabddprod.hh (state_bdd_product::clone,
      tgba_bdd_product_succ_iterator::~tgba_bdd_product_succ_iterator):
      New methods.
      * tgba/tgbabddtranslateproxy.cc
      (tgba_bdd_translate_proxy_succ_iterator::
      tgba_bdd_translate_proxy_succ_iterator): Work on any kind of iteraator.
      (tgba_bdd_translate_proxy_succ_iterator::
      ~tgba_bdd_translate_proxy_succ_iterator): New method.
      (tgba_bdd_translate_proxy_succ_iterator::current_state,
      tgba_bdd_translate_proxy::get_init_state,
      tgba_bdd_translate_proxy::succ_iter): Work on `state's and
      `tgba_succ_iterator's directlry.
      (tgba_bdd_translate_proxy::format_state): Delegate formating
      to the proxied automata.
      * tgba/tgbaexplicit.cc (state_explicit::clone): New method.
      * src/tgba/tgbaexplicit.cc (tgba_explicit::get_condition,
      tgba_explicit::get_promise): Call ltl::destroy on existing formulae.
      * tgbatest/Makefile.am (check_PROGRAMS): Add explprod.
      (explprod_SOURCES): New variable.
      (TESTS): Add explprod.test.
      (CLEANFILES): Add input1 and input2.
      ab09c185
  6. 12 Jun, 2003 1 commit
  7. 10 Jun, 2003 1 commit
  8. 06 Jun, 2003 4 commits
    • Alexandre Duret-Lutz's avatar
      * src/tgbatest/bddprod.test: New file. · 0233f31e
      Alexandre Duret-Lutz authored
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add bddprod.
      (bddprod_SOURCES, bddprod_CXXFLAGS): New variables.
      (TESTS): Add bddprod.test.
      * src/tgbatest/ltlprod.c: Handle BDD_CONCRETE_PRODUCT.
      0233f31e
    • Alexandre Duret-Lutz's avatar
      * src/tgba/dictunion.cc (tgba_bdd_dict_union): Clone formulae · 4472a292
      Alexandre Duret-Lutz authored
      while building new dictionary.
      * src/tgbatest/ltlprod.test, src/tgbatest/ltlprod.cc: New files.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add ltlprod.
      (ltlprod_SOURCES): New variable.
      (TESTS): Add ltlprod.test.
      4472a292
    • Alexandre Duret-Lutz's avatar
      * src/ltlvisit/clone.cc (clone): New const version. · 3991a51a
      Alexandre Duret-Lutz authored
      * src/ltlvisit/clone.hh (clone): Likewise.
      * src/ltlvisit/destroy.cc (destroy): New const version.
      * src/ltlvisit/destroy.hh (destroy): Likewise.
      * src/tgba/tgbabddconcretefactory.cc
      (tgba_bdd_concrete_factory::create_state,
      tgba_bdd_concrete_factory::create_atomic_prop,
      tgba_bdd_concrete_factory::promise): Clone new formulae.
      * src/tgba/tgbabdddict.cc (tgba_bdd_dict::tgba_bdd_dict,
      tgba_bdd_dict::~tgba_bdd_dict, tgba_bdd_dict::operator=): New methods
      that clone and destroy formulae.
      * src/tgbatest/ltl2tgba.test, src/tgbatest/ltl2tgba.cc: New files.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add ltl2tgba.
      (ltl2tgba_SOURCES): New variable.
      (TESTS): Add ltl2tgba.test.
      3991a51a
    • Alexandre Duret-Lutz's avatar
      * src/ltltest/equals.cc, src/ltltest/readltl.cc, · 578fa26c
      Alexandre Duret-Lutz authored
      src/tgba/bddprint.cc, src/ltltest/tostring.cc: Include <cassert>.
      578fa26c
  9. 05 Jun, 2003 5 commits
    • Alexandre Duret-Lutz's avatar
      whitespace changes · 42e079f6
      Alexandre Duret-Lutz authored
      42e079f6
    • Alexandre Duret-Lutz's avatar
      * src/tgba/bddprint.cc (dict): Make this variable static. · 19e47ee6
      Alexandre Duret-Lutz authored
      (want_prom): New global static variable.
      (print_handle): Honor want_prom.
      (print_sat_handler, bdd_print_sat, bdd_format_sat): New functions.
      (bdd_print_set, bdd_print_dot, bdd_print_table): Set want_prom.
      * src/tgba/bddprint.hh (bdd_print_sat, bdd_format_sat): New functions.
      * src/tgbaalgos/save.cc, src/tgbaalgos/save.hh,
      src/tgbatest/readsave.cc, src/tgbatest/readsave.test: New files.
      * src/tgbaalgos/Makefile.am (libtgbaalgos_la_SOURCES): Add
      save.cc and save.hh.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add readsave.
      (readsave_SOURCES): New variable.
      (TESTS): Add readsave.test.
      19e47ee6
    • Alexandre Duret-Lutz's avatar
      * configure.ac: Output src/tgbaparse/Makefile. · 6884a7f9
      Alexandre Duret-Lutz authored
      * src/Makefile.am (SUBDIRS): Add tgbaparse.
      (libspot_la_LDADD): Add tgbaparse/libtgbaparse.la.
      * src/tgba/tgbaexplicit.cc (tgba_explicit::get_condition,
      tgba_explicit::get_promise, tgba_explicit::add_neg_condition,
      tgba_explicit::add_neg_promise): New methods.
      * src/tgba/tgbaexplicit.hh: Declare them.
      * 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/tgbaread.cc, src/tgbatest/tgbaread.test: New files.
      * src/tgbatest/Makefile.am (check_PROGRAMS): Add tgbaread.
      (TESTS): Add tgbaread.cc.
      (CLEANFILES): Add input.
      (tgbaread_SOURCES): New variable.
      6884a7f9
    • Alexandre Duret-Lutz's avatar
      cebffb11
    • Alexandre Duret-Lutz's avatar
      * configure.ac: Output src/tgbatest/Makefile and src/tgbatest/defs. · 80dd0ae1
      Alexandre Duret-Lutz authored
      * src/Makefile.am (SUBDIRS): Add tgbatest.
      * src/tgba/tgbaexplicit.hh, src/tgba/tgbaexplicit.cc: New file.
      * src/tgba/Makefile.am (libtgba_la_SOURCES): Add tgbaexplicit.cc
      and tgbaexplicit.hh.
      * src/tgbatest/Makefile.am, src/tgbatest/defs.in,
      src/tgbatest/explicit.cc, src/tgbatest/explicit.test: New files.
      80dd0ae1
  10. 04 Jun, 2003 4 commits
  11. 03 Jun, 2003 2 commits
  12. 02 Jun, 2003 1 commit
  13. 28 May, 2003 1 commit
  14. 27 May, 2003 6 commits
    • Alexandre Duret-Lutz's avatar
      whitespace · 4034f9a3
      Alexandre Duret-Lutz authored
      4034f9a3
    • Alexandre Duret-Lutz's avatar
      * src/tgba/bddprint.cc, src/tgba/bddprint.hh, · 4146426b
      Alexandre Duret-Lutz authored
      src/tgba/dictunion.hh, src/tgba/ltl2tgba.cc, src/tgba/ltl2tgba.hh,
      src/tgba/tgbabddconcretefactory.hh,
      src/tgba/tgbabddconcreteproduct.cc,
      src/tgba/tgbabddconcreteproduct.hh, src/tgba/tgbabddfactory.hh,
      src/tgba/tgbabddtranslatefactory.hh, src/tgbaalgos/dotty.cc:
      Add Doxygen comments.
      4146426b
    • Alexandre Duret-Lutz's avatar
      * src/tgba/bddfactory.hh, src/tgba/statebdd.hh, · ddf05b5d
      Alexandre Duret-Lutz authored
      src/tgba/succiterconcrete.hh, src/tgba/tgbabddconcrete.hh,
      src/tgba/tgbabddcoredata.hh, src/tgba/tgbabdddict.hh: Add
      Doxygen comments.
      ddf05b5d
    • Alexandre Duret-Lutz's avatar
      typo · 236a26ad
      Alexandre Duret-Lutz authored
      236a26ad
    • Alexandre Duret-Lutz's avatar
      * src/tgba/bddprint.hh (bdd_format_set): New function. · fb5ff901
      Alexandre Duret-Lutz authored
      * src/tgba/bddprint.cc (bdd_format_set): Likewise.
      * src/tgba/state.hh: Add Doxygen comments.
      (state::compare): Take a state*, not a state&.
      (state_ptr_less_than): New functor.
      * src/tgba/statebdd.hh (state_bdd::compare): Take a state*, not a
      state&.
      * src/tgba/statebdd.cc (state_bdd::compare): Likewise.
      * src/tgba/succiter.hh: Add Doxygen comments.
      * src/tgba/tgba.hh: Mention promises.
      (tgba::formate_state): New pure virtual method.
      * src/tgba/tgbabddconcrete.hh (tgba_bdd_concrete::formate_state):
      New method.
      * src/tgba/tgbabddconcrete.cc (tgba_bdd_concrete::formate_state):
      Likewise.
      * src/tgbaalgos/dotty.cc: Adjust to use state_ptr_less_than
      and tgba::formate_state.
      fb5ff901
    • Alexandre Duret-Lutz's avatar
      * src/tgba/succiter.hh (tgba_succ_iterator::current_state): · 3f0e95f0
      Alexandre Duret-Lutz authored
      Return a state*, not a state_bdd.
      * src/tgba/succiterconcrete.hh
      (tgba_succ_iterator_concrete::current_state): Return a state_bdd*,
      not a state_bdd.
      * src/tgba/state.hh (state::as_bdd): New abstract method.
      * src/tgba/statebdd.hh (state_bdd::as_bdd): Move definitions ...
      * src/tgba/statebdd.cc (state_bdd::as_bdd): ... here.
      * src/tgba/tgba.hh: Add Doxygen comments.
      (tgba::succ_iter, tgba::get_init_state): Use state*, not state_bdd.
      * src/tgba/tgbabddconcrete.hh (tgba_bdd_concrete::get_init_state):
      Return a state_bdd*, not a state_bdd.
      (tgba_bdd_concrete::get_init_bdd): New method.
      (tgba_bdd_concrete::succ_uter): Take a state* as argument.
      * src/tgba/tgbabddconcrete.cc: Likewise.
      * src/tgba/tgbabddtranslatefactory.cc
      (tgba_bdd_translate_factory::tgba_bdd_translate_factory): Use
      tgba_bdd_concrete::get_init_bdd.
      * src/tgbaalgos/dotty.cc (dotty_state, dotty_rec, dotty): Adjust
      to use state* instead of state_bdd.
      * src/tgba/succlist.hh: Delete.  (Leftover from a previous
      draft.)
      3f0e95f0
  15. 26 May, 2003 5 commits