UAV-Assisted Data Dissemination in Delay-Constrained VANETs
Algorithm 3
Throughput Maximization Algorithm.
Input: A list V containing all the vehicles and UAVs in the network
Output: The selected path(1)Let denote the neighbor of node v;(2), which denotes the number of executions;(3)for each node do(4) Send a request to its neighbors;(5) Receive the channel information (CI) from its neighbors;(6) Calculate according to CI;(7) Calculate the approximate values of and according to ;(8) Obtain the transmission rate and delay of the link between each neighbor and node , denoted as ;(9)end for(10)repeat(11)Calculate the transmission rate and delay for each node in the network, by adding the neighbor’s corresponding values to , denoted as ;(12)Apply the trim procedure to remove unnecessary values of node ;(13);(14)until (15)return A path containing a set of selected links