This traffic simulation was developed by Chandika Mendis
as part of the postmodule assignment in April 1997

Index to files

traffic.d -- Visualisation part for both eden modules
traffic1e.e -- eden code for traffic model 1
traffic1.e  -- combined visual. code for model 1

traffic2e.e -- eden code for traffic model 2
traffic2.e  -- combined visual. code for model 2

------

For some reason, you have to click twice on the Start/Pause
button to start the simulation.

The variables that are of interest in the simulation can be
found at the top of the file 'traffic1e.e'. The starting state
of the lights, the number of cars initially queued at the
lights, the number of cars the pass the lights per clock
tick and the length of time that the lights stay green can all
be altered by redefining these values.
