0001 function DO_POMDP=DiscretizeObsModel(CO_POMDP)
0002
0003
0004
0005
0006
0007
0008 S=get(CO_POMDP,'StateSpace');
0009 A=get(CO_POMDP,'ActionSpace');
0010 nSampledObs=get(CO_POMDP,'nSampledObs');
0011 O=DSpace(nSampledObs);
0012
0013 AM=get(CO_POMDP,'ActionModel');
0014
0015 DS_CO_OM=get(CO_POMDP,'ObsModel');
0016 OM=DiscretizeObsModel(DS_CO_OM,nSampledObs);
0017
0018 RM=get(CO_POMDP,'RewardModel');
0019
0020 name=get(CO_POMDP,'name');
0021 gamma=get(CO_POMDP,'gamma');
0022
0023 nSampledActions=get(CO_POMDP,'nSampledActions');
0024
0025 DO_POMDP=DS_DO_CA_POMDP(name,S,A,O,AM,OM,RM,nSampledActions,gamma);
0026