Research Article
Blockchain-Enabled Task Offloading and Resource Allocation in Fog Computing Networks
Algorithm 2
Computation resource allocation algorithm.
(0) Initialize , , , number of iterations , and maximum tolerance threshold | (1) Update | (2) While do | (3) Obtain and according to the algorithm DRPA | (4) Obtain and according to the algorithm COTRA | (5) Obtain and according to (34) and (38) | (6) End while |
|