Events.MakeEventFunctor to create an implementation for Event, given a Message module.
type msg = Msg.tThe type of the messages.
type t = | Message of int * int * Clock.t * Clock.t * msg | (* Message receival event: sender, receipient, send_timestamp, receive_timestamp, msg *) |
| MintBlock of int * Clock.t | |
| Timeout of int * Clock.t * timeout_label |
The type of the events processed during the simulation.
val target : t -> int optionReturn the node that should process an event.
val create_timeout : int -> Clock.t -> timeout_label -> tCreate a timeout event.