Research Article

A Fuzzy-Rule Based Data Delivery Scheme in VANETs with Intelligent Speed Prediction and Relay Selection

Algorithm 1

(1) initialization: determine the relationship between RSUs and
vehicles periodically
(2)  if  S is covered by a RSU
(3)     deliver packets to in V2R mode
   else
     fuzzy-rule-based wireless transmission method
     vehicle-based short-term vehicle speed prediction
(4)      (1) find potential paths
(5)      (2) evaluate potential paths
(6)      (3) determine wireless transmission path (optimum)
(7)     S sends packets to
(8)     if  RSUs fails to receive packets after threshold time
(9)       select another path (sub-optimum)
(10)        go to step
      else
(11)       end
(12)   sends packets to
(13)  if  D is covered by a RSU
(14)     deliver packets to in V2R mode
   else
     machine learning system
(15)      (1) ML1 predicts D’s turning direction
(16)      (2) ML2 predicts RSUn (highest possibility)
(17)      (3) ML3 predicts travelling path
(18)     two-way mode transfer
      fuzzy-rule-based wireless transmission method
(19)    if  D fails to receive packets after threshold time
(20)        select again (second highest possibility)
(21)        go to step
      else
(22)        end