1. 02 May, 2011 1 commit
  2. 11 Apr, 2011 1 commit
  3. 09 Apr, 2011 2 commits
    • Alexandre Duret-Lutz's avatar
      DVE2: Use mspool for compressed states. · ebb85c4d
      Alexandre Duret-Lutz authored
      * iface/dve2/dve2.cc: Adjust to use the new mspool allocator,
      and get rid of the std::vector used to store compressed states.
      * src/misc/intvcomp.hh: Add an "int* -> int*" interface
      in addition to the "int* -> vector<unsigned>*" interface.
      * src/tgbatest/intvcomp.cc: Test the two interfaces.
      ebb85c4d
    • Alexandre Duret-Lutz's avatar
      DVE2: preliminary implementation of compressed states. · c938e652
      Alexandre Duret-Lutz authored
      * iface/dve2/dve2.cc (dve2_compressed_state): New class.
      (callback_context): Deal with general state*s, not dve2_state*s.
      (transition_callback_compress): New function.
      (dve2_kripke): Take a compress option.
      (get_init_state, compute_state_condition, succ_iter,
      format_state, state_condition): Handle compressed states.
      (get_vars, compute_state_condition_aux): New helper methods.
      * iface/dve2/dve2.hh (load_dve2): Add a compress option.
      * iface/dve2/dve2check.cc: Add a -z option.
      * iface/dve2/finite.test, iface/dve2/dve2check.test: Add more
      tests.
      c938e652
  4. 06 Apr, 2011 1 commit
  5. 03 Apr, 2011 1 commit
  6. 31 Mar, 2011 1 commit
    • Alexandre Duret-Lutz's avatar
      Introduct a down_cast macro. · 9f63bb66
      Alexandre Duret-Lutz authored
      * src/misc/casts.hh: New file.
      * src/misc/Makefile.am: Add it.
      * iface/dve2/dve2.cc, iface/gspn/gspn.cc, iface/gspn/ssp.cc,
      src/evtgba/explicit.cc, src/evtgba/product.cc, src/misc/casts.hh,
      src/tgba/state.hh, src/tgba/statebdd.cc, src/tgba/taatgba.cc,
      src/tgba/taatgba.hh, src/tgba/tgbabddconcrete.cc,
      src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh,
      src/tgba/tgbakvcomplement.cc, src/tgba/tgbaproduct.cc,
      src/tgba/tgbasafracomplement.cc, src/tgba/tgbasgba.cc,
      src/tgba/tgbatba.cc, src/tgba/tgbaunion.cc, src/tgba/wdbacomp.cc,
      src/tgbaalgos/ndfs_result.hxx, src/tgbaalgos/reductgba_sim.cc,
      src/tgbaalgos/reductgba_sim_del.cc: Use down_cast when
      appropriate.
      9f63bb66
  7. 30 Mar, 2011 1 commit
  8. 10 Mar, 2011 2 commits
    • Alexandre Duret-Lutz's avatar
      Add support for finite behaviors in the DVE interface. · cb83e855
      Alexandre Duret-Lutz authored
      * iface/dve2/dve2.hh (load_dve2): Take a "dead" argument.
      * iface/dve2/dve2.cc (callback_context): Add a destructor
      to simplify...
      (dve2_succ_iterator::~dve2_succ_iterator) ... this one.
      (convert_aps): Skip the dead proposition.
      (dve2_kripke::dve2_kripke): Take a dead argument, and
      setup alive_prop and dead_prop.
      (compute_state_condition, get_succ): Use a cache for the
      conditions and successor of the last state, to share
      some work between these two function.  Add loops on dead
      states.
      (load_dve2): Pass dead to dve2_kripke and convert_aps.
      * iface/dve2/dve2check.cc: Add a -dDEAD option.
      * iface/dve2/finite.test, iface/dve2/finite.dve: New file.
      * iface/dve2/Makefile.am: Declare them.
      cb83e855
    • Alexandre Duret-Lutz's avatar
      * iface/dve2/dve2.cc (convert_aps): Fix two typos while · ef976c93
      Alexandre Duret-Lutz authored
      parsing >= and >, mistakenly registered as <= and <.
      ef976c93
  9. 07 Mar, 2011 8 commits
  10. 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
  11. 05 Mar, 2011 2 commits
  12. 10 Feb, 2011 2 commits
  13. 09 Feb, 2011 2 commits
  14. 27 Jan, 2011 1 commit
  15. 12 Jan, 2011 1 commit
    • Alexandre Duret-Lutz's avatar
      Fix "unused function" warnings reported by clang++. · fe535a15
      Alexandre Duret-Lutz authored
      * src/evtgbaparse/Makefile.am, src/ltlparse/Makefile.am,
      src/neverparse/Makefile.am, src/tgbaparse/Makefile.am
      (AM_CPPFLAGS): Define -DYY_NO_INPUT so that the unused yyinput()
      function does not get compiled.
      * src/eltlparse/Makefile.am (AM_CPPFLAGS): Likewise.
      (AM_CXXFLAGS): Also enable warnings.
      * src/eltlparse/eltlparse.yy: Move helper functions from
      the "%code requires" block to the "%code" block, so that they
      do not appear in the eltlparse.hh file (which is included in
      two places...).
      * iface/nips/nips.cc (search_error_callback_assert): Comment
      this unused function.
      fe535a15
  16. 27 Nov, 2010 2 commits
    • Alexandre Duret-Lutz's avatar
      [iface/nips/nips_vm] · 0785d729
      Alexandre Duret-Lutz authored
      Fix compilation with Clang.
      
      * state.c: Do not include state_inline.h twice with different
      value of STATE_INLINE.  It was included once via state.h with
      STATE_INLINE = "extern inline", and another time directly with
      STATE_INLINE = "extern". Now...
      * state.h: ... only include it once here with STATE_INLINE =
      "static inline".
      0785d729
    • Alexandre Duret-Lutz's avatar
      Another Clang report. · 8156766f
      Alexandre Duret-Lutz authored
      * iface/nips/nips.cc (format_state): Do not use a variable-sized
      array, this is not allowed in C++.
      8156766f
  17. 30 Jan, 2010 1 commit
    • Alexandre Duret-Lutz's avatar
      Check for missing Copyright blurbs, and add them. · dd3ac6b4
      Alexandre Duret-Lutz authored
      * src/sanity/style.test: Check for missing Copyrights blurbs.
      * src/sanity/Makefile.am: Run style.test before includes.test.
      * iface/gspn/dcswave.test, iface/gspn/dcswaveeltl.test,
      iface/gspn/dcswavefm.test, iface/gspn/dcswaveltl.test,
      iface/gspn/simple.test, iface/gspn/udcsefm.test,
      iface/gspn/udcseltl.test, iface/gspn/udcsfm.test,
      iface/gspn/udcsltl.test, iface/nips/nipstest/dotty.test,
      iface/nips/nipstest/emptiness.test, src/eltltest/acc.test,
      src/eltltest/nfa.test, src/saba/sabacomplementtgba.cc,
      src/sabatest/sabacomplementtgba.cc, src/tgbatest/eltl2tgba.test,
      src/tgbatest/taatgba.test: Add missing Copyright blurb.
      dd3ac6b4
  18. 24 Jan, 2010 1 commit
    • Guillaume Sadegh's avatar
      Fix copyrights. · 3a974d61
      Guillaume Sadegh authored
      * bench/Makefile.am, bench/gspn-ssp/Makefile.am,
      bench/gspn-ssp/defs.in, bench/scc-stats/Makefile.am,
      bench/split-product/Makefile.am, configure.ac,
      iface/Makefile.am, iface/gspn/Makefile.am, iface/gspn/ssp.hh,
      iface/nips/Makefile.am, iface/nips/common.cc,
      iface/nips/common.hh, iface/nips/dottynips.cc,
      iface/nips/nips.cc, iface/nips/nips.hh, src/Makefile.am,
      src/eltlparse/Makefile.am, src/eltlparse/eltlparse.yy,
      src/eltlparse/eltlscan.ll, src/eltlparse/fmterror.cc,
      src/eltlparse/parsedecl.hh, src/eltltest/Makefile.am,
      src/eltltest/defs.in, src/eltltest/nfa.cc, src/evtgba/evtgba.hh,
      src/evtgba/product.cc, src/evtgba/product.hh,
      src/evtgbaalgos/tgba2evtgba.cc, src/evtgbaparse/Makefile.am,
      src/evtgbaparse/evtgbaparse.yy, src/evtgbatest/defs.in,
      src/evtgbatest/explicit.test, src/evtgbatest/ltl2evtgba.cc,
      src/evtgbatest/ltl2evtgba.test, src/evtgbatest/product.cc,
      src/evtgbatest/product.test, src/evtgbatest/readsave.cc,
      src/evtgbatest/readsave.test, 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/formula_tree.cc,
      src/ltlast/formula_tree.hh, src/ltlast/multop.cc,
      src/ltlast/multop.hh, src/ltlast/nfa.cc, src/ltlast/nfa.hh,
      src/ltlast/unop.cc, src/ltlast/unop.hh, src/ltlenv/declenv.cc,
      src/ltlenv/declenv.hh, src/ltlenv/environment.hh,
      src/ltlparse/Makefile.am, src/ltlparse/ltlparse.yy,
      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/randltl.cc, src/ltltest/readltl.cc,
      src/ltltest/reduccmp.test, src/ltltest/syntimpl.cc,
      src/ltltest/syntimpl.test, src/ltltest/tostring.cc,
      src/ltltest/tostring.test, src/ltltest/tunabbrev.test,
      src/ltltest/tunenoform.test, src/ltlvisit/basicreduce.cc,
      src/ltlvisit/clone.cc, src/ltlvisit/clone.hh,
      src/ltlvisit/contain.cc, src/ltlvisit/destroy.cc,
      src/ltlvisit/destroy.hh, src/ltlvisit/lunabbrev.cc,
      src/ltlvisit/nenoform.cc, src/ltlvisit/randomltl.cc,
      src/ltlvisit/reduce.cc, src/ltlvisit/syntimpl.cc,
      src/ltlvisit/tostring.cc, src/misc/bddalloc.cc,
      src/misc/bddop.cc, src/misc/bddop.hh, src/misc/freelist.hh,
      src/misc/hash.hh, src/misc/minato.cc, src/misc/minato.hh,
      src/misc/optionmap.cc, src/misc/timer.cc, src/misc/timer.hh,
      src/saba/Makefile.am, src/saba/explicitstateconjunction.cc,
      src/saba/explicitstateconjunction.hh, src/saba/saba.cc,
      src/saba/saba.hh, src/saba/sabacomplementtgba.cc,
      src/saba/sabacomplementtgba.hh, src/saba/sabastate.hh,
      src/saba/sabasucciter.hh, src/sabaalgos/Makefile.am,
      src/sabaalgos/sabadotty.cc, src/sabaalgos/sabadotty.hh,
      src/sabaalgos/sabareachiter.cc, src/sabaalgos/sabareachiter.hh,
      src/sabatest/Makefile.am, src/sabatest/defs.in,
      src/sanity/Makefile.am, src/tgba/Makefile.am,
      src/tgba/bdddict.cc, src/tgba/bddprint.cc,
      src/tgba/formula2bdd.cc, src/tgba/state.hh,
      src/tgba/succiterconcrete.cc, src/tgba/taatgba.hh,
      src/tgba/tgba.hh, src/tgba/tgbabddconcretefactory.cc,
      src/tgba/tgbabddconcretefactory.hh, src/tgba/tgbacomplement.cc,
      src/tgba/tgbacomplement.hh, src/tgba/tgbaexplicit.cc,
      src/tgba/tgbaexplicit.hh, src/tgba/tgbaproduct.cc,
      src/tgba/tgbareduc.cc, src/tgba/tgbareduc.hh,
      src/tgba/tgbasafracomplement.cc, src/tgba/tgbasgba.cc,
      src/tgba/tgbasgba.hh, src/tgba/tgbaunion.cc,
      src/tgba/tgbaunion.hh, src/tgbaalgos/dupexp.cc,
      src/tgbaalgos/eltl2tgba_lacim.cc,
      src/tgbaalgos/eltl2tgba_lacim.hh, src/tgbaalgos/emptiness.cc,
      src/tgbaalgos/gtec/gtec.cc, src/tgbaalgos/ltl2taa.cc,
      src/tgbaalgos/ltl2taa.hh, src/tgbaalgos/ltl2tgba_lacim.cc,
      src/tgbaalgos/neverclaim.cc, src/tgbaalgos/neverclaim.hh,
      src/tgbaalgos/powerset.cc, src/tgbaalgos/reachiter.cc,
      src/tgbaalgos/reachiter.hh, src/tgbaalgos/reductgba_sim.cc,
      src/tgbaalgos/reductgba_sim.hh,
      src/tgbaalgos/reductgba_sim_del.cc, src/tgbaalgos/stats.cc,
      src/tgbaalgos/stats.hh, src/tgbaparse/Makefile.am,
      src/tgbaparse/tgbaparse.yy, src/tgbatest/Makefile.am,
      src/tgbatest/bddprod.test, src/tgbatest/complementation.cc,
      src/tgbatest/complementation.test, src/tgbatest/defs.in,
      src/tgbatest/dfs.test, src/tgbatest/dupexp.test,
      src/tgbatest/explicit.cc, src/tgbatest/explicit.test,
      src/tgbatest/explpro3.test, src/tgbatest/explpro4.test,
      src/tgbatest/explprod.cc, src/tgbatest/explprod.test,
      src/tgbatest/ltl2neverclaim.test, src/tgbatest/ltl2tgba.cc,
      src/tgbatest/ltl2tgba.test, src/tgbatest/ltlprod.cc,
      src/tgbatest/ltlprod.test, src/tgbatest/mixprod.cc,
      src/tgbatest/mixprod.test, src/tgbatest/powerset.cc,
      src/tgbatest/readsave.cc, src/tgbatest/readsave.test,
      src/tgbatest/reduccmp.test, src/tgbatest/reductgba.cc,
      src/tgbatest/reductgba.test, src/tgbatest/taatgba.cc,
      src/tgbatest/tgbaread.cc, src/tgbatest/tgbaread.test,
      src/tgbatest/tripprod.cc, src/tgbatest/tripprod.test,
      wrap/python/cgi/ltl2tgba.in, wrap/python/tests/ltl2tgba.py,
      wrap/python/tests/ltlparse.py, wrap/python/tests/ltlsimple.py:
      Fix copyrights.
      3a974d61
  19. 21 Jan, 2010 1 commit
    • Alexandre Duret-Lutz's avatar
      [iface/nips/nips_vm] · bfadcf80
      Alexandre Duret-Lutz authored
      Kill a warning on Ubuntu.
      
      * interactive.c (interactive_simulate): Explicitly ignore the
      return of scanf to kill a warning.
      bfadcf80
  20. 09 Nov, 2009 1 commit
    • Alexandre Duret-Lutz's avatar
      Deprecate ltl::destroy(f) in favor of f->destroy() · 77df39b4
      Alexandre Duret-Lutz authored
      * src/ltlast/formula.cc, src/ltlast/formula.hh (formula::clone):
      Transform this static function into a member function.
      * src/ltlvisit/destroy.hh (destroy): Document and declare as
      deprecated.
      * bench/split-product/cutscc.cc, iface/gspn/ltlgspn.cc,
      src/eltlparse/eltlparse.yy, src/eltltest/acc.cc,
      src/evtgbaalgos/tgba2evtgba.cc, src/evtgbatest/ltl2evtgba.cc,
      src/ltlast/automatop.cc, src/ltlast/binop.cc,
      src/ltlast/multop.cc, src/ltlast/unop.cc, src/ltlenv/declenv.cc,
      src/ltlenv/declenv.hh, src/ltlparse/ltlparse.yy,
      src/ltltest/equals.cc, src/ltltest/randltl.cc,
      src/ltltest/readltl.cc, src/ltltest/reduc.cc,
      src/ltltest/syntimpl.cc, src/ltltest/tostring.cc,
      src/ltlvisit/destroy.cc src/ltlvisit/basicreduce.cc,
      src/ltlvisit/contain.cc, src/ltlvisit/reduce.cc,
      src/ltlvisit/syntimpl.cc, src/tgba/bdddict.cc,
      src/tgba/bddprint.cc, src/tgba/taa.cc,
      src/tgba/tgbabddconcretefactory.cc, src/tgba/tgbaexplicit.cc,
      src/tgba/tgbafromfile.cc, src/tgbaalgos/eltl2tgba_lacim.cc,
      src/tgbaalgos/ltl2taa.cc, src/tgbaalgos/ltl2tgba_fm.cc,
      src/tgbaalgos/ltl2tgba_lacim.cc, src/tgbaalgos/neverclaim.cc,
      src/tgbaalgos/randomgraph.cc, src/tgbaparse/tgbaparse.yy,
      src/tgbatest/complementation.cc, src/tgbatest/eltl2tgba.cc,
      src/tgbatest/ltl2tgba.cc, src/tgbatest/ltlprod.cc,
      src/tgbatest/mixprod.cc, src/tgbatest/randtgba.cc,
      src/tgbatest/reductgba.cc, wrap/python/cgi/ltl2tgba.in,
      wrap/python/tests/ltl2tgba.py, wrap/python/tests/ltlparse.py,
      wrap/python/tests/ltlsimple.py: Adjust destroy() usage, and remove
      the #include "destroy.hh" when appropriate.
      77df39b4
  21. 26 Aug, 2008 2 commits
  22. 07 Aug, 2008 1 commit
  23. 12 Jun, 2008 1 commit