Institut de Robòtica i Informàtica Industrial

Prediction

PURPOSE ^

Belief evolution under the given action.

SYNOPSIS ^

function [sOut bOut]=Prediction(AM,s,b,a,Sp)

DESCRIPTION ^

   Belief evolution under the given action. 
 
   Updates a belief applying action 'a'.
   Parameters:
     AM: The action model to use.
     s: The hidden state. We also update it to use it in simulations.
        Note, however, that this state is never accesible by the planner
        (only the beliefs are).
     b: The belief to update.
     a: The action to apply
     Sp: Space where the belief is defined (used to bound the belief and
         the hidden state if necessary).
   Outputs:
     sOut: The updated hidden state.
     bOut: The updated belief.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [sOut bOut]=Prediction(AM,s,b,a,Sp)
0002 %   Belief evolution under the given action.
0003 %
0004 %   Updates a belief applying action 'a'.
0005 %   Parameters:
0006 %     AM: The action model to use.
0007 %     s: The hidden state. We also update it to use it in simulations.
0008 %        Note, however, that this state is never accesible by the planner
0009 %        (only the beliefs are).
0010 %     b: The belief to update.
0011 %     a: The action to apply
0012 %     Sp: Space where the belief is defined (used to bound the belief and
0013 %         the hidden state if necessary).
0014 %   Outputs:
0015 %     sOut: The updated hidden state.
0016 %     bOut: The updated belief.
0017 
0018   [bOut t]=BeliefPrediction(AM,b,a,Sp);
0019  
0020   sOut=RandVector(t(:,s));
0021


Institut de Robòtica i Informàtica Industrial

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