Research Article
A Game-Theoretic Scheme for Parked Vehicle-Assisted MEC Computation Offloading
Algorithm 1
Game-based PV-assisted task offloading algorithm (GPTOA).
(1) | initialize: MDs’ strategy set ; | (2) | repeat | (3) | for each MD and each iteration , calculate the overhead according to (16); | (4) | MD makes the best response as the selected strategy; | (5) | ifthen | (6) | send update request to the MEC server; | (7) | if received from MEC server then | (8) | set decision selection ; | (9) | else | (10) | keep the decision selection unchanged, i.e., ; | (11) | end if | (12) | else | (13) | keep the decision selection unchanged, i.e., ; | (14) | end if | (15) | until received END message |
|