1. 17 Mar, 2010 40 commits
    • Erwan Jahier's avatar
      lurette 0.43 Wed, 13 Mar 2002 10:57:11 +0100 by jahier · 189430ac
      Erwan Jahier authored
      Parent-Version:      0.42
      Version-Log:
      
      Checks that nodes in .env files are contiguous as the code suppose they are.
      
      Also cleanup a little bit the code in env.ml as (I was reinventing map ...)
      
      Project-Description: Lurette
      189430ac
    • 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.41 Fri, 08 Mar 2002 17:30:37 +0100 by jahier · 801c2882
      Erwan Jahier authored
      Parent-Version:      0.40
      Version-Log:
      
      Change sligthly the ima format to make it more consistent.
      
      Project-Description: Lurette
      801c2882
    • Erwan Jahier's avatar
      lurette 0.40 Thu, 07 Mar 2002 16:26:47 +0100 by jahier · 9d1241f6
      Erwan Jahier authored
      Parent-Version:      0.39
      Version-Log:
      
      Change the naming convention of prevars. Now, _pretoto is noted
      _pre1toto, and _pre_pre_pretoto is noted _pre3toto.
      
      Also fix a bug in the default initialization of ranges : min_float
      is the smallest positive float, not the smallet one !!
      
      Project-Description: Lurette
      9d1241f6
    • 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.37 Mon, 04 Mar 2002 14:58:15 +0100 by jahier · cdeda709
      Erwan Jahier authored
      Parent-Version:      0.36
      Version-Log:         Various cosmetic changes in comments.
      Project-Description: Lurette
      cdeda709
    • 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
    • Erwan Jahier's avatar
      lurette 0.35 Tue, 19 Feb 2002 16:27:14 +0100 by jahier · 429604ce
      Erwan Jahier authored
      Parent-Version:      0.34
      Version-Log:
       Use Hashtbl instead of assoc list to store env_in
      items as eval needs to search in it very often, it might be an issue
      when there is a lot of input variables.
      
      Project-Description: Lurette
      429604ce
    • Erwan Jahier's avatar
      lurette 0.34 Tue, 19 Feb 2002 10:40:58 +0100 by jahier · dba4992a
      Erwan Jahier authored
      Parent-Version:      0.33
      Version-Log:
      
      Fix a bug when computing the power of two.
      
      Project-Description: Lurette
      dba4992a
    • Erwan Jahier's avatar
      lurette 0.33 Mon, 18 Feb 2002 17:52:34 +0100 by jahier · ee4eb63d
      Erwan Jahier authored
      Parent-Version:      0.32
      Version-Log:
      
      Avoid recomputing everytime the list of output vars by storing it
      in an env_state field.
      
      Project-Description: Lurette
      ee4eb63d
    • Erwan Jahier's avatar
      lurette 0.32 Mon, 18 Feb 2002 17:06:16 +0100 by jahier · af07708a
      Erwan Jahier authored
      Parent-Version:      0.31
      Version-Log:
      
      Add an option --no-oracle to prevent that lurette calls the oracle.
      
      The solution number counting function was wrong.
      
      Also, make it easy to switch to float, or to big_int, to store
      the number of solution numbers.
      
      Project-Description: Lurette
      af07708a
    • Erwan Jahier's avatar
      lurette 0.31 Tue, 12 Feb 2002 14:10:11 +0100 by jahier · e682b1ff
      Erwan Jahier authored
      Parent-Version:      0.30
      Version-Log:
      
      Various fixes so that lurette can be build from scratch.
      
      Project-Description: Lurette
      e682b1ff
    • Erwan Jahier's avatar
      lurette 0.30 Tue, 12 Feb 2002 13:42:18 +0100 by jahier · c6197659
      Erwan Jahier authored
      Parent-Version:      0.29
      Version-Log:
      
      gen_stubs.ml:
          Updates the stubs files (lurette_stub.ml, sut_stub.c,
          sut_idl_stub.idl, oracle_stub.c, oracle_idl_stub.idl) iff they have
          changed to avoid unnecessary recompilations.
      
      Makefile:
          Minor cosmetic changes.
      
      wtree.ml,mli:
      env.ml:
      
          Also remove a loop in the dependencies that was confusing
          ocamldot (but how could it work before with that loop ?). To do that,
          pass Solver.is_satisfiable as a argument of Wtree.choose_n_formula so
          that Wtree does not depend on Solver anymore.
      
      Project-Description: Lurette
      c6197659
    • Erwan Jahier's avatar
      lurette 0.29 Tue, 12 Feb 2002 09:58:15 +0100 by jahier · 454bc141
      Erwan Jahier authored
      Parent-Version:      0.28
      Version-Log:
      
      Put the names of the environements in the sim2chro window title.
      
      Project-Description: Lurette
      454bc141
    • Erwan Jahier's avatar
      lurette 0.28 Tue, 12 Feb 2002 09:33:19 +0100 by jahier · 08912bde
      Erwan Jahier authored
      Parent-Version:      0.27
      Version-Log:
      
      Add a test flag to Ocamlmake.
      
      Project-Description: Lurette
      08912bde
    • Erwan Jahier's avatar
      lurette 0.27 Tue, 12 Feb 2002 09:02:01 +0100 by jahier · d35c3931
      Erwan Jahier authored
      Parent-Version:      0.26
      Version-Log:
      
      Add an option --sith-seed that lets one set the value of the seed
      used to initialize the random engine.
      
      Project-Description: Lurette
      d35c3931
    • Erwan Jahier's avatar
      lurette 0.26 Mon, 11 Feb 2002 17:32:29 +0100 by jahier · 8e54c847
      Erwan Jahier authored
      Parent-Version:      0.25
      Version-Log:
      
      Re-arrange the code so that lurette_stub.ml is not called by all the
      modules of lurette to avoid that everything is recompiled each time a
      new sut is used. To do that, lurette nows only manipulates list of
      substitutuions instead of tuples (as only lurette_stub knows the size
      of the tuples).
      
      Also fix two bugs along the way:
          o wtree.ml: Random.int n draw between 0 inclusive and n *exclusive* !
          o wtree.ml: in wtree_product, make sure that I do not unsort list of nodes
          o solver.ml: in draw_in_bdd, I was tossing up the top var of the formula
            instead of tossing up the one of the support
      
      Plus a few cosmetic change:
      
      show_env.ml:
      lurette.ml:
          prints the previous nodes in green environment.ps
      
      lurette.ml:
          rename arcs_inputs_loc into nll_inputs_loc.
      
      Project-Description: Lurette
      8e54c847
    • Erwan Jahier's avatar
      lurette 0.25 Wed, 06 Feb 2002 13:48:27 +0100 by jahier · e7fce05a
      Erwan Jahier authored
      Parent-Version:      0.24
      Version-Log:
      
      command_line.ml,mli: (New files)
      lurette.ml:
              Handle options at the lurette command line.
      
              Give better error messages.
      
      Project-Description: Lurette
      e7fce05a
    • Erwan Jahier's avatar
      lurette 0.24 Tue, 05 Feb 2002 14:10:29 +0100 by jahier · eb46e24b
      Erwan Jahier authored
      Parent-Version:      0.23
      Version-Log:
      
      Make the examples of Yvan work. Fix a bunch of bugs alonf the way...
      
      Project-Description: Lurette
      eb46e24b
    • Erwan Jahier's avatar
      lurette 0.23 Thu, 24 Jan 2002 15:14:37 +0100 by jahier · 010423f4
      Erwan Jahier authored
      Parent-Version:      0.22
      Version-Log:
      
      Add a bdd-based boolean solver to draw inside formula.
      
      Also remove several module opening and use explicit module
      qualification instead
      
      lurette.ml:
      env_state.ml:
          Define a function in env.ml to get the list of input and outputs var names
          and use it in lurette.ml
      
      env_state.ml:
          Add several fields to the env_state structure:
          * node_to_file_name: to be able to retrieve the list of vars that
            ougth to be generated from a list of nodes (Indeed, some vars
            that should be tossed up do no necessarily appear in formula; and
            once the whole bdd has been traversed for the draw, we need to be able
            to know what variable are still to be drawn).
          * var_name_to_index and index_to_var_name: to index output and local
            variable names. Indeed, the bdd library we use manipulates var as int,
            not string.
          * bdd_tbl: be cause transforming a formula into a bdd is expensive,
            we store the result of this transformation in a table.
      
          Define the var_names field as an Hashtbl instead of a list for homogeneity.
      
          Define functions that retrieve the list of input (resp output and local)
          vars from env_state to avois code duplication.
      
      env.ml:
          Initialize the new fields of env_state.
      
      util.ml:
      util.mli:
          Add a new function that computes the intersection of 2 lists.
      
      solver.ml:
          Implement a real boolean solver using bdds.
      
      Project-Description: Lurette
      010423f4
    • Erwan Jahier's avatar
      lurette 0.22 Fri, 14 Dec 2001 12:08:57 +0100 by jahier · 6f110b29
      Erwan Jahier authored
      Parent-Version:      0.21
      Version-Log:
      
      Change the comments layout so that ocamldoc is able to process them nicely.
      Project-Description: Lurette
      6f110b29
    • Erwan Jahier's avatar
      lurette 0.21 Thu, 13 Dec 2001 16:05:10 +0100 by jahier · 68089bdc
      Erwan Jahier authored
      Parent-Version:      0.20
      Version-Log:
      
      Removes a few hard coded paths.
      
      Project-Description: Lurette
      68089bdc
    • Erwan Jahier's avatar
      lurette 0.20 Thu, 06 Dec 2001 16:10:48 +0100 by jahier · 8e21b389
      Erwan Jahier authored
      Parent-Version:      0.19
      Version-Log:
      
      Just a couple of cosmetic changes.
      
      Project-Description: Lurette
      8e21b389
    • Erwan Jahier's avatar
      lurette 0.19 Thu, 06 Dec 2001 15:17:25 +0100 by jahier · 70df449f
      Erwan Jahier authored
      Parent-Version:      0.18
      Version-Log:
      
      Fix a bug where the variables were not given in the good order to
      the oracle.
      
      Give a diagnostic when the oracle is broken.
      
      Put everything related to sim2chro in tis own module.
      
      Project-Description: Lurette
      70df449f
    • Erwan Jahier's avatar
      lurette 0.18 Thu, 06 Dec 2001 12:40:09 +0100 by jahier · e95202e8
      Erwan Jahier authored
      Parent-Version:      0.17
      Version-Log:
       Handle pre in formula and expressions. Also add (in
      green) the environment local vars in the sim2chro output.
      
      Project-Description: Lurette
      e95202e8
    • Erwan Jahier's avatar
      lurette 0.17 Mon, 03 Dec 2001 17:54:50 +0100 by jahier · a330ffbb
      Erwan Jahier authored
      Parent-Version:      0.16
      Version-Log:
      
      Plug sim2cro to the lurette outputs.
      
      Project-Description: Lurette
      a330ffbb
    • Erwan Jahier's avatar
      lurette 0.16 Mon, 03 Dec 2001 13:07:25 +0100 by jahier · 6d26066c
      Erwan Jahier authored
      Parent-Version:      0.15
      Version-Log:
      
      Fix a problem in Ocamlmake
      Project-Description: Lurette
      6d26066c
    • Erwan Jahier's avatar
      lurette 0.15 Mon, 03 Dec 2001 12:51:02 +0100 by jahier · 227a7caa
      Erwan Jahier authored
      Parent-Version:      0.14
      Version-Log:
      
      Put gen_stubs into the source directory.
      
      Project-Description: Lurette
      227a7caa
    • Erwan Jahier's avatar
      lurette 0.14 Mon, 03 Dec 2001 12:45:17 +0100 by jahier · d22646a1
      Erwan Jahier authored
      Parent-Version:      0.13
      Version-Log:
      
      Now lurette can hanble multiple environements that can either be
      run as a product or in parallel.
      Project-Description: Lurette
      d22646a1
    • Erwan Jahier's avatar
      lurette 0.13 Thu, 22 Nov 2001 13:53:30 +0100 by jahier · 308a21af
      Erwan Jahier authored
      Parent-Version:      0.12
      Version-Log:
      
      Just a few cosmetic changes.
      
      Project-Description: Lurette
      308a21af
    • Erwan Jahier's avatar
      lurette 0.12 Tue, 20 Nov 2001 14:37:37 +0100 by jahier · 2aa3e529
      Erwan Jahier authored
      Parent-Version:      0.11
      Version-Log:
      
      Add a version of sut_idl_stub.ml in interface for testing purposes.
      
      Project-Description: Lurette
      2aa3e529
    • Erwan Jahier's avatar
      lurette 0.11 Tue, 20 Nov 2001 14:35:20 +0100 by jahier · 714ddf46
      Erwan Jahier authored
      Parent-Version:      0.10
      Version-Log:
      
      Fixing bugs. Now it can runs sut that have several inputs and outputs.
      
      Project-Description: Lurette
      714ddf46
    • Erwan Jahier's avatar
      lurette 0.10 Mon, 19 Nov 2001 16:25:51 +0100 by jahier · 8e4320dd
      Erwan Jahier authored
      Parent-Version:      perso.6
      Version-Log:
      
      lurette.ml:
              Removing dead code.
      
      Project-Description: Lurette
      8e4320dd
    • Erwan Jahier's avatar
      lurette perso.6 Mon, 19 Nov 2001 16:09:29 +0100 by jahier · 30511592
      Erwan Jahier authored
      Parent-Version:      0.9
      Version-Log:         empty
      Project-Description: Lurette
      30511592
    • Erwan Jahier's avatar
      lurette 0.9 Mon, 19 Nov 2001 16:09:05 +0100 by jahier · 62b3a13b
      Erwan Jahier authored
      Parent-Version:      perso.5
      Version-Log:
      
      Lurette tourne avec edge.lus vrai.lus et random_bool.aut !
      
      Project-Description: Lurette
      62b3a13b
    • Erwan Jahier's avatar
      lurette perso.5 Mon, 05 Nov 2001 15:03:57 +0100 by jahier · 0b182b5e
      Erwan Jahier authored
      Parent-Version:      perso.4
      Version-Log:         empty
      Project-Description: Lurette
      0b182b5e
    • Erwan Jahier's avatar
      lurette perso.4 Wed, 31 Oct 2001 17:54:12 +0100 by jahier · 2c1c9dc6
      Erwan Jahier authored
      Parent-Version:      perso.3
      Version-Log:
      
      Cette fois ci, ca marche vraimet !!
      
      Project-Description: Lurette
      2c1c9dc6
    • Erwan Jahier's avatar
      lurette perso.3 Wed, 31 Oct 2001 16:46:14 +0100 by jahier · 5aa5231d
      Erwan Jahier authored
      Parent-Version:      perso.2
      Version-Log:
      
      camlidl marche!!!
      J'arrive a executer edge.c depuis caml.
      
      Project-Description: Lurette
      5aa5231d
    • Erwan Jahier's avatar
      lurette perso.2 Wed, 31 Oct 2001 15:51:05 +0100 by jahier · eb3e0007
      Erwan Jahier authored
      Parent-Version:      perso.1
      Version-Log:         empty
      Project-Description: Lurette
      eb3e0007