Tag Archives: simulation

Graph Animation

      Comments Off on Graph Animation

This is another example of using Processing to create animations. The GraphAnimation program demonstrates packet forwarding by flooding. A packet sent by node A is replicated by every node (router) it reaches and sent in all connected links until it reaches the destination node N. Knowing the shortest route, node… Read more »

Vehicles communication and the mysterious traffic jams

      Comments Off on Vehicles communication and the mysterious traffic jams

Have you been stuck in traffic driving a car at the speed of a few meters per hour only to emerge from the traffic jam a while later not certain what caused it in the first place? Traffic experts are likely to attribute the cause to a road construction, a… Read more »

JSim – Queue Simulator

      Comments Off on JSim – Queue Simulator

JSim is a Java-based discrete event simulator of an M/M/s queue system. The source includes a library of classes that can be used to modify the application to simulate other types of queue systems as well. JSim source files can be downloaded fromĀ https://sourceforge.net/projects/jsim/. A brief description of the main classes… Read more »

Processing Game

      Comments Off on Processing Game

Thomas Schelling showed, in 1971, that a small preference for one’s neighbors to be of the same race could lead to total segregation. This model is used as an example to show how such individual behaviour can bring about such undesirable social conventions without the need for evil master plan… Read more »