Wiki

Clone wiki

OscaR / DES

Find all the DES (Discrete Event Simulation) examples here.

Epidemy Simulation

Here is a step by step guide to simulate the Epidemy presented by the team of \"Reactive Programming\" course on coursera.

Step 0: identifying the processes

Upon reading of the problem description, you can identify two different processes by citizen of Scalia:

  1. its moves: where and when does it changes its position ?
  2. its health: how does the disease evolve ?

The link between the two is contamination when a citizen enters a new room.

Step 1: moves of a citizen

The citizen displacement can be modelized by a process with a state using the following abstraction: As written above the state of the displacement is a position (here, we consider moves as immediate).

Updated