Research Article

IJS: An Intelligent Junction Selection Based Routing Protocol for VANET to Support ITS Services

Algorithm 2

Score generation.
(1) for   to   do            is the first junction to receive data from
(2)  if   ! =   then
(3)    receives the data
(4)    becomes
(5)    at predicts the positions of the vehicles using VPM
(6)    finds a        
(7)   Calculate the links between the vehicles
(8)   if link breaks then
(9)    Network Gap exists;
(10)   LCS = 0;
(11)  else
(12)   no Network Gap exists;
(13)   LCS = 1;
(14)  end if
(15)   records the values and values using LCM and EDTDM
(16)   calculates and
(17)   is calculated as: =
(18)  
(19)   with minimum score becomes
(20) Forward the data in the direction of
(21)  else Forward the data to using optimal vehicles
(22)  end if
(23) end for