Skip to main content
. 2022 Nov 25;22(23):9157. doi: 10.3390/s22239157
Algorithm 2: Data Dissemination Approach
Input:Table 1, Algorithm 1, VZoR, Geocast Network.
Output: Target ZoR, Messages Dissimination, Network Development
Steps
 1. Zi ← Algorithm 1
 2. for Ki ← 1 to Kn do
 3.   if (DetectEventVZoRGeocast)
 4.    Revent VZoR MZoR
 5.    Disseminate AEM to VZoR
 6.    else
 7.   Select(ZiZ1, Z2, , Zn)   Algorithm 1
     end if
 8.   sendReventVANEToverhead, VANETlatency
 9.   for Ni ← 1 to Nn do
 10.     if(RSUZone)
 11.      DiscardRSUZoneMessage==PreStored
 12.     else
 13.         CheckRSUZoneMessage    ZiZ1, Z2, , Zn
 14.     DissiminateMessageZoneV    ZoR
 15.   End for
 16.  return MessagesDissimination (ZiZ1, Z2, , Zn) 
 17. End for