Skip to content
Snippets Groups Projects
  1. Jul 18, 2022
  2. Jun 23, 2022
  3. 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
  4. Feb 19, 2020
    • erwan's avatar
      Breaking: actions should now be the same for all algorithms. · 9326d028
      erwan authored
      To force that, I've changed the Register interface (and thus GenRegister)
      
      The rationale is that:
      - in lurette mode, they should be the same for all algos already
      - in batch mode, action declarations are ignored anyway (except in custom mode)
      3.0.0
      9326d028
  5. Sep 25, 2019
  6. Sep 18, 2019
  7. Jul 08, 2019
  8. Jul 03, 2019
  9. Jun 21, 2019
  10. Jun 19, 2019
  11. Jun 17, 2019
  12. Jun 11, 2019
    • erwan's avatar
      Update: make Algo.local_env abstract · fd6d4d2d
      erwan authored
      fd6d4d2d
    • erwan's avatar
      Fix: perform variable initiliasation once · 9cb32320
      erwan authored
      Indeed, by using the Env.nset and Env.nget defined in
      0d6575a7 a pb that was hided by the
      use of Env.set and Env.get was triggered.
      
      The bug was that variables initialisations were done several times.
      
      In sasa.ml, the way I was updating the Env.t by iterating on the
      variables was forcing to "close" expressions that were calling init
      functions.
      9cb32320
  13. May 27, 2019
  14. Mar 22, 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 07, 2019
Loading