getPURPOSEGet function for CS_DO_DA_POMDPs.
SYNOPSISfunction value=get(P,field)
DESCRIPTIONGet function for CS_DO_DA_POMDPs. Get function for POMDP on continuous state spaces but on discrete action and observation spaces. Possible fields to query are - StateSpace - ActionSpace - ObsSpace - ActionModel - ObsModel - RewardModel - Any filed defined in higher levels of the POMDP object hierarchy See also @CS_POMDP/get, @POMDP/get CROSS-REFERENCE INFORMATIONThis function calls:
SOURCE CODE0001 function value=get(P,field) 0002 % Get function for CS_DO_DA_POMDPs. 0003 % 0004 % Get function for POMDP on continuous state spaces but on discrete action 0005 % and observation spaces. 0006 % Possible fields to query are 0007 % - StateSpace 0008 % - ActionSpace 0009 % - ObsSpace 0010 % - ActionModel 0011 % - ObsModel 0012 % - RewardModel 0013 % - Any filed defined in higher levels of the POMDP object hierarchy 0014 % 0015 % See also @CS_POMDP/get, @POMDP/get 0016 switch field 0017 case 'StateSpace' 0018 value=P.S; 0019 case 'ActionSpace' 0020 value=P.A; 0021 case 'ObsSpace' 0022 value=P.O; 0023 case 'ActionModel' 0024 value=P.CS_DA_ActionModel; 0025 case 'ObsModel' 0026 value=P.CS_DO_ObsModel; 0027 case 'RewardModel' 0028 value=P.CS_DA_RewardModel; 0029 otherwise 0030 value=get(P.CS_DO_POMDP,field); 0031 end |