Institut de Robòtica i Informàtica Industrial

Prediction

PURPOSE ^

Belief evolution given a transition model.

SYNOPSIS ^

function bOut=Prediction(b,t,Sp)

DESCRIPTION ^

   Belief evolution given a transition model.
  
   Updates a particle-based belief with a given transiton probability function, 't'.
   Function 't' is the outcome of GetActionModelFixedA for the corresponding
   action model.

   Note that the prediction and update steps using particles are tied
   together (see Section 5.3.2 of the paper). However, for compatibility
   with the rest of belief representations it is nice to have separate 
   Prediction and Update functions.
   Here we store a backup of the particles (to use them in the Update) and
   we randomly modify them using the action model.

CROSS-REFERENCE INFORMATION ^

This function calls:
  • rand Random state from a discrete belief.
  • get Get for GBeliefs.
  • rand Random state from a belief.
  • get Get function for the GMixture object.
  • rand Generates random points on a GMixture.
  • get Gaussian object get function.
  • rand Generates random ponts on a Gaussian.
  • get Get function for CS_CO_CA_POMDPs.
  • get Get function for CS_CO_DA_POMDPs.
  • get Get function for CS_CO_POMDPs.
  • get Get function for CS_DO_CA_POMDPs.
  • get Get function for CS_DO_DA_POMDPs.
  • get Get function for CS_POMDPs.
  • get Get function for DS_CO_CA_POMDPs.
  • get Get function for DS_CO_DA_POMDPs.
  • get Get function for DS_DO_CA_POMDPs.
  • get Get function for DS_DO_DA_POMDPs.
  • get Get functio for POMDPs.
  • rand Random state from a continuous space.
  • rand Random state from a discrete space.
This function is called by:

SOURCE CODE ^

0001 function bOut=Prediction(b,t,Sp)
0002 %   Belief evolution given a transition model.
0003 %
0004 %   Updates a particle-based belief with a given transiton probability function, 't'.
0005 %   Function 't' is the outcome of GetActionModelFixedA for the corresponding
0006 %   action model.
0007 %
0008 %   Note that the prediction and update steps using particles are tied
0009 %   together (see Section 5.3.2 of the paper). However, for compatibility
0010 %   with the rest of belief representations it is nice to have separate
0011 %   Prediction and Update functions.
0012 %   Here we store a backup of the particles (to use them in the Update) and
0013 %   we randomly modify them using the action model.
0014 
0015   bOut=b;
0016   
0017   bOut.noiselessMovedSamples=bOut.samples+repmat(get(t,'mean'),1,bOut.np);
0018   bOut.noise=get(t,'covariance');
0019   for i=1:b.np
0020     bOut.samples(:,i)=rand(t+bOut.samples(:,i));
0021   end
0022   
0023   
0024


Institut de Robòtica i Informàtica Industrial

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