|
|
Algorithm 1 The proposed algorithm (see Table 1 for symbols meaning). Details on weighted comparisons are given in Equations (10)–(13). |
|
|
Input:
ωn−1, pn−1, history
|
|
Output:
pn
|
| 1: |
COP ← ComputeCOP (pn−1, ωn−1) |
| 2: |
|
| 3: |
p̂n ← Linear Prediction(history) |
| 4: |
|
| 5: |
if
PIV F > confidence level then
|
| 6: |
|
| 7: |
else |
| 8: |
δ ← 0.95 |
| 9: |
repeat
|
| 10: |
for all
p : Cn(p) ≥ δ × max{COP} do
|
| 11: |
if
maxscore < ψ(p) then
|
| 12: |
maxscore ← ψ(p) |
| 13: |
end if
|
| 14: |
if
maxTM < Tn(p) then
|
| 15: |
maxTM ← Tn(p) |
| 16: |
|
| 17: |
end if
|
| 18: |
if
maxP < P (p) ∨ maxPScore < ψ(p) then
|
| 19: |
maxP ← P (p) |
| 20: |
|
| 21: |
end if
|
| 22: |
end for
|
| 23: |
if
WeightedComparison_P_TM
then
|
| 24: |
|
| 25: |
else
|
| 26: |
if
W eightedComparison_IV F _T M
then
|
| 27: |
|
| 28: |
else
|
| 29: |
|
| 30: |
end if
|
| 31: |
end if
|
| 32: |
δ ← δ − 0.2 |
| 33: |
until
maxscore ≥ ∊ ∨ δ ≤ 0 |
| 34: |
end if |
|