|
Algorithm 1 Pseudo-code of the proposed algorithm |
| c = 0; |
| for k = 1; k < I; k++ |
| while () |
| Perform data transmission and record
|
| end
|
| if (k == 1) |
|
|
| RateUpdate() |
| else if () |
| // Do not change the transmission rate |
| else if
|
|
|
| Obtain new nodes’ traffic: |
|
|
| RateUpdate() |
| else if
|
|
|
| Obtain the current traffic: |
|
|
| RateUpdate() |
| end
|
| c = 0 |
| end |
|
function
RateUpdate(Traffic) |
|
|
| (using Equation (11)) |
|
|
| end |