Research Article
An Access Selection Algorithm for Heterogeneous Wireless Networks Based on Optimal Resource Allocation
Algorithm 1
Optimal resource allocation access selection algorithm.
| 1 Initialization , , , , , | | 2 for do | | 3 for do | | 4 | | 5 while do | | 6 | | 7 storage and | | 8 | | 9 end while | | 10 | | 11 end for | | 12 | | 13 output | | 14 For do | | 15 read out | | 16 According to Formula (1), calculate and output | | 17 if then | | 18 user access the network | | 19 else | | 20 user does not access the network | | 21 end if | | 22 | | 23 end for | | 24 end for |
|