ComputeAlpha_a
PURPOSE 
Compute the alpha_i_n-element for the given action and belief.
SYNOPSIS 
function Element_a=ComputeAlpha_a(P,V,b,a,Alphas_j_a_o)
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function calls:
This function is called by:
- Backup Backup for a given belief (continuous state version).
- Backup Backupt for a given belief (discrete state version).
SOURCE CODE 
0001 function Element_a=ComputeAlpha_a(P,V,b,a,Alphas_j_a_o)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 P1=DiscretizeObsModel(P,V,b,a);
0020 nj=size(V);
0021 gamma=get(P,'gamma');
0022 Element_a=ComputeAlpha_j_a_o(P1,V,1,a,1);
0023 for j=2:nj
0024 Element_a=Element_a+ComputeAlpha_j_a_o(P1,V,j,a,j);
0025 end
0026 Element_a=GetRewardModelFixedA(P,a)+gamma*Element_a;
0027
0028
|