Research Article

Joint Optimization of Offloading and Resource Allocation for SDN-Enabled IoV

Algorithm 2

Routing confirmation (RC).
Input:
 Offloading decison:
Output:
 Routing information:
1: Initialize the location of the vehicles.
2: For each do
3: Obtain the access RSU of vehicle , set .
4: Fordo
5:  If and then
6:   .
7:  End if
8: End for
9: End for
10: Return