getPURPOSEGet function for CS_CO_CA_POMDPs.
SYNOPSISfunction value=get(P,field)
DESCRIPTIONGet function for CS_CO_CA_POMDPs. Get function for POMDP on continuous state, continuous discrete action and continuous observation spaces. Possible fields to query are - StateSpace - ActionSpace - ObsSpace - ActionModel - ObsModel - RewardModel - nSampledActions - nSampledObs - 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_CO_CA_POMDPs. 0003 % 0004 % Get function for POMDP on continuous state, continuous discrete 0005 % action and continuous observation spaces. 0006 % Possible fields to query are 0007 % - StateSpace 0008 % - ActionSpace 0009 % - ObsSpace 0010 % - ActionModel 0011 % - ObsModel 0012 % - RewardModel 0013 % - nSampledActions 0014 % - nSampledObs 0015 % - Any filed defined in higher levels of the POMDP object hierarchy 0016 % 0017 % See also @CS_POMDP/get, @POMDP/get 0018 switch field 0019 case 'StateSpace' 0020 value=P.S; 0021 case 'ActionSpace' 0022 value=P.A; 0023 case 'ObsSpace' 0024 value=P.O; 0025 case 'ActionModel' 0026 value=P.CS_CA_ActionModel; 0027 case 'ObsModel' 0028 value=P.CS_CO_ObsModel; 0029 case 'RewardModel' 0030 value=P.CS_CA_RewardModel; 0031 case 'nSampledActions' 0032 value=P.nSampledActions; 0033 otherwise 0034 value=get(P.CS_CO_POMDP,field); 0035 end |