1. 11 Jul, 2019 1 commit
  2. 03 Jul, 2019 1 commit
  3. 13 Mar, 2019 1 commit
  4. 17 Mar, 2017 1 commit
    • erwan's avatar
      Allow the division by a constant in constraint. · c7a6f554
      erwan authored
      I'm pretty sure this used to be supported. Why did I remove it?
      unfortunately, the ne.ml file was not tracked by git (and by mistake)
      at this time.
      
      also, begin to replace lurettetop by rdbg -lurette in tests
      c7a6f554
  5. 25 Jan, 2016 1 commit
  6. 03 Sep, 2015 1 commit
  7. 29 Nov, 2012 1 commit
  8. 26 Oct, 2012 1 commit
  9. 17 Oct, 2012 1 commit
  10. 08 Aug, 2011 1 commit
  11. 15 Jul, 2011 1 commit
  12. 30 Jun, 2010 1 commit
  13. 19 May, 2010 1 commit
  14. 17 Mar, 2010 17 commits
    • Erwan Jahier's avatar
      lurette 1.46 Wed, 15 Apr 2009 11:14:47 +0200 by jahier · c9f9ddd4
      Erwan Jahier authored
      Parent-Version:      1.45
      Version-Log:
      
      Use polkag instead of polkai to build the binaries, as the latter raises
      some seg fault when its capacity is exceded.
      Project-Description: Lurette
      c9f9ddd4
    • Erwan Jahier's avatar
      lurette 1.45 Mon, 22 Sep 2008 18:20:01 +0200 by jahier · 89aedffe
      Erwan Jahier authored
      Parent-Version:      1.44
      Version-Log:
      
      Fix an embarassing bug in the integer solver (in dimension 1).
      
      Project-Description: Lurette
      89aedffe
    • Erwan Jahier's avatar
      lurette 1.42 Fri, 20 Jan 2006 15:06:27 +0100 by jahier · 04e06981
      Erwan Jahier authored
      Parent-Version:      1.41
      Version-Log:
      
      source/luc_exe.ml
      source/command_line_luc_exe.ml
      source/lurette.ml
      source/graph.ml
      source/lucky.mli
      source/lucky.ml
      source/util.ml
      source/formula_to_bdd.ml
      source/formula_to_bdd.mli
      source/fair_bddd.ml
      source/fair_bddd.mli
      source/bddd.ml
      source/bddd.mli
      source/solver.mli
      source/solver.ml
      source/polyhedron.ml
      source/polyhedron.mli
      source/store.mli
      source/store.ml
      source/parse_luc.mli
      source/parse_luc.ml
      source/show_env.ml
      source/env_state.mli
      source/env_state.ml
      source/run_aut.mli
      source/run_aut.ml
      source/lurettetop.ml
      source/draw.mli
      source/draw.ml
      source/gen_stubs.ml
      source/parse_c_scade.ml
      source/ne.ml
      source/prevar.ml
      source/prevar.mli
      source/show_luc.ml
      utils/lucky.el
      install/configure.in
      Makefile.common.source
      install/Makefile.lurette.in
      user-rules
      source/Makefile.lurettetop
      source/Makefile.gen_fake_lutin
      source/Makefile.show_luc
      source/Makefile.lucky
      source/Makefile.gen_stubs
      source/Makefile.lurette_lib
      source/Makefile
      RUN_ME
      TODO
      test/time-joly.exp
      test/time-joly.res
      test/time-ecrins.exp
      ihm/xlurette/xlurette_glade_main.ml
      ihm/xlurette/xlurette_glade_interface.ml
      ihm/xlurette/makefile
      polka/caml/Makefile
      polka/Makefile.config
      source/Makefile.gen_fake_lucky
      install/xlurette_sh.in
      install/xlurette.sh.in
      install/xlurette.bat.in
      install/set_env_var.in
      install/lurettetop_sh.in
      install/lurettetop.sh.in
      install/lurettetop.bat.in
      install/gen_stubs.sh.in
      source/poly_draw.ml
      source/poly_draw.mli
      source/lustreExp.ml
      source/lustreExp.mli
      source/exp.ml
      source/var.ml
      source/type.mli
      examples/xlurette/fault-tolerant-heater/degradable-sensors.luc
      examples/xlurette/fault-tolerant-heater/heater_control_env.luc
      examples/xlurette/fault-tolerant-heater/sensors.luc
      source/parser.mly
      doc/lurette-man/lurette-man.tex
      source/parse_sildex.ml
      test/time-asti.exp
      RELEASE-NOTES
      FAQ
      source/gnuplot-socket.ml
      source/luc4ocaml.ml
      source/luc4ocaml.mli
      source/Makefile.gnuplot-rif
      source/gnuplot-rif.ml
      source/luckyDraw.mli
      source/luckyDraw.ml
      source/luc4ocaml_nolbl.mli
      source/luc4ocaml_nolbl.ml
      source/lucky2lus.ml
      source/Makefile.luc4ocaml
      source/Makefile.lurette_ocaml_lib
      source/Makefile.lurette_debug
      source/Makefile.luckyDraw
      source/Makefile.lucky2lus
      xlurette/Scade/GenMake_l4sim.tcl
      examples/lucky/external_code/call_external_c_code.luc
      examples/lucky/external_code/Makefile
      VERSION
      install/configure
      install/set_env_var.bat.in
      
      Quite a lot of changes this time... far too much...
      
      Fix a at least 5 bugs, and re-organize directories, in particular
      the test dir. too much to say...
      
       * pre pre x was always equal to pre x (bugs introduced in 1.39 or something
      I think...).
       * ...
      
      One big improvment is that I have completely changed the way runtime automaton
      are handled, using continuations instead of maitaining an explicit
      data-structure.
      This let me reduce the run_aut module by 75 percent, resulting in much clearer
      code, and less buggy, and more efficient. ouaw!
      
      thanks to that, I support DAG now (was rejected before).
      
      The executable that do not need env var are no more called via a script that
      call set_env_var, so that they are fully stand-alone: show_luc, lucky,
      gen_fake_lucky. This is why util was splitted (util+util2)
      
      source/var.ml
      source/lucaml.ml  -> luc4ocaml.ml
      source/lucaml.mli -> luc4ocaml.mli
      
      source/run_aut.ml:
         Fix a bug during the backtraking in the dynamic tree.
      
      source/env_state.ml
      
      source/formula_to_bdd.ml
         sort the list of free index, because the first order of variable is
      generally
         better.
      
      source/bddd.ml
      source/bddd.mli
      source/solver.mli
      source/solver.ml
      source/polyhedron.ml
      source/polyhedron.mli
      source/store.mli
         Add the verbosity level in a few functions.
      
      source/store.ml
         FIX A BUG in the bdd traversal. Some branches were never visited because
         I was raising a No_numeric_solution exception instead od returning an empty
         store when adding a constraint... This embarassing bug is there from the
         begining... Ouille!
      
         Also, when a valid integer cannot be found, return a wrong one, which is a
         bug really. But is it better than the current state were raising the no_num
         expt would cut some branches in the bdd. I will fix that problem later.
      
      source/parse_luc.ml
      source/lustreExp.ml
      source/lustreExp.mli
         The list of pre vars was computed with a ref, which is bad. Moreover,
         the same pre var was created with different indexes, which did not lead
         to incorrect behavior, but still...
      
      source/exp.ml
      test/bj.luc
      examples/lucky/external_code/call_external_c_code.luc
      examples/lucky/external_code/Makefile
      
      Project-Description: Lurette
      04e06981
    • Erwan Jahier's avatar
      lurette 1.41 Mon, 26 Sep 2005 13:51:19 +0200 by jahier · 98380cec
      Erwan Jahier authored
      Parent-Version:      1.40
      Version-Log:
      
      source/luc_exe.ml
      source/lurette.ml
      source/util.ml
      source/formula_to_bdd.ml
      source/bddd.ml
      source/solver.ml
      source/store.ml
      source/parse_luc.mli
      source/parse_luc.ml
      source/env_state.mli
      source/env_state.ml
      source/run_aut.ml
      source/gne.mli
      source/gne.ml
      source/lurettetop.ml
      source/gen_stubs_poc.ml
      source/ne.ml
      source/ne.mli
      share/lucky.el
      share/configure.in
      Makefile.common.source
      OcamlMakefile
      user-rules
      source/Makefile.show_luc
      source/Makefile.lucky
      source/Makefile.gen_stubs
      source/Makefile.lurette_lib
      source/Makefile
      test/time-joly.res
      test/temp_int.luc
      ihm/xlurette/xlurette.glade
      ihm/xlurette/makefile
      source/Makefile.gen_fake_lucky
      source/lustreExp.ml
      source/lustreExp.mli
      source/exp.ml
      source/exp.mli
      source/parser.mly
      doc/lucky-man/lucky-man.tex
      source/gnuplot-socket.ml
      source/gnuplot-rif.ml
      source/luckyDraw.mli
      source/luckyDraw.ml
      source/essai-maitre.ml
      source/essai-esclave.ml
      source/Makefile.ocaml
      source/Makefile.luckyDraw
      
      Add the possibility to call external code via dyn lib.
      
      The generation of default lucky files from Lurette was broken.
      
      Fix warning generated by gcc4.
      
      Fix a bug where variables with default values were generated twice
      (bug only visible in assert mode ; in the other mode, one of the value
      was taken, but I am not sure which one...)
      
      Project-Description: Lurette
      98380cec
    • Erwan Jahier's avatar
      lurette 1.28 Wed, 21 Apr 2004 09:38:03 +0200 by jahier · 6de2c0e9
      Erwan Jahier authored
      Parent-Version:      1.27
      Version-Log:
      
      Add #locs pragmas so that sim2chro is able to print local var in green.
      
      Project-Description: Lurette
      6de2c0e9
    • Erwan Jahier's avatar
      lurette 1.23 Mon, 08 Mar 2004 14:10:38 +0100 by jahier · 18e59b0d
      Erwan Jahier authored
      Parent-Version:      1.22
      Version-Log:
      
      source/*.ml*:
         perform a sed 's/[ ]*$//' on all files to remove
         trailing space.
      
      Project-Description: Lurette
      18e59b0d
    • Erwan Jahier's avatar
      lurette 1.9 Tue, 18 Nov 2003 11:17:12 +0100 by jahier · 67c17ef7
      Erwan Jahier authored
      Parent-Version:      1.8
      Version-Log:
      
      A lot (too much...) of changes, mainly renaming files, and types, and
      functions,
      change the interface, move from one module to another, etc.
      
      Bref, a lot of cleanning.
      
      Project-Description: Lurette
      67c17ef7
    • Erwan Jahier's avatar
      lurette 1.8 Wed, 22 Oct 2003 18:30:52 +0200 by jahier · a3e8a67b
      Erwan Jahier authored
      Parent-Version:      1.7
      Version-Log:
      
      Implement a new drawing policy in polyhedron.
      
      The idea is to base the base (which is not so expensive), and to draw
      in othogonal hypercube that is as small as possible until a point in
      the polyhedron is found.  However, it may happens in high dimension (>4)
      that the volume of the cube is much bigger. In that case, after a few tries,
      i call the old (unfair) method.
      
      polyDram.ml/mli:
         new module containing all the thing related to the drawing inside
         a convex polyhedron.
      
         Give up the idea of random walk (not clear what should be the default
         step and length in big dimension).
      
      Project-Description: Lurette
      a3e8a67b
    • Erwan Jahier's avatar
      lurette 1.1 Mon, 08 Sep 2003 16:02:09 +0200 by jahier · 4aed6dc3
      Erwan Jahier authored
      Parent-Version:      0.143
      Version-Log:
      
      Major change in the lucky syntax.
      
      Also add structured types (in lucky only, for the time being).
      
      Project-Description: Lurette
      4aed6dc3
    • Erwan Jahier's avatar
      lurette 0.136 Mon, 19 May 2003 11:40:43 +0200 by jahier · fe6d609c
      Erwan Jahier authored
      Parent-Version:      0.135
      Version-Log:
      
      source/parse_env.ml:
      source/formula.ml:
      source/formula.mli:
      source/env_state.ml:
      source/env_state.mli:
      source/automata.ml:
         Change the format of pragma to stick with how they are defined
         in the DC ref man.
      
         Also take into account programs that were added by yvan that
         let one know which control point in the source lutin program
         each lucky node correspond to.
      
      source/lurette.ml:
         Display a better error msg when the sut and env vars do not match.
      
      source/sim2chro.ml:
         Variables were not display in the same order as in their declaration
         (bug introduced in the previous change).
      
      source/lurettetop.ml:
         The clean command does not remove everything in the tmp dir but only
         the generated files.
      
      ihm/xlurette/xlurette_*.ml:
         The naming of rif files was not working properly.
      
         Add a clean-up button.
      
      user-rules:
      <various other makefiles>:
         Abstract away a few hard-code env var so that its works on cygwin
      
      Project-Description: Lurette
      fe6d609c
    • Erwan Jahier's avatar
      lurette 0.132 Tue, 15 Apr 2003 17:38:13 +0200 by jahier · 557de1e9
      Erwan Jahier authored
      Parent-Version:      0.131
      Version-Log:
      
      Fix 3 bugs discovered by Pascal.
      
      one was due to a confusion with variable starting with _pre
      during formula_to_string.
      
      another one was in store.ml: i was not reinjecting the solutions
      when retriving values from store.substl
      
      a third one was due to the fact that I was not applying substitution
      rigth-to-left whereas I should.
      
      source/luc_exe.ml:
         Add 2 options --help and --step-number that let one set a bound
         on the number of steps to perform.
      
      source/env.ml:
      source/parse_env.ml:
         Provide a mean to give default values to pre variables.
      
      ihm/xlurette/xlurette_glade_main.ml
      ihm/xlurette/xlurette.glade:
        Add Combo boxes to browse lustre file nodes.
      
      source/
      Add the possibility to give default vales to pre variables.
      
      Project-Description: Lurette
      557de1e9
    • Erwan Jahier's avatar
      lurette 0.128 Mon, 03 Mar 2003 10:01:09 +0100 by jahier · 8d595778
      Erwan Jahier authored
      Parent-Version:      0.127
      Version-Log:
      
      source/parse_env.ml:
      source/env_state.ml:
      source/env_state.mli:
         Add support for transient /recurrent nodes (not plugged yet).
      
      source/parse_env.ml:
      source/solver.ml:
      source/formula.ml
      source/formula.mli:
      test/*.luc:
        Add the possibity to define formula and num expr aliases
        (a request from Bertrand).
      
      test/losange.luc: [new file]
      test/losange-3d.luc: [new file]
      test/test_losange.lus: [new file]
      user-rules:
         Add the losange in the non-regression test
      
      source/luc_exe.ml:
      source/command_line_luc_exe.ml:
         Add an option that lets one see local vars in lucky output.
      
      Project-Description: Lurette
      8d595778
    • Erwan Jahier's avatar
      lurette 0.122 Mon, 17 Feb 2003 14:50:50 +0100 by jahier · 78f40b65
      Erwan Jahier authored
      Parent-Version:      0.121
      Version-Log:
      
      When delayed constraints are remaining at bdd leaves, we were
      printing a message saying that one shoud use a polyhedron solver
      based instead.  Now, I really call such a polyhedron solver in order
      to solve those constraints.
      
      This means that I use to different solvers to handle interval and
      polyhedron of dimension > 1.
      
      It also means that the satisfiability of constraints over polyhedra
      is only checked at bdd leaves, which, in some circumstances, migth be
      inefficient. The point is that, if we chose to check the formula
      satisfiability during the bdd traversal, we take the risk that a very
      polyhedron is created whereas it was not necessary (because of
      forthcoming equalities). And creating polyhedron with big (>15)
      dimension simply runs forever, which is really bad.
      
      nb : drawing in poyhedron not yet plugged.
      
      source/polyhedron.ml:
      source/polyhedron.mli: (new files)
          misc functions over polyhedra. The rational for creating that file
          is that rnumsolver is already much too big (and should be splitted
          some more btw).
      
      source/solver.ml:
         One of the main change is that now, draw_in_bdd returns 2 stores.
         One is Range based, the other one is polyhedron-based.
      
      source/rnumsolver.mli:
      source/rnumsolver.ml:
         Add the function switch_to_polyhedron_representation which
         handle delayed constraint if necessary. It is meant to be called
         at bdd leaves.
      
      source/solver.ml:
      source/rnumsolver.ml:
         Also do not use split_store anymore but add_constraint. This allows
         a much more elegant and efficient implementation of draw_in_bdd and
         draw_in_bdd_eq (Now the store is buid when and only when a new branch
         should be tried because of backtracking). It is also more efficient.
      
      source/constraint.mli
      source/constraint.ml
      source/ne.mli
      source/ne.ml
         Implement get_vars that retreive the variables occuring in a contraint
         or an expression.
      
      Project-Description: Lurette
      78f40b65
    • 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.117 Mon, 18 Nov 2002 14:26:30 +0100 by jahier · fa2dfd3a
      Erwan Jahier authored
      Parent-Version:      0.116
      Version-Log:
      
      Various minor fixes in the documentation
      
      + Use a version of ocaml-3.06 that has been configured with -no-curses,
      which make things sligthly slower, but that avoid the need to find
      the curses lib...
      
      source/ne.ml:
      source/*.ml:
         Ne.find now returns an option value instead of raising a Not_found
         exp, which was not trap in some circumstances...
      
      source/ne.ml:
         Also, fix a couple of bugs where the code was supposing (falsely)
         that the constant (empty string) was always in the Map.
      
      Project-Description: Lurette
      fa2dfd3a
    • Erwan Jahier's avatar
      lurette 0.116 Wed, 13 Nov 2002 13:56:29 +0100 by jahier · aef52d9c
      Erwan Jahier authored
      Parent-Version:      0.115
      Version-Log:
      
      source/solver.ml:
         Give a better error message when users do not initialize pre vars.
      
      source/parse_env.ml:
      source/formula.ml:
      source/prevar.ml/mli: (new files)
         Put here everything that handles the internal representation of pre var
      names.
      
         Pretty print internal pre var names.
      
      Project-Description: Lurette
      aef52d9c
    • 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