Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

  1. 17 Mar, 2010 40 commits
    • Erwan Jahier's avatar
      lurette 0.126 Fri, 21 Feb 2003 18:49:20 +0100 by jahier · 5a165497
      Erwan Jahier authored
      Parent-Version:      0.125
      Version-Log:
      
      source/command_line_luc_exe.ml:
      source/command_line_luc_exe.mli:
      source/command_line.ml:
      source/command_line.mli:
      source/luc_exe.ml:
      source/lurette.ml:
      source/lurettetop.ml:
         Add the possibility to set the precision from lucky and lurette command
      lines.
      
         Remove the draw-vertices stuff.
      
      source/command_line_luc_exe.ml:
      source/command_line_luc_exe.mli:
      source/luc_exe.ml:
         Also add the --edges and the inside options for lucky.
      
      source/parse_env.ml:
        Allow to forget empty fields in the automata format.
      
      source/store.ml:
         Plug the new drawing heuristic
      
      Project-Description: Lurette
      5a165497
    • Erwan Jahier's avatar
      lurette 0.121 Tue, 11 Feb 2003 11:20:37 +0100 by jahier · 34cdff0c
      Erwan Jahier authored
      Parent-Version:      0.120
      Version-Log:
      
      source/pnumsolver.ml:
      source/pnumsolver.mli: [new files]
         Implements a numeric solver based on Polka.
         (not plugged yet).
      
      source/rnumsolver.ml:
         Reimplement split_store so that it uses 2 calls of add_constraint
         instead of doing the work twice inside split_store (in order to avoid code
         duplication).
      
         Also, whenever delayed constraints becomes of dimension 1, when a
      add_constraint
         binds a value, add them to the store.
      
         Enhance error msgs whenever int and float are mixed in the same lucky
         expressions.
      
      source/rnumsolver.ml:
      source/ne.ml:
         rename Ne.resolve_triangular_system into get_subst_from_solved_system
         and move it into rnumsolver. The rational is that is was not
         really solving any triangular system: the system ougth to be already solved.
      
      source/parce_env.ml:
         Set the max_float to max_int, otherwise, the conversion into polka rational
         fails...
      
      Project-Description: Lurette
      34cdff0c
    • Erwan Jahier's avatar
      lurette 0.115 Thu, 07 Nov 2002 14:19:37 +0100 by jahier · 7c4feb61
      Erwan Jahier authored
      Parent-Version:      0.114
      Version-Log:
      
      source/automata.ml:
         Fix a bug where esp loops were not always cutted properly in some cases.
      
      source/show_env.ml:
         Truncate too long for in the dot output (which bugs dot or gv).
      
      ihm/xlurette/xlurette_glade_main.ml:
         Accept both .lut or .lut files as anv files, and make the show buttons
         behave properly in both cases.
      
      Project-Description: Lurette
      7c4feb61
    • Erwan Jahier's avatar
      lurette 0.111 Tue, 29 Oct 2002 14:30:40 +0100 by jahier · a5e54d03
      Erwan Jahier authored
      Parent-Version:      0.110
      Version-Log:
      
      source/util.ml:
      source/formula.ml:
      source/lurette.ml:
         Only print one counter example if the test failed.
      
      source/lurettetop.ml:
      source/gen_stubs.ml:
         try to guess the node name in lurettetop rather than in gen_stubs
         if not given.
      
      Project-Description: Lurette
      a5e54d03
    • Erwan Jahier's avatar
      lurette 0.109 Fri, 25 Oct 2002 17:48:01 +0200 by jahier · 3c9e4e59
      Erwan Jahier authored
      Parent-Version:      0.108
      Version-Log:
      
      ihm/xlurette/xlurette_glade_main.ml:
      source/lurettetop.ml:
         Retreive and print the pid of lurette to be able in xlurette
         to kill the current run.
      
      Project-Description: Lurette
      3c9e4e59
    • Erwan Jahier's avatar
      lurette 0.108 Fri, 25 Oct 2002 16:57:33 +0200 by jahier · 4063d2fa
      Erwan Jahier authored
      Parent-Version:      0.107
      Version-Log:
      
      source/lurette.ml:
      source/command_line.ml
      source/command_line.mli
      source/util.ml:
      source/lurettetop.ml:
         use crete_process instead un sys.command to call lurette from lurettetop
      
      ihm/xlurette/xlurette_glade_main.ml:
         Put the newly generated random seed into the manual text box.
      
      Project-Description: Lurette
      4063d2fa
    • Erwan Jahier's avatar
      lurette 0.106 Fri, 25 Oct 2002 09:36:48 +0200 by jahier · 75100e28
      Erwan Jahier authored
      Parent-Version:      0.105
      Version-Log:
      
      source/lurettetop.ml:
         Add a --prefix <string> option that is added before the call
         to lurette (usefull, eg, for timing purpuses).
      
      source/lurettetop.ml:
      source/lurette.ml:
      source/command_line.ml:
      ihm/xlurette/*
        Add a ---show-step options that let one control whether or not
        the step number is printed.
      
      Project-Description: Lurette
      75100e28
    • Erwan Jahier's avatar
      lurette 0.105 Wed, 23 Oct 2002 13:50:03 +0200 by jahier · 8c181009
      Erwan Jahier authored
      Parent-Version:      0.104
      Version-Log:
      
      ihm/xlurette/*:
         Look up the pipe every 1/10 sec. instead of reading it after
         each command until a certain string is encoutered. It make
         the code more robust (no protocol), it avoid that xlurette
         is blocked during the process. Moreover, it let the progress
         bar works gently.
      
         Add a stop button that sends a sigint to lurettetop that
         ougth to stop the current execution (does not work, why?).
      
      Project-Description: Lurette
      8c181009
    • Erwan Jahier's avatar
      lurette 0.101 Fri, 04 Oct 2002 15:38:51 +0200 by jahier · 47cf1f46
      Erwan Jahier authored
      Parent-Version:      0.100
      Version-Log:
      
      Rename any occurence of ima by luc or lucky.
      
      Project-Description: Lurette
      47cf1f46
    • Erwan Jahier's avatar
      lurette 0.97 Fri, 04 Oct 2002 11:30:11 +0200 by jahier · 5d9a1618
      Erwan Jahier authored
      Parent-Version:      0.96
      Version-Log:
      
      Handling equalities smartlier.    .
      
      Project-Description: Lurette
      5d9a1618
    • Erwan Jahier's avatar
      lurette 0.89 Fri, 20 Sep 2002 10:27:47 +0200 by jahier · 35a7ac64
      Erwan Jahier authored
      Parent-Version:      0.88
      Version-Log:
      
      Chech that automata run concurenty do not share any variables.
      
      Project-Description: Lurette
      35a7ac64
    • Erwan Jahier's avatar
      lurette 0.86 Wed, 18 Sep 2002 15:27:17 +0200 by jahier · 50ccf63a
      Erwan Jahier authored
      Parent-Version:      0.85
      Version-Log:
      
      Finish to implement xlurette.
      
      Project-Description: Lurette
      50ccf63a
    • Erwan Jahier's avatar
      lurette 0.85 Wed, 11 Sep 2002 11:29:44 +0200 by jahier · 87afe5b2
      Erwan Jahier authored
      Parent-Version:      0.84
      Version-Log:
      
      source/gen_stubs.ml:
         Add a lurette_stub__ prefix to most function names to make sure
         that there is no name clashes. In particular, oracle can now be
         called oracle.lus ... (but not lurette_stub__oracle.lus, which is not
         so bad...).
      
      Project-Description: Lurette
      87afe5b2
    • Erwan Jahier's avatar
      lurette 0.83 Tue, 03 Sep 2002 13:37:10 +0200 by jahier · dad7b1f2
      Erwan Jahier authored
      Parent-Version:      0.82
      Version-Log:
      
      source/lurette.ml:
      source/lurettetop.ml:
      source/command_line.ml, .mli:
      source/solver.ml:
      source/env_state.ml:
      source/rnumsolver.ml:
         Add 2 news options, --draw-edges ans --draw-verteces that makes
         lurette draw among the verteces or on the edges of the convex hull
         of solutons.
      
      Project-Description: Lurette
      dad7b1f2
    • Erwan Jahier's avatar
      lurette 0.82 Mon, 02 Sep 2002 16:59:37 +0200 by jahier · e655b8de
      Erwan Jahier authored
      Parent-Version:      0.81
      Version-Log:
      
      source/lurette.ml:
      source/ima_exe.ml:
         Check that nodes did not changed before redrawing anything
      
         also add a <<q>> command to exit from ima_exe more gently.
      
      Project-Description: Lurette
      e655b8de
    • Erwan Jahier's avatar
      lurette 0.77 Thu, 29 Aug 2002 11:46:51 +0200 by jahier · 5f2ead90
      Erwan Jahier authored
      Parent-Version:      0.76
      Version-Log:
      
      source/lurettetop.ml:
         Building every temporary files in /tmp/lurette2313/.
      
      Project-Description: Lurette
      5f2ead90
    • Erwan Jahier's avatar
      lurette 0.76 Wed, 28 Aug 2002 12:58:05 +0200 by jahier · 6298b284
      Erwan Jahier authored
      Parent-Version:      0.75
      Version-Log:
      
      *.ml:
          Avoid using Sys.command  when possible.
      
      Project-Description: Lurette
      6298b284
    • Erwan Jahier's avatar
      lurette 0.75 Wed, 28 Aug 2002 11:13:06 +0200 by jahier · e84a1e8e
      Erwan Jahier authored
      Parent-Version:      0.74
      Version-Log:
      
      makefile.lurette:
      bin/makefile.lurette_lib:
          put all files that do not depend on lurette_stubs into a lib.
      
      source/lurettetop.ml:
          Add a few new options (show, step, ...)
      
      Project-Description: Lurette
      e84a1e8e
    • Erwan Jahier's avatar
      lurette 0.74 Fri, 02 Aug 2002 16:15:33 +0200 by jahier · 105a7f85
      Erwan Jahier authored
      Parent-Version:      0.73
      Version-Log:
      
      source/lurettetop.ml: [new file]
         A top level loop for using lurette.
      
      also remame all .env files using .ima instead of .env as extension.
      
      Project-Description: Lurette
      105a7f85
    • Erwan Jahier's avatar
      lurette 0.73 Mon, 29 Jul 2002 13:49:35 +0200 by jahier · 3764e8b8
      Erwan Jahier authored
      Parent-Version:      0.72
      Version-Log:
      
      gen_stubs.ml:
      sim2chro.ml:
         Do not sort varialble lexicographically but according to
         sut order.
      
      gen_stubs.ml:
         When converting subst list to tuple, do not put fake values
         if the list is empty, but raise a failure (assert false).
      
         Do not parse idl output to guess the conversion between ml
         and C type but hard code it instead. The rational is that
         I was manually calling camlidl here which was confusing
         make sometimes.
      
      make_lurette:
         exit properly before running lurette whenever something bad
         happen during the make.
      
      Project-Description: Lurette
      3764e8b8
    • Erwan Jahier's avatar
      lurette 0.71 Mon, 22 Jul 2002 16:51:44 +0200 by jahier · 562a6ed5
      Erwan Jahier authored
      Parent-Version:      0.70
      Version-Log:
      
      automata.ml,mli:
      env.ml,mli:
      ima_exe.ml,mli:
      lurette.ml,mli:
         Fix a bug where the control expr were evaluated twice, which
         migth produce strange behavior whenever a CS var was drawn to 0
         in the place, and a value different from 0 in the second place.
         The fix consist in attaching the control.state at automata.t leaves,
         instead of the control expr labels (which was a bit silly BTW).
      
      show_env.ml:
         Fix a small bug in the dot output.
      
      Project-Description: Lurette
      562a6ed5
    • Erwan Jahier's avatar
      lurette 0.70 Fri, 19 Jul 2002 17:31:37 +0200 by jahier · da43be79
      Erwan Jahier authored
      Parent-Version:      0.69
      Version-Log:
      
      ima_exe.ml:
      lurette.ml:
      env_state.ml:
        Factoring out code into  two new functions, clear_step and clear_all.
      
      env_state.ml:
         Do not use to 2 ranges of indexes (one for atomic formula that depends on
      pre,
         one if it is not) but maintain a list a unused indexes instead.
      
      Project-Description: Lurette
      da43be79
    • Erwan Jahier's avatar
      lurette 0.69 Fri, 19 Jul 2002 10:19:59 +0200 by jahier · 135fe2d5
      Erwan Jahier authored
      Parent-Version:      0.68
      Version-Log:
      
      wtree.ml,mli:   (deleted)
      automa.ml,mli:  (new files)
      control.ml,mli: (new files)
      
         Replace the [wtree] module by an [automata] module, that basically
         does the same job, but in a different way. Namely, it no more uses
         the [wtree] DS to use [graph]s instead.  Indeed, the product of
         wtrees introduces some problems, in particular to ensure its
         correctness wrt to the automata run concurrently. Now, everything a
         dead-simple wrt product: we simply perform a quasi-classical automata
         product (well, at least, much closer from a classical product, cf
         paper).
      
         The way loop counters are handled has also changed. Now, counters are
         handled via expressions of a simple arithmetic language that
         basically lets one initialise a variable to an exact or a random
         value (uniform or normal draw) and decrement it. Arcs are now
         labelled by a formula plus 2 expressions of that mini-language (no
         more weigth nor cpt_init stuff). The 1st expression is evaluated
         during the draw, basically performs any operations on counters, and
         returns a positive int that is used as the formula weigth. The second
         expression (a kind of post-condition) is evaluated if its arc is the
         one that has been elected to perform the step.
      
      At several locations long lines (< 80) are reindented.
      
      parse_env.ml:
         In the ima format, IfThenElseExpr becomes IfThenElseNum.
         Also, parse list more cleanly.
      
      graph.ml,mli:
          Add a function that test whether a transition is in the graph.
      
          Do not sort list of transitions anymore (what was the point?).
          Also do not sort nodes in any way.
      
      show_env_env.ml,mli:
         Abstract away nodes and arcs data types (so that I can display
         Automata graphs). rename generate_env_graph into ima_to_dot.
      
      lurette.ml:
      ima_exe.ml:
         Fix a bug where bbd table were filled by asserted non regression expr.
      
      lurette.ml:
         Fix a bug where incorrect data was sent to sim2chro (ie, the output of the
         previous step instead of the ones of the current step.
      
      env_state.ml:
      solver.ml:
      gne.ml:
         Fix a performance bug where I was storing formula indexes even if
         they were depending on inputs or pre, which is stupid as they generally
         won't be used again. In order to fix that, I introduced  new
         atomic_formula <-> indexes table to stote the ones that do not depend
         on inputs apart. It was also necassery to propogate the <<depend on pre>>
         flag inside Gne.gn_expr (which i renamed Gne.t BTW).
      
      Project-Description: Lurette
      135fe2d5
    • Erwan Jahier's avatar
      lurette 0.68 Fri, 17 May 2002 17:59:13 +0200 by jahier · 8c24cdb7
      Erwan Jahier authored
      Parent-Version:      0.67
      Version-Log:
      
      Add a verbose option in ima_exe.
      
      Fix a bug in show_env.ml introduced in the previuos pci.
      
      Add support to dynamically load another ima from ima_exe (will usefull for
      Ludic).
      
      Project-Description: Lurette
      8c24cdb7
    • Erwan Jahier's avatar
      lurette 0.65 Fri, 10 May 2002 16:54:24 +0200 by jahier · ee70bc48
      Erwan Jahier authored
      Parent-Version:      0.64
      Version-Log:
      
      Outputs error message on stderr rather than on stdout.
      
      Project-Description: Lurette
      ee70bc48
    • Erwan Jahier's avatar
      lurette 0.62 Fri, 03 May 2002 15:21:42 +0200 by jahier · c88a7a6f
      Erwan Jahier authored
      Parent-Version:      0.61
      Version-Log:
      
      Reorganise things a little bit so that show_ima does not depend on
      cudd, etc.
      
      Project-Description: Lurette
      c88a7a6f
    • Erwan Jahier's avatar
      lurette 0.61 Fri, 03 May 2002 12:08:34 +0200 by jahier · 6b362e07
      Erwan Jahier authored
      Parent-Version:      0.60
      Version-Log:
      
      Add support for handling loops. This is based on the use of dynamic
      weigths. The idea is to compute the dynamic weigths before the trees
      are constructed.
      
      Add a --show-aut option for ima_exe.
      
      Also, Add the command lise args hashed to the end of the name of the dot file
      that is used to visualize the ima file.
      
      Project-Description: Lurette
      6b362e07
    • Erwan Jahier's avatar
      lurette 0.60 Mon, 29 Apr 2002 10:16:48 +0200 by jahier · b425173e
      Erwan Jahier authored
      Parent-Version:      0.59
      Version-Log:
      
      Add an make release rule to package a lurette.tgz ready to distribute.
      
      Create a bin dir where all the biniries (except lurette) will live.
      
      Create a show_ima executable that lets one (Yvan actually) display
      .env (or .ima) files off-line.
      
      Move read_env_state from env.ml to env_state.ml.
      
      Add support for lutin loops in the parser (not yet handled tough).
      
      In gen_stubs.ml, try to automatically call lustre whenever no C poc
      file exists for the invoked program.
      
      Project-Description: Lurette
      b425173e
    • Erwan Jahier's avatar
      lurette 0.57 Thu, 04 Apr 2002 16:06:30 +0200 by jahier · da601f66
      Erwan Jahier authored
      Parent-Version:      0.56
      Version-Log:
      
      Add a --output options to specify the output file name.
      
      Project-Description: Lurette
      da601f66
    • Erwan Jahier's avatar
      lurette 0.55 Wed, 03 Apr 2002 14:41:43 +0200 by jahier · f570cc25
      Erwan Jahier authored
      Parent-Version:      0.54
      Version-Log:
      
      Allow equalities between formula by translating [A = B] into
      [Or(And(A,B), And(Not(A), Not(B)))].
      
      Fix a bug where lurette had a bad behaviour whenever a toss
      was performed on a domain which size was bigger than max_int
      or max_float.
      
      Fix a bug where lurette was not handling env with both boolean and
      numerical as output vars.  Also add a few comments in solver.ml along
      the way.
      Adds a local bool as an output of heater in order to test the fix
      above.
      
      Project-Description: Lurette
      f570cc25
    • Erwan Jahier's avatar
      lurette 0.54 Tue, 02 Apr 2002 14:25:12 +0200 by jahier · f0aff2da
      Erwan Jahier authored
      Parent-Version:      0.53
      Version-Log:
      
      Cosmetic change:
      
      Encapsulates the various fields of Env_state.
      
      Project-Description: Lurette
      f0aff2da
    • Erwan Jahier's avatar
      lurette 0.53 Fri, 29 Mar 2002 11:04:44 +0100 by jahier · 1347da63
      Erwan Jahier authored
      Parent-Version:      0.52
      Version-Log:
      
      Add a --verbose and a --help options to the command line.
      
      Also clean up a little bit comments in various places.
      
      Project-Description: Lurette
      1347da63
    • Erwan Jahier's avatar
      lurette 0.51 Wed, 27 Mar 2002 17:46:03 +0100 by jahier · 6f6168b0
      Erwan Jahier authored
      Parent-Version:      0.50
      Version-Log:
      
      Change the way pre are translated in the .env file. Now
      instead of writting "_pre2toto", one writes "pre(2,toto)".
      
      But internally, it is handled the same way as before (i.e., the first
      thing I do when parsing the env file is to transform "pre(2,toto)"
      into "_pre2toto" (it makes the hangling of pre vars much more
      homogeneous with the way the other vars are handled.
      
      Also fix a bug where it was not possible to have a pre on input
      vars because the update_pre was failing to proceed quietly  whenever
      one of its var was not computable because its pre does have a value.
      Also give an appropriate error message whenever the user wrongly
      use a pre on a var that can not be computed.
      
      Project-Description: Lurette
      6f6168b0
    • Erwan Jahier's avatar
      lurette 0.48 Fri, 22 Mar 2002 14:29:17 +0100 by jahier · 1c7769db
      Erwan Jahier authored
      Parent-Version:      0.47
      Version-Log:
      
      Add support for (boolean and numeric) if-then-else.
      
      Remove the eval.ml module as the replacement of pre and input
      vars is now done in Solver.formula_to_bdd.
      
      Add a new module gne.ml that provides a garded normal expressions
      data structure that is used to handle if-then-elses.
      
      Also introduce a new field to env_state called bdd_tbl_global which
      is used to cache the result of formula_to_bdd for bdds that do not
      depend on pre nor input vars. The field bdd_tbl which cache the other
      reults is now cleared at each step because it is useless to store results
      that depends on pre and inputs.
      
      Project-Description: Lurette
      1c7769db
    • Erwan Jahier's avatar
      lurette 0.46 Wed, 13 Mar 2002 14:51:14 +0100 by jahier · ee264c20
      Erwan Jahier authored
      Parent-Version:      0.45
      Version-Log:
      
      Clean up a little bit lurette.ml
      
      Project-Description: Lurette
      ee264c20
    • Erwan Jahier's avatar
      lurette 0.45 Wed, 13 Mar 2002 13:59:01 +0100 by jahier · a23032bf
      Erwan Jahier authored
      Parent-Version:      0.44
      Version-Log:
      
      Comment out all the stuff related to the heap initialisation
      of cudd since it is unused for the moment.
      
      Project-Description: Lurette
      a23032bf
    • Erwan Jahier's avatar
      lurette 0.42 Wed, 13 Mar 2002 10:29:08 +0100 by jahier · 46927269
      Erwan Jahier authored
      Parent-Version:      0.41
      Version-Log:
      
      Make sure that n formula are drawn when even numeric failure occurs.
      To do that, I recursively call draw_n_p_formula until the required
      number of outputs have been generated.
      
      Also fix a bug where my code was not handling cases where several
      formulas corresponding to the same origin and target nodes (Lutin
      probably won't generate such arcs explicitely, but it does
      implicitely via epsilon transitions). The fix consist in adding
      formula in wtree types instead of maintaining a table of formula
      indexed by node list pairs. The env_state.formula_table is thus no
      longer needed.
      
      Project-Description: Lurette
      46927269
    • Erwan Jahier's avatar
      lurette 0.39 Thu, 07 Mar 2002 13:36:27 +0100 by jahier · 4579cc26
      Erwan Jahier authored
      Parent-Version:      0.38
      Version-Log:
      
      Use the new cudd interface based on camlidl (mlcuddidl).
      
      Now, bdds do not leaks anymore.  Remove debugging stuff that was used
      to track that problem.
      
      Project-Description: Lurette
      4579cc26
    • Erwan Jahier's avatar
      lurette 0.38 Wed, 06 Mar 2002 10:50:34 +0100 by jahier · c3c5f045
      Erwan Jahier authored
      Parent-Version:      0.37
      Version-Log:
      
      With this change, lurette is now able to handle numeric variables
      over intervals !
      
      Project-Description: Lurette
      c3c5f045
    • Erwan Jahier's avatar
      lurette 0.36 Mon, 04 Mar 2002 13:50:13 +0100 by jahier · 8b44df60
      Erwan Jahier authored
      Parent-Version:      0.35
      Version-Log:
      
      Add support to handle numerical contraints. The numerical stuff is
      untested, but the boolean part works as before.
      
      source/rnumsolver.mli:
      source/rnumsolver.ml:
          New files implementing a numeric solver based on intervals.
      
      source/*.ml:
          Change the var_type type from a string to a sum type containing
          the lower and upper bounds of numeric domains.
      
          Do not maintain a var_name to index correspondance, but a formula to
          index one. This is to be able to handle numerical constraint in bdds.
          This field is not set at init time anymore, but in formula_to_bdd.
      
          Add <>, <, and <= to the type of formula.
      
      Project-Description: Lurette
      8b44df60