Skip to content
Snippets Groups Projects
  1. Nov 04, 2020
  2. Oct 13, 2020
  3. Sep 16, 2020
  4. Sep 02, 2020
  5. Aug 24, 2020
  6. Jul 08, 2020
  7. Jul 07, 2020
  8. Jul 06, 2020
  9. Jul 01, 2020
  10. Jun 23, 2020
  11. Mar 06, 2020
    • erwan's avatar
      Breaking: remove Algo.pid and Algo.spid, and add the pid in the init function · 4280ff14
      erwan authored
      The  rationale is  that the  Algo.spid that  gave processes  access to
      their pid via their neighbors was a bit weird. Also, it makes the anonymity
      of the algorithm more explicit: an access to the pid could appear anywhere
      in the program, while now, the pid must be in state.t!
      
      Now, if the  user needs the pid,  he must store it  explicitly in the
      state via the initialization function.
      4280ff14
  12. Mar 05, 2020
  13. Feb 26, 2020
  14. Feb 19, 2020
  15. Feb 06, 2020
  16. Jan 22, 2020
  17. Oct 23, 2019
  18. Oct 17, 2019
  19. Oct 07, 2019
  20. Sep 30, 2019
  21. Sep 25, 2019
  22. Sep 06, 2019
    • erwan's avatar
      Build: set-up opam files · 3ab0b340
      erwan authored
      To do that, I've reorganized the code
      
      Test: with ocaml 4.08, it is impossible to load the same function twice.
      Hence the need to define p.mli files for graphs with several nodes.
      
      Also, track missing files and the alea-coloring exemples.
      3ab0b340
  23. Jul 03, 2019
  24. Jun 28, 2019
  25. Jun 26, 2019
  26. Jun 21, 2019
  27. Jun 20, 2019
  28. 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
Loading