Research Article
Multiuser Computing Offload Algorithm Based on Mobile Edge Computing in the Internet of Things Environment
Algorithm 1
DQN-based offloading algorithm.
| Begin | (1) | Emptying the storage area of the ERU | (2) | Initialize the weight parameters of the estimated value network , and make the parameters of the target value network | (3) | Initialization status | (4) | For t = 1 : 1 : T | (5) | do | (6) | Under the greedy algorithm, an action is selected based on the state | (7) | Execute the action and observe the system costs and | (8) | Collecting samples and storing them in the ERU | (9) | If the samples are larger than the size of the sample pack then grabbing a sample packet at ERU | (10) | If is the final state then | | Otherwise | (11) | Execute RMSPropOptimizer, optimize | (12) | Every K time slots elapsed, so that | (13) | | (14) | End | | End |
|