GetTest1pParametersPURPOSEThe example on Figure 8.
SYNOPSISfunction [POMDP P]=GetTest1pParameters(varargin)
DESCRIPTIONThe 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 INFORMATIONThis function calls:
SOURCE CODE0001 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 |