1 | Start ← 1 |
---|---|
2 | while Start ≤ Total Number Of Probes do |
3 | P 1 ← P(S Start = 1); |
4 | if P 1 ≥ p a then |
5 | End ← Start + 1; |
6 | while End ≤ Total Number Of Probes do |
7 | P 2 ← P(S Start ,..., S End = 1); |
8 | If P 2 <p a then |
9 | break out of the while loop; |
10 | else |
11 | P 1 ← P 2; |
12 | End ← End + 1; |
13 | end |
14 | end |
15 | UpdateRegionA(Start, End - 1, P 1); |
16 | Start ← End; |
17 | else |
18 | Start ← Start + 1; |
19 | end |
20 | end |