Research Article

Trajectory Simulation of Emergency Vehicles and Interactions with Surrounding Traffic

Algorithm 2

For actuation of signalized intersections.
(1)Retrieve variables :
(2)Calculate all-red intervals between each phase and the following phase
(3)ifthen
(4)for phases between and
(5)  set ;
(6)  set ;
(7)ifthen
(8) set ;
(9)else
(10) set ;
(11)end