Research Article
Optimize the Communication Cost of 5G Internet of Vehicles through Coherent Beamforming Technology
Algorithm 1
Algorithm for Iterative Coherent Beamforming Node Design.
Require: initializing , ; initial the CB-nodes ; | 1: Initial ; | 2: Initial ; | 3: Repeat | 4: Repeat | 5: Calculate the number of cross-bit CB-nodes ; | 6: Calculate the distance between the vehicle and the edge server at time : ; | 7: Calculate the number of CB-nodes in the each region: ; | 8: Determine the relation betweenand the value betweenand, then calculate that the same CB-node exists in several different sets of CB-nodes; | 9: Calculate the value of , subtract from the number of CB-nodes in this segment: ; ; | 10: ; | 11: Until the vehicle ran the last part of the road, ; | 12: ; | 13: Get one kind of task assignment scheme | 14: Until; | 15: Select the best assignment scheme to be the assignment scheme for this time slice. |
|