1: |
Function UpdateAncestors(b′) |
|
Inputs: b′: An OR-Node for which we want to update all its ancestors. |
|
Static: bc: The current belief state of the agent. |
|
T: An AND-OR tree representing the current search tree. |
|
L: A lower bound on V *. |
|
U: An upper bound on V *. |
2: |
while b′ ≠ bc do
|
3: |
Set (b, a) so that action a in belief b is parent node of belief node b′ |
4: |
LT (b, a) ← RB(b, a) + γ Σz ∈ Z Pr(z|b, a)LT (τ(b, a, z)) |
5: |
UT (b, a) ← RB(b, a) + γ Σz ∈ Z Pr(z|b, a)UT (τ(b, a, z)) |
6: |
|
7: |
|
8: |
|
9: |
LT (b) ← maxa′ ∈ A LT (b, a′) |
10: |
UT (b) ← maxa′ ∈ A UT (b, a′) |
11: |
|
12: |
|
13: |
|
14: |
b′ ← b
|
15: |
end while |