|
Algorithm 1 Proposed dynamic resource allocation and ACB scheme in a slot |
| 1: : number of DS devices attempt to access |
| 2: : ACB factor |
| 3: : optimal number of preambles allocated to DS devices |
| 4: : optimal value of ACB factor for DS devices |
| 5: : number of available preambles |
| 6: if
then
|
| 7: Set ; |
| 8: Compute through Equation (9); |
| 9: if
then
|
| 10: ; |
| 11: else
|
| 12: Compute through Equation (10); |
| 13: end if
|
| 14: else if
then
|
| 15: Set
|
| 16: Compute through Equation (12); |
| 17: if
then
|
| 18: ; |
| 19: else
|
| 20: Compute through Equation (13); |
| 21: end if
|
| 22: end if
|