1. 07 Mar, 2011 1 commit
  2. 06 Mar, 2011 4 commits
    • Alexandre Duret-Lutz's avatar
      Teach the DVE2 interface about enumerated types. · 7b5879d2
      Alexandre Duret-Lutz authored
      * iface/dve2/dve2.cc (convert_aps): Add support for
      enumerated types.  E.g. an atomic proposition such
      as "P_0.CS" really means "P_0 == CS".
      7b5879d2
    • Alexandre Duret-Lutz's avatar
      Teach the DVE2 interface about atomic propositions such as "a <= · 8136bd41
      Alexandre Duret-Lutz authored
      10" or "b != 3".  This only work for integer variables presently.
      
      * iface/dve2/dve2.hh (load_dve2): Take an atomic_prop_set
      argument to indicate the AP to observe.
      * iface/dve2/dve2.cc (convert_aps): New function.  Parse the
      atomic propositions in format them in a prop_set structure that
      will allow fast generation of the state condition.
      (load_dve2): Call convert_aps, and pass the resulting prop_set
      structure to the kripke object.
      (dve2_kripke::dve2_kripke): Store the prop_set structure.
      (dve2_kripke::~dve2_kripke): Release the prop_set, and unregister
      the bdd_variable associated to it.
      (compute_state_condition): New method that uses the prop_set.
      (succ_iter, state_condition): Call compute_state_condition().
      * iface/dve2/dve2check.cc: Adjust the call to load_dve2 to
      pass it atomic propositions read from the command line.
      8136bd41
    • Alexandre Duret-Lutz's avatar
      Display states variables in the state label. · 5a76a7bb
      Alexandre Duret-Lutz authored
      * iface/dve2/dve2.cc (dve2_kripke::dve2_kripke): Retrieve
      the name of all the state variables.
      (dve2_kripke::format_state): Use them to format the name
      of the state.
      5a76a7bb
    • Alexandre Duret-Lutz's avatar
      We can now explore a divine2 compiled model, but the atomic · 16b4c288
      Alexandre Duret-Lutz authored
      properties are still missing.
      
      * iface/dve2/dve2.cc, iface/dve2/dve2.hh: Add
      classes for presenting the DiVinE2 model as a kripke object.
      (load_dve2): Load the *.dve2C file using libltdl.
      * iface/dve2/Makefile.am: Add a dve2check program.
      * iface/dve2/dve2check.cc: New file.  Currently it just
      outputs the reachability graph using dotty.
      16b4c288
  3. 05 Mar, 2011 4 commits
    • Alexandre Duret-Lutz's avatar
      Setup libltdl in ltdl/, so we can use it in the dve2 interface. · 155d76f4
      Alexandre Duret-Lutz authored
      Don't keep it under version control since it is installed by
      autoreconf.
      
      * configure.ac: Call LT_CONFIG_LTDL_DIR and LTDL_INIT.
      * README: Mention ltdl/.
      * Makefile.am: Recurse into ldtl.
      * iface/dve2/Makefile.am: Link with it.
      155d76f4
    • Alexandre Duret-Lutz's avatar
      Setup build system for a new dve2 interface. · 3427f3bf
      Alexandre Duret-Lutz authored
      * iface/dve2/dve2.cc, iface/dve2/dve2.hh: New dummy files.
      * iface/dve2/Makefile.am: New file.
      * iface/Makefile.am (SUBDIRS): Add dve2.
      * configure.ac: Build iface/dve2/Makefile.
      * README: Mention the new directory.
      3427f3bf
    • Alexandre Duret-Lutz's avatar
      Using double borders for acceptance states in SBAs. · e1ef47d9
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/dotty.hh (dotty_reachable): Take a new
      assume_sba argument.
      * src/tgbaalgos/dotty.cc (dotty_bfs): Take a new
      mark_accepting_states arguments.
      (dotty_bfs::process_state): Check if a state is accepting using
      the state_is_accepting() method for tgba_sba_proxies, or by
      looking at the first outgoing transition of the state.  Pass
      the result to the dectorator.
      (dotty_reachable): Adjust function.
      * src/tgbaalgos/dottydec.hh, src/tgbaalgos/dottydec.cc,
      src/tgbaalgos/rundotdec.hh, src/tgbaalgos/rundotdec.cc
      (state_decl): Add an "accepting" argument, and use it to
      decorate accepting states with a double border.
      * src/tgbatest/ltl2tgba.cc: Keep track of whether the output
      is an SBA or not, so that we can tell it to dotty().
      * wrap/python/ajax/spot.in: Likewise.
      * wrap/python/cgi-bin/ltl2tgba.in: Likewise.
      e1ef47d9
    • Alexandre Duret-Lutz's avatar
      2c5bae3d
  4. 04 Mar, 2011 2 commits
  5. 01 Mar, 2011 1 commit
  6. 27 Feb, 2011 1 commit
    • Alexandre Duret-Lutz's avatar
      [buddy] · 8f5ecc14
      Alexandre Duret-Lutz authored
      * examples/cmilner/Makefile.am (cmilner_LDADD): Link with -lm, to
      find the pow() function.
      8f5ecc14
  7. 21 Feb, 2011 2 commits
  8. 14 Feb, 2011 1 commit
  9. 13 Feb, 2011 1 commit
  10. 10 Feb, 2011 3 commits
  11. 09 Feb, 2011 2 commits
  12. 08 Feb, 2011 3 commits
  13. 07 Feb, 2011 5 commits
  14. 06 Feb, 2011 3 commits
  15. 05 Feb, 2011 1 commit
  16. 04 Feb, 2011 3 commits
  17. 03 Feb, 2011 3 commits
    • Alexandre Duret-Lutz's avatar
      Read guard of the form !(x) in neverclaims. · 91e51c4c
      Alexandre Duret-Lutz authored
      So far all neverclaims encountered would use (!(x)), but the
      files from the Büchi store do not.
      
      * src/neverparse/neverclaimscan.ll: Accept ! in front of guard,
      so that we can read Promela files from Goal's Büchi store.
      * src/tgbatest/neverclaimread.test: Test it.
      91e51c4c
    • Alexandre Duret-Lutz's avatar
      Recognize Goal's syntax for Boolean operators. · 3278844c
      Alexandre Duret-Lutz authored
      * src/ltlparse/ltlscan.ll: Recognize ~, -->, and <--> operators
      from Goal, to ease the use of formulas provided by the Goal team.
      * src/ltltest/equals.test: Use these once, just to be on the
      safe side.
      3278844c
    • Alexandre Duret-Lutz's avatar
      Minor fixes to ltl2tgba.html. · 2fe5b3fb
      Alexandre Duret-Lutz authored
      * wrap/python/ajax/css/ltl2tgba.css,
      wrap/python/ajax/ltl2tgba.html: Tweak a few things for Firefox
      3.0, and fix a </li> tag.
      2fe5b3fb