Modeling a Grid of Traffic Lights -A Case Study Using WinForms, Event Handling and Observer Pattern

By: Richard Wiener

Abstract

The quality of a computer simulation, from a scientific perspective, is based on the degree to which the mathematical models that are used to approximate “reality” capture the essence of that reality. The application program (simulation) must of course faithfully implement the mathematical models that describe the behavior of the system being simulated. For a traffic grid, the aspects of reality that must be modeled are: The arrival pattern of cars into each of the 16 lanes. Here stochastic modeling is appropriate. That is the arrivals of cars is a random phenomena governed by known laws of statistics. The car-following dynamics that determines the speed of a following-car with respect to a leading car directly in front of it. The timing pattern of the 15 traffic signals (the starting time for green, its duration, the duration of amber and the duration of red).

Cite as:

Richard Wiener, “Modeling a Grid of Traffic Lights -A Case Study Using WinForms, Event Handling and Observer Pattern”, Journal of Object Technology, Volume 5, no. 4 (May 2006), pp. 29-58, doi:10.5381/jot.2006.5.4.c4.

PDF | HTML | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn

The JOT Journal   |   ISSN 1660-1769   |   DOI 10.5381/jot   |   AITO   |   Open Access   |    Contact