Research Article
A Game-Based Scheme for Resource Purchasing and Pricing in MEC for Internet of Things
Algorithm 2
Game-based server resource pricing algorithm (GSRP).
| Input: n, | | Output: optimal price | (1) | ; | (2) | ; | (3) | = maintenance cost; | (4) | = initial price; | (5) | ; | (6) | while do | (7) | ; | (8) | ; | (9) | ; (update p) | (10) | GURP (); | (11) | ; | (12) | end | (13) | return; |
|