- Jun 21, 2019
-
-
erwan authored
-
- Jun 19, 2019
-
-
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)
-
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
-
- Jun 17, 2019
-
-
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.
-
- Jun 11, 2019
-
-
erwan authored
-
- May 27, 2019
-
-
erwan authored
-
- Mar 26, 2019
-
-
erwan authored
Depending on the kind of network, we should raise an exception. Indeed such information should not be available in anonymous networks. We will add such checks later.
-
- Mar 10, 2019
- Mar 09, 2019
-
-
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.
-
- Mar 08, 2019