Institut de Robòtica i Informàtica Industrial

GetActionModelFixedA

PURPOSE ^

Returns the action model for a given action.

SYNOPSIS ^

function p=GetActionModelFixedA(AM,a)

DESCRIPTION ^

   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_CA_ActionModel.

CROSS-REFERENCE INFORMATION ^

This function calls:
  • Value Evaluates a GMixture.
  • Value Evaluation of a Gaussian.
This function is called by:

SOURCE CODE ^

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_CA_ActionModel.
0012 
0013   p=cellfun(@(gm)(Value(gm,a)),AM.T);
0014


Institut de Robòtica i Informàtica Industrial

Generated on Wed 05-Aug-2009 15:05:21 by m2html © 2003