Module type Protocol.Initializer

Initializer module. In charge of generating the initial events to start the simulation.

type node

The type representing a node.

type ev

The type of the events being produced.

val init : (int, node) Stdlib.Hashtbl.t -> ev list

Returns a list of events that kickstart the simulation.

  • parameter nodes

    an hashtable containing the state of each node