DS_POMDPPURPOSEDS_POMDP constructor.
SYNOPSISfunction P=DS_POMDP(varargin)
DESCRIPTIONDS_POMDP constructor. Base object for all POMDP with discrete state spaces. Parameters name: name for the POMDP. gamma: discount factor. See also DS_DO_POMDP, DS_CO_POMDP. CROSS-REFERENCE INFORMATIONThis function calls:
SOURCE CODE0001 function P=DS_POMDP(varargin) 0002 % DS_POMDP constructor. 0003 % 0004 % Base object for all POMDP with discrete state spaces. 0005 % 0006 % Parameters 0007 % name: name for the POMDP. 0008 % gamma: discount factor. 0009 % 0010 % See also DS_DO_POMDP, DS_CO_POMDP. 0011 0012 0013 if (nargin==1) && isa(varargin{1},'DS_POMDP') 0014 P=varargin{1}; 0015 else 0016 POMDP_Base=POMDP(varargin{1:end}); 0017 P=class(struct([]),'DS_POMDP',POMDP_Base); 0018 end 0019 |