GetRewardModelFixedAPURPOSEDefines the reward function for a given action.
SYNOPSISfunction ra=GetRewardModelFixedA(RM,a)
DESCRIPTIONDefines the reward function for a given action. Particularizes a reward function defined on discrete state and action spaces for a particular action 'a'. The particularization is directly obtained from the vectors given in the object definition. The output is a column vector with the size of the state space. See also DS_DA_RewardModel. CROSS-REFERENCE INFORMATIONThis function calls:
SOURCE CODE0001 function ra=GetRewardModelFixedA(RM,a) 0002 % Defines the reward function for a given action. 0003 % 0004 % Particularizes a reward function defined on discrete state and 0005 % action spaces for a particular action 'a'. 0006 % 0007 % The particularization is directly obtained from the vectors given in 0008 % the object definition. The output is a column vector with the size of 0009 % the state space. 0010 % 0011 % See also DS_DA_RewardModel. 0012 0013 ra=RM.r{a}; 0014 |