|
Algorithm 2 Task allocation scheme |
| 1: |
Input:, precision , and
|
| 2: |
Output:
|
| 3: |
fordo
|
| 4: |
Compute , by Equation (18). |
| 5: |
while
do
|
| 6: |
Set middle point . |
| 7: |
Compute by Equation (18). |
| 8: |
if
then
|
| 9: |
. |
| 10: |
else
|
| 11: |
. |
| 12: |
end if
|
| 13: |
Compute , by Equation (18). |
| 14: |
end while
|
| 15: |
. |
| 16: |
Compute by C4 in Equation (11). |
| 17: |
end for |
| 18: |
END |