Research Article

Emergency Situation Prediction Mechanism: A Novel Approach for Intelligent Transportation System Using Vehicular Ad Hoc Networks

Algorithm 2

(1) Sleep until periodic  _timer expires
  (1) For each in do
    (1) Sense the presence of the Vehicle ().
      (1) If a vehicle is in
        (1) Set as 1
       else
        (1) Set as 0
      (2) Return
    (2) Send to RSU.
  (2) Return