An Intelligent Offloading System Based on Multiagent Reinforcement Learning
Algorithm 1
Loser Kuhn–Munkres Algorithm.
Input: calculate all vehicle-RSU pair matches using KM algorithm and the weight of vehicles pairing with RSUs’ weight; record the vehicle nodes that are not matched as the loser set.
Output: updated pairs match
(1)
Collect matched orders
(2)
Initialize a directory challenge, arrays attacker, and challenger
(3)
Travel across all the weights between Loser i and RSU j:
(4)
If weight [Loser [i]] [j] > weight [match [j]] [j], then