Module Sasacore.Process

type 'v t = {
pid : string;
actions : Register.action list;
init : 'v;
enable : 'v Register.enable_fun;
step : 'v Register.step_fun;
}

There is such a Process.t per node in the dot file.

val make : bool -> Topology.node -> 'v -> 'v t

make custom_mode_flag node init_state builds a process out of a node. To do that, it retrieves the registered functions by Dynamic linking of the cmxs file specified in the "algo" field of the dot node.

The custom_mode_flag is set in the sasa command line.

nb: the provided initial values comes from the dot file if the init field; otherwise it comes from in the Algo.init_state function