Research Article

Impact of Buses, Taxis, Passenger Cars, and Traffic Infrastructure on Average Travel Speed

Algorithm 2

Driving.
if
else
{
if
if
if
if
}
Notation:
acceleration or deceleration of the current vehicle.
, headway tendency.
braking distance of the current vehicle.
braking distance of the vehicle in front.
extra distance.
headway, the time needed by the current vehicle to reach the vehicle in front.
, car’s length.
, reaction time to brake.
safe distance between the current vehicle and the vehicle in front.