Institut de Robòtica i Informàtica Industrial

GetTest1pParameters

PURPOSE ^

The example on Figure 8.

SYNOPSIS ^

function [POMDP P]=GetTest1pParameters(varargin)

DESCRIPTION ^

   The example on Figure 8.

   This is the same example as GetTest1Parameters but using particles to
   represent beliefs instead of Gaussian mixtures.

   See also GetTest1Parameters.

CROSS-REFERENCE INFORMATION ^

This function calls:
  • get Get for GBeliefs.
  • PBelief Particle-based belief constructor.
  • GetTest1Parameters The example on Figure 1.
  • get Get function for the GMixture object.
  • set Set method for Gaussian mixtures.
  • get Gaussian object get function.
  • 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.
  • Discretize Discretizes the state space of the CS_DO_DA_POMDP.
  • 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.
  • POMDP POMDP constructor.
  • get Get functio for POMDPs.
  • set Set function for PODMP (base type)
  • Discretize Converts a continuous space into a discrete one.
This function is called by:

SOURCE CODE ^

0001 function [POMDP P]=GetTest1pParameters(varargin)
0002 %   The example on Figure 8.
0003 %
0004 %   This is the same example as GetTest1Parameters but using particles to
0005 %   represent beliefs instead of Gaussian mixtures.
0006 %
0007 %   See also GetTest1Parameters.
0008 
0009    % Test1 with the default paramters
0010    %   ncBelief = 4 (not used)
0011    %   ncAlpha = 9
0012    %   actionScale = 2
0013    [POMDP P]=GetTest1Parameters();
0014    
0015    set(POMDP,'name','Test1p');
0016    
0017    if nargin==0
0018      npBelief=25;
0019    else
0020      npBelief=varargin{1};
0021    end
0022   
0023    S=get(POMDP,'StateSpace');
0024    [DS samples]=Discretize(S,npBelief);
0025    P.start=PBelief(ones(1,npBelief),samples);
0026


Institut de Robòtica i Informàtica Industrial

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