Research Article
Social-Aware Edge Caching Strategy of Video Resources in 5G Ultra-Dense Network
Algorithm 1
Aggregation Process of users.
| 1: /∗ is user set; is set of user groups; | 2: and are empty sets∗/; | 3: for (; ¡++) | 4: is added into ; | 5: for (; ¡++) | 6: if has same domain with | 7: is added into ; | 8: end if | 9: end for | 10: if | 11: is removed from and is added into ; | 12: else items in are removed from ; | 13: is added into ; | 14: end if | 15: is set to empty set; | 16: end for | 17: all items in are added into ; | 18: if is not | 19: if is | 20: for (; ¡++) | 21: is a group and is added into ; | 22: end for | 23: else for (; ¡++) | 24: computes similarity values between and all centric items in ; | 25: if centric item of subset has the largest similarity with | 26: is added into ; | 27: end if | 28: end for | 29: end if | 30: end if |
|