- setTime(int) - Static method in class Simulation
-
Sets the global time,
Note: This method should ONLY be used by JUnit test programs
- Simulation - Class in <Unnamed>
-
Main class for running a simulation
This class does not need to be changed
- Simulation() - Constructor for class Simulation
-
- step() - Method in class Lane
-
Advances all except the first vehicle one position provided the
target position is free.
- step() - Method in class TrafficSystem
-
Advances the whole traffic system one timestep.
- step() - Method in class VehicleGenerator
-
Generate a vehicle according to the probabilities for this time step