Research Article

B5G Ultrareliable Low Latency Networks for Efficient Secure Autonomous and Smart Internet of Vehicles

Algorithm 1

Optimal CPU scheduling.
Input: { Xm(t)}m, {Ym(t)}m, {}m, {Am}m
Fmax, M
faverage = fmax, ψ = {m = 1, …, M}
While faverage > 0 do
(1)m = arg maxmϵψ {Am(Xm + μmYm + 2)};
(2)
(3)ψ = ψ − {m};
(4)If ψ = null→break;
(5)faverage = faverage − fm;
(6)End