Skip to main content
. 2021 Jul 24;21(15):5028. doi: 10.3390/s21155028
Algorithm 1: Communication FOG and Vehicles

1:  Vehicle_send(Beacon)

2:  FOG_received(Beacon)

3:  myFOG=ComputeTime(Veh_Traj)

4: if (myfoglessthanstreetSegmentTime) then

5:     otherFog=FindNexT(Veh_Traj)

6:     FOG_sendtozotherFog(Beacon)

7: end if

8:  ManagerResource