Research Article

Deep Learning-Based Dynamic Stable Cluster Head Selection in VANET

Algorithm 3

RSU deployment in the presence of crossroad.
 Input: Lane coordinates ; angle ; number of the lanes in a map
 Output: Change in angle as per Crossroad
 Place the RSU in each lane.
 For
  If
   Lane is in [+, +]
  Elseif
   Lane is in [+, -]
  Elseif
   Lane is in [-, +]
   Change the
   If
    
   Elseif
    
   Elseif
    
   Endif
   Else
    Lane is [-, -]
  Endif
 End