Defines the reward function for a given action.
Particularizes a reward function defined on continuous state and discrete
action spaces for a particular action 'a'.
The particularization is obtained directly from the set of Gaussian
mixtures given in the model definition. The result is a Gaussian
mixture in 's'.
See also CS_DA_RewardModel.
ComputeAlpha_a Compute the alpha_i_n-element for the given action and belief.
ComputeAlpha_a Compute the alpha_i_n-element for the given action and belief.
ComputeAlpha_a Compute the alpha_i_n-element for the given action and belief.
SOURCE CODE
0001 function ra=GetRewardModelFixedA(RM,a)
0002 % Defines the reward function for a given action.
0003 %
0004 % Particularizes a reward function defined on continuous state and discrete
0005 % action spaces for a particular action 'a'.
0006 %
0007 % The particularization is obtained directly from the set of Gaussian
0008 % mixtures given in the model definition. The result is a Gaussian
0009 % mixture in 's'.
0010 %
0011 % See also CS_DA_RewardModel.
0012
0013 ra=RM.r{a};
0014