Returns 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_DA_ActionModel.
0001 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_DA_ActionModel.
0012
0013 p=AM.T{a};
0014
0015