Institut de Robòtica i Informàtica Industrial

CS_POMDP

PURPOSE ^

CS_POMDP constructor.

SYNOPSIS ^

function P=CS_POMDP(varargin)

DESCRIPTION ^

   CS_POMDP constructor.

   Base object for all POMDP with continuous state spaces.

   Parameters
     name: name for the POMDP.
     gamma: discount factor.
     maxAlphaC: Maximum number of components in the Alpha mixtures.

   See also CS_DO_POMDP, CS_CO_POMDP.

CROSS-REFERENCE INFORMATION ^

This function calls:
  • POMDP POMDP constructor.
This function is called by:

SOURCE CODE ^

0001 function P=CS_POMDP(varargin)
0002 %   CS_POMDP constructor.
0003 %
0004 %   Base object for all POMDP with continuous state spaces.
0005 %
0006 %   Parameters
0007 %     name: name for the POMDP.
0008 %     gamma: discount factor.
0009 %     maxAlphaC: Maximum number of components in the Alpha mixtures.
0010 %
0011 %   See also CS_DO_POMDP, CS_CO_POMDP.
0012 
0013   switch nargin
0014     case 1
0015       if isa(varargin{1},'CS_POMDP')
0016         P=varargin{1};
0017       else
0018         error('Wrong type of parameters in CS_POMDP constructor');
0019       end
0020       
0021     case 3 
0022       if isa(varargin{3},'double')
0023         P.maxAlphaC=varargin{3};
0024       else
0025         error('Wrong type of parameters in CS_POMDP constructor');
0026       end
0027       POMDP_Base=POMDP(varargin{1:2});
0028       P=class(P,'CS_POMDP',POMDP_Base);
0029       
0030     otherwise
0031       error('Wrong number of parameters in CS_POMDP constructor');
0032   end
0033


Institut de Robòtica i Informàtica Industrial

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