| Class | Description |
|---|---|
| Lane |
Represents a lane as an array of Vehicles.
|
| Light |
Represents a traffic light.
|
| Simulation |
Main class for running a simulation
This class does not need to be changed
|
| TrafficSystem |
Defines the components and behaviour of s specific traffic system
|
| Vehicle |
Represents a vehicle with its born time (the time when it enters the system)
and its destination.
|
| VehicleGenerator |
Generates vehicles with varying probability.
|