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.99 Fri, 04 Oct 2002 13:49:58 +0200 by jahier · 3797df71
      Erwan Jahier authored
      Parent-Version:      0.98
      Version-Log:
      
      source/solver.ml:
      source/rnumsolver.mli,.ml:
      source/constraint.ml,.mli:
         Split the Constraint.t type into t and ineq where
         inequalities are in ineq. The rational is that most
         operations on constaint.t are actually done on ineq.
         This change therefore avoid pattern like
         <<_ -> assert false>> and let the type checher check
         that sort of things.
      
      Project-Description: Lurette
      3797df71
    • Erwan Jahier's avatar
      lurette 0.98 Fri, 04 Oct 2002 13:06:16 +0200 by jahier · b8ce1df2
      Erwan Jahier authored
      Parent-Version:      0.97
      Version-Log:
      
      source/rnumsolver.ml:
         Remove valI and ValF from the range type as now, when a var is bound,
         it is put into store.substl.
      
      Project-Description: Lurette
      b8ce1df2
    • 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.96 Mon, 30 Sep 2002 16:58:31 +0200 by jahier · 42c10bc1
      Erwan Jahier authored
      Parent-Version:      0.95
      Version-Log:
      
      source/ne.ml,mli:
      source/value.ml,mli:
         (new files) put everything that is related to normal expressions
         and values in thoses 2 new modules.
      
      source/ne.ml,mli:
      source/gne.ml,mli:
         Make the normal expressions and the guarded normal expression abstract.
      
      source/solver.ml:
         also fix a bug in the previous change (forgot to try make test ...)
      
      Project-Description: Lurette
      42c10bc1
    • Erwan Jahier's avatar
      lurette 0.95 Mon, 30 Sep 2002 09:32:45 +0200 by jahier · 9f11061a
      Erwan Jahier authored
      Parent-Version:      0.94
      Version-Log:
      
      Continue to prepare things for the next change (which will try to
      handle equalities smartly).
      
      test/test*.res:
         fix the expected results as this change adds a random toss
         that disturbs the random values.
      
      source/solver.ml:
      source/rnumsolver.ml:
         Add code to handle the fact that the negation of a equality
         is the disjunction of two inegalities, which can not be added
         to store as it is. So we first try with >, and if it fails,
         we try with < (or the other way aroung, depending on a fair toss).
      
         Also split up the code in Solver.draw_in_bdd depending on the
         fact that the current constraint is a boolean, an eq, or an ineg.
      
      source/solver.ml:
         split toss_up_one_var into toss_up_one_var and toss_up_one_var_index,
         one performing the the toss from a var, the other one from a var index.
      
      Project-Description: Lurette
      9f11061a
    • Erwan Jahier's avatar
      lurette 0.94 Fri, 27 Sep 2002 13:20:05 +0200 by jahier · f8219704
      Erwan Jahier authored
      Parent-Version:      0.93
      Version-Log:
      
      Prepare things for the next change (which will try to handle equalities
      smartly).
      
      source/solver.ml:
      source/rnumsolver.ml:
         atomic_formula do not need both < and > (ditto for <= and >=).
         Indeed, I just need to take the opposite, and everything is fine.
         One advantage is that there are less cases to handle. But the key
         advantage is that it make the representation of constraint normal,
         which is important at least when I will try to detect equalities.
      
         Also add a subst list and constraint list fields to the store
         that will ebe used in the forthcoming change. They will resp.
         be used for removeing a dimension when an equality is encountered
         and to delay constraint with more than one variable.
      
      source/constraint.ml,mli: (new files)
         Move there from formula.ml everything that is related to the internal
         representation of constraints.
      
         Also change the name of atomic_formula to linear_constraint, which is
         more informative.
      
      Project-Description: Lurette
      f8219704
    • Erwan Jahier's avatar
      lurette 0.93 Wed, 25 Sep 2002 09:56:41 +0200 by jahier · e9325bcf
      Erwan Jahier authored
      Parent-Version:      0.92
      Version-Log:
      
      source/formula.ml:
      source/solver.ml:
      source/parse_env.ml:
         Handle boolean equalities with Bdd.eq instead of manually
         converting it with <<and>>, <<not>> and <<or>>.
      
      Project-Description: Lurette
      e9325bcf
    • Erwan Jahier's avatar
      lurette 0.91 Fri, 20 Sep 2002 16:34:48 +0200 by jahier · 1e5a2fe0
      Erwan Jahier authored
      Parent-Version:      0.90
      Version-Log:
      
      source/parse_env.ml:
          Allow a space between a '-' and a numeric value.
      
      Project-Description: Lurette
      1e5a2fe0
    • Erwan Jahier's avatar
      lurette 0.90 Fri, 20 Sep 2002 16:17:27 +0200 by jahier · a02a6397
      Erwan Jahier authored
      Parent-Version:      0.89
      Version-Log:
      
      source/parse_env.ml:
          Allow arbitrary expression in the lhs of boolean
          compararison operators (<,>,=,>=,<=).
      
      Project-Description: Lurette
      a02a6397
    • 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.87 Wed, 18 Sep 2002 16:50:33 +0200 by jahier · 426e2bb8
      Erwan Jahier authored
      Parent-Version:      0.86
      Version-Log:
      
      Save and restore sessions without messing up directory names
      (namely, avoid name clashes in the /tmp dir).
      
      Project-Description: Lurette
      426e2bb8
    • 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.84 Wed, 11 Sep 2002 10:19:52 +0200 by jahier · 86a22707
      Erwan Jahier authored
      Parent-Version:      0.83
      Version-Log:         empty
      Project-Description: Lurette
      86a22707
    • 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.81 Mon, 02 Sep 2002 16:13:16 +0200 by jahier · 8773bbd9
      Erwan Jahier authored
      Parent-Version:      0.80
      Version-Log:
      
      source/control.ml:
         Give a proper error message when one uses a ctrl expr that
         is not defined.
      
      Project-Description: Lurette
      8773bbd9
    • Erwan Jahier's avatar
      lurette 0.80 Mon, 02 Sep 2002 16:07:51 +0200 by jahier · 7344d9ba
      Erwan Jahier authored
      Parent-Version:      0.79
      Version-Log:
      
      source/control.ml:
      source/parse_env.ml:
          Add a new ctrl expr (set_between) to let one set the value of a CE var
          in such a way that it is backtracable within an interval. One rational
          is that it let ones code infinite loops that can be exited when
          the formula is false.
      
      Project-Description: Lurette
      7344d9ba
    • Erwan Jahier's avatar
      lurette 0.78 Thu, 29 Aug 2002 15:19:15 +0200 by jahier · 98bd35d5
      Erwan Jahier authored
      Parent-Version:      0.77
      Version-Log:
      
      source/parse_env.ml:
         Fix a bug where empty ctrl expr labels were causing
         a parse error.
      
      source/control.ml,mli:
         Add those files to the project as should have been done for a while...
      
         Do not handle infinite values for ctrl expr counters anymore as it is
         useless (and not so easy to be handled properly).
      
      Project-Description: Lurette
      98bd35d5
    • 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.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.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.67 Thu, 16 May 2002 13:51:48 +0200 by jahier · a092979c
      Erwan Jahier authored
      Parent-Version:      0.66
      Version-Log:
      
      Draw loop nodes as circles and other nodes as boxes in the dot output
      of the ima files.
      
      Project-Description: Lurette
      a092979c
    • 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.64 Fri, 10 May 2002 16:32:32 +0200 by jahier · 458e1508
      Erwan Jahier authored
      Parent-Version:      0.63
      Version-Log:
      
      Add support for loop Gauss.
      
      Fix a bug in the handling of loops where lurette (and ima_exe) was
      stopping whenever the body of a loop contains no satisfiable formula
      whereas the endLoop branch should be taken in that case.
      
      Project-Description: Lurette
      458e1508
    • Erwan Jahier's avatar
      lurette 0.63 Tue, 07 May 2002 15:12:50 +0200 by jahier · 9d1e0221
      Erwan Jahier authored
      Parent-Version:      0.62
      Version-Log:
      
      Reimplement the rif parsing in ima_exe.ml so that it is correct wrt the BLA-RIF
      doc.
      
      Project-Description: Lurette
      9d1e0221
    • 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.59 Mon, 22 Apr 2002 14:40:46 +0200 by jahier · 74c46a98
      Erwan Jahier authored
      Parent-Version:      0.58
      Version-Log:
      
      Change the env parser so that :
      1) lists can end with a semi-column
      2) We can deal with dynamic weigths (for loops). The support
      for handling them is not written yet tough.
      
      Project-Description: Lurette
      74c46a98
    • Erwan Jahier's avatar
      lurette 0.58 Fri, 19 Apr 2002 11:15:07 +0200 by jahier · 03ffa20e
      Erwan Jahier authored
      Parent-Version:      0.57
      Version-Log:
      
      Clean up Makefiles for lurette and ima_exe.
      
      Make sure that gen_stubs does not recompile the fake oracle
      (always_true.lus) if it is not necessary.
      
      Project-Description: Lurette
      03ffa20e
    • Erwan Jahier's avatar
      lurette 0.56 Wed, 03 Apr 2002 16:14:26 +0200 by jahier · 662e3694
      Erwan Jahier authored
      Parent-Version:      0.55
      Version-Log:
      
      Change the env format sligthly again :
       - adds the arcs and node numbers.
       - allows lists to end by a ;
       - add xor's
      
      Project-Description: Lurette
      662e3694
    • 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.52 Thu, 28 Mar 2002 18:10:42 +0100 by jahier · edc79032
      Erwan Jahier authored
      Parent-Version:      0.51
      Version-Log:
      
      Remove the necessity to provide an oracle when the user does
      not have any assertion to check. To do that, I parse the sut
      file and automatically generates a fake oracle that answers always
      true.
      
      Project-Description: Lurette
      edc79032
    • Erwan Jahier's avatar
      lurette 0.50 Wed, 27 Mar 2002 13:36:39 +0100 by jahier · c699a9b3
      Erwan Jahier authored
      Parent-Version:      0.49
      Version-Log:
      
      Add the possibility to put pragmas in the .env files.
      
      Project-Description: Lurette
      c699a9b3
    • 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