|
Algorithm 1 Find optimal
|
| 1: |
Input:, and , precision
|
| 2: |
Output:
|
| 3: |
Compute , by Equation (15). |
| 4: |
whiledo
|
| 5: |
Set middle point . |
| 6: |
Compute by Equation (15). |
| 7: |
if
then
|
| 8: |
. |
| 9: |
else
|
| 10: |
. |
| 11: |
end if
|
| 12: |
Compute , by Equation (15). |
| 13: |
end while |
| 14: |
. |
| 15: |
END |