Research Article
Cost-Effective Optimization for Blockchain-Enabled NOMA-Based MEC Networks
Algorithm 2
Admission control and user clustering.
| (1) | Initialization: | | (2) | Set , , | | (3) | | | (4) | | | (5) | fordo | | (6) | fordo | | (7) | | | (8) | | | (9) | end for | | (10) | end for | | (11) | whiledo | | (12) | | | (13) | ifthen | | (14) | , , | | (15) | Remove from | | (16) | Set | | (17) | | | (18) | else | | (19) | Remove from | | (20) | Set | | (21) | end if | | (22) | end while | | (23) | Output: user admission control and clustering ; the rest users in which will offload their tasks to the cloud center. |
|