simlights
which does the simulation.
Traffic.java:
This is a Java application program for the traffic light simulation.
You can start with the version in
http://www.cs.colorado.edu/~main/applications/Traffic.java
and add your name and other information at the top.
You'll have to read and understand all of this program, and you'll
implement the specified simlights
method.
The algorithm for the traffic method will be discussed in class.
You'll also discuss
what kind of results to expect from the simulation.
Most of the information that you need for this assignment is in the Traffic.java file. Some further discussion will be done in class.