Skip to content
Snippets Groups Projects
process.mli 367 B
Newer Older
(* Time-stamp: <modified the 10/03/2019 (at 22:47) by Erwan Jahier> *)
erwan's avatar
erwan committed

type t = {
  pid : string; (* unique *)
  variables : Algo.vars;
  init : Algo.neighbor list -> Algo.local_env;
erwan's avatar
erwan committed
  enable : Algo.enable_fun; 
  step : Algo.step_fun  ;
}

(** build a process and set its variable initial values *)
val make: bool -> Topology.node -> t