Skip to content
Snippets Groups Projects
  1. Jun 19, 2019
    • erwan's avatar
      New: provide a mean to set name of algo local vars (in RIF) · bf49f806
      erwan authored
      Basically, the idea is to parse the result of the registred ('s ->
      string) function.
      
      For instance if  the user define 'v and 'v printer as follows:
      
       type state = { a : int ; b : float }
       let state_to_string s = Printf.sprintf "x=%d y=%f" s.v1 s.v2
      
      pid_x and pid_y will be used as output var names in the RIF outputs.
      
      If the user provide no name:
       let state_to_string s = Printf.sprintf "%d %f" s.v1 s.v2
      
      some names will be invented (pid_v0 and pid_v1)
      bf49f806
    • erwan's avatar
      Update: clean-up the algo.mli file · c9014305
      erwan authored
      All the get_* functions (that are of no interest for users) are now in
      the Register module.
      c9014305
    • erwan's avatar
      Update: simplify the Algo API again by removing the local_env · 5afa94d3
      erwan authored
      Things that are currently broken:
      - the ability to init vars in the dot
      - controling the name of local vars in the rif output
      5afa94d3
  2. Jun 17, 2019
  3. Jun 11, 2019
  4. May 27, 2019
  5. May 17, 2019
  6. May 15, 2019
  7. May 14, 2019
  8. Apr 30, 2019
  9. Mar 26, 2019
  10. Mar 22, 2019
  11. Mar 18, 2019
    • erwan's avatar
      Update: a little bit more work on the rdbg plugin · 8ccdf9a9
      erwan authored
      Actually, I've just realized that the I/O mode of rdbg already makes
      it possible to use sasa from rdbg (exit event only). This plugin would
      only be necessary when we would need a finer grained intrumentation, e.g.,
      to stop at enable step, or to at each process call/exit.
      1.0.4
      8ccdf9a9
  12. Mar 14, 2019
  13. Mar 13, 2019
  14. Mar 11, 2019
  15. Mar 10, 2019
  16. Mar 09, 2019
    • erwan's avatar
      Add a neighbor type in algo local vars. · f43f69b9
      erwan authored
      Also add the list of neighbors to the init function. The rationale is that
      to give a sensible initial value to local vars of type 'Neighbor', we need
      the neighbors number.
      
      I could have chosen to pass an integer only. Well, who can the plus
      can the minus.
      f43f69b9
  17. Mar 08, 2019
Loading