- setBrakeProb(float)
- Method in class de.hems.trafficsim.Track
-
Update the brake probability of all vehicles.
- setBrakeProb(float)
- Method in class de.hems.trafficsim.Vehicle
-
Setter for brakeProb
- setFrameskip(int)
- Method in class de.hems.trafficsim.Worker
-
Updates the amount of simulation steps between to view frames.
- setMaxVelocity(float)
- Method in class de.hems.trafficsim.Track
-
Update the maximum velocity of all vehicles.
- setMaxVelocity(float)
- Method in class de.hems.trafficsim.Vehicle
-
Setter for maxVelocity
- setSize(int, int)
- Method in class de.hems.trafficsim.Renderer
-
Updates the dimension information of the renderer.
- setStop(boolean)
- Method in class de.hems.trafficsim.Worker
-
Sets a flag that causes the worker to stop.
- setTrack(Track)
- Method in class de.hems.trafficsim.Renderer
-
Updates the track of the Surface.
- setWaitTime(int)
- Method in class de.hems.trafficsim.Track
-
Update the wait time of the simulation.
- steps
- Variable in class de.hems.trafficsim.Track
-
counter for executed simulation steps
- stop - Variable in class
de.hems.trafficsim.Worker
-
Stop flag, indicating that the worker shall stop
- stopWorker()
- Method in class de.hems.trafficsim.MainActivity
-
Stops the current worker thread.
- sumAvgMemory
- Variable in class de.hems.trafficsim.Track
-
sum of all vehicle speeds during the simulation, used for average
calculation
- sumDelAvgMemory
- Variable in class de.hems.trafficsim.Track
-
sum of all vehicle speeds during the simulation ignoring the first
ten steps,
used for average calculation