- 27 Jul, 2021 1 commit
-
-
erwan authored
-
- 26 May, 2021 1 commit
-
-
- 21 Apr, 2021 1 commit
-
- 09 Apr, 2021 1 commit
-
-
erwan authored
- add sub_tree_size, parent, is_in_tree, is_out_tree - fix height (was only working for out-trees) - a predessors to Topology.t - refactor a lot of strange things in the code - in the use of hashtbl in particular
-
- 08 Apr, 2021 1 commit
-
-
erwan authored
-
- 13 Oct, 2020 1 commit
-
-
erwan authored
and attach the pid to the list of neighbors of returned by the get function. Indeed, this is needed in some anomymous (or semi-anonymous) algorithms, such as the k-clustering.
-
- 02 Sep, 2020 1 commit
-
-
erwan authored
-
- 24 Aug, 2020 1 commit
-
-
erwan authored
-
- 08 Jul, 2020 1 commit
-
-
erwan authored
It now takes as first argument the whole list of processes (not only the enabled ones). In Algo.pf_info, the action field is now an option type (if is correspond to a process that has not been activated).
-
- 07 Jul, 2020 1 commit
-
-
erwan authored
Update: add the previous state in argument of the fault function.
-
- 06 Jul, 2020 2 commits
- 01 Jul, 2020 1 commit
-
-
erwan authored
nb: I needed to split Main to avoid a Module self-loop (as I need to use do_step in Daemon).
-
- 06 Mar, 2020 1 commit
-
-
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.
-
- 05 Mar, 2020 1 commit
-
-
erwan authored
-
- 19 Feb, 2020 1 commit
-
-
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)
-
- 06 Feb, 2020 1 commit
-
-
erwan authored
-
- 17 Oct, 2019 1 commit
-
-
erwan authored
-
- 07 Oct, 2019 1 commit
-
-
erwan authored
as it is where they belong.
-
- 25 Sep, 2019 1 commit
-
-
erwan authored
-
- 05 Jul, 2019 1 commit
-
-
erwan authored
-
- 03 Jul, 2019 3 commits
-
-
Gwennan Eliezer authored
-
erwan authored
-
erwan authored
Add use it to add an oracle to the BFS
-
- 28 Jun, 2019 2 commits
-
-
Gwennan Eliezer authored
-
Gwennan Eliezer authored
Took into account Erwan's comments and changed Register module such that the properties are computed on first call (except height that is computed on each call because it depends on the chosen tree's root)
-
- 26 Jun, 2019 1 commit
-
-
Gwennan Eliezer authored
-
- 21 Jun, 2019 4 commits
- 19 Jun, 2019 2 commits
- 17 Jun, 2019 1 commit
-
-
erwan authored
The idea is to use the Obj module (arg !!!), which is safe thanks to the fact that there is now only one register function, which forces all the 'v to be bound to the same type.
-
- 12 Jun, 2019 1 commit
-
-
erwan authored
But I bumped into the "value restriction" limitation https://stackoverflow.com/questions/22507448/the-value-restriction Indeed, I need to store functions of 'v in some tables (or references), And tables are necessaryly weakly polymorphic ! https://v1.realworldocaml.org/v1/en/html/imperative-programming-1.html#side-effects-and-weak-polymorphism
-
- 11 Jun, 2019 2 commits
-
-
erwan authored
-
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.
-
- 06 Jun, 2019 1 commit
-
-
erwan authored
-
- 27 May, 2019 1 commit
-
-
erwan authored
-
- 09 May, 2019 1 commit
-
-
erwan authored
-