Abstract.9-NetworkStats module to keep track of the number of messages exchanged during the simulation
Stats module to keep track of the total megabytes exchanged during the simulation
val send : int -> int -> msg -> unitPrimitive for point-to-point message exchange.
val send_to_neighbors : int -> msg -> unitPrimitive to send a message to all neighbors of a given node
val gossip : int -> msg -> unitPrimitive to abstract the gossip protocol. Gossips a message to every node in the network. Used for slightly more relaxed scenarios, since it assumes that limited-bandwidth=false.
val get_neighbours : int -> Abstractions.Network.linksPrimitive to obtain the neighbors of a given node.
val get_links : unit -> Abstractions.Network.network_linksPrimitive to get the links assigned to each node in the network.
val get_regions : unit -> Abstractions.Network.regionsPrimitive to get the region assigned to each node in the network.