GetActionModelFixedAPURPOSEReturns the action model for a given action.
SYNOPSISfunction p=GetActionModelFixedA(AM,a)
DESCRIPTIONReturns the action model for a given action. Returns the action model when the action is is fixed to 'a'. The output is a table p(stateTo,stateFrom). Note the difference with respect to action models on continuous state spaces. Here the output is a probability on the state space and not a distribution on the displacement produced by 'a'. See also DS_CA_ActionModel. CROSS-REFERENCE INFORMATIONThis function calls: This function is called by:
SOURCE CODE0001 function p=GetActionModelFixedA(AM,a) 0002 % Returns the action model for a given action. 0003 % 0004 % Returns the action model when the action is is fixed to 'a'. 0005 % The output is a table p(stateTo,stateFrom). 0006 % 0007 % Note the difference with respect to action models on continuous state 0008 % spaces. Here the output is a probability on the state space and not a 0009 % distribution on the displacement produced by 'a'. 0010 % 0011 % See also DS_CA_ActionModel. 0012 0013 p=cellfun(@(gm)(Value(gm,a)),AM.T); 0014 |