Institut de Robòtica i Informàtica Industrial

get

PURPOSE ^

Get function for DS_DO_DA_POMDPs.

SYNOPSIS ^

function value=get(P,field)

DESCRIPTION ^

  Get function for DS_DO_DA_POMDPs.

  Get function for POMDP on discrete state, 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 @DS_POMDP/get, @POMDP/get

CROSS-REFERENCE INFORMATION ^

This function calls:
  • get Get for GBeliefs.
  • get Get function for the GMixture object.
  • get Gaussian object get function.
  • get Get function for CS_CO_CA_POMDPs.
  • get Get function for CS_CO_DA_POMDPs.
  • get Get function for CS_CO_POMDPs.
  • get Get function for CS_DO_CA_POMDPs.
  • get Get function for CS_DO_DA_POMDPs.
  • get Get function for CS_POMDPs.
  • get Get function for DS_CO_CA_POMDPs.
  • get Get function for DS_CO_DA_POMDPs.
  • get Get function for DS_DO_CA_POMDPs.
  • get Get function for DS_DO_DA_POMDPs.
  • get Get functio for POMDPs.
This function is called by:

SOURCE CODE ^

0001 function value=get(P,field)
0002 %  Get function for DS_DO_DA_POMDPs.
0003 %
0004 %  Get function for POMDP on discrete state, action, and observation
0005 %  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 @DS_POMDP/get, @POMDP/get
0016 
0017   switch field
0018     case 'StateSpace'
0019       value=P.S;
0020     case 'ActionSpace'
0021       value=P.A;
0022     case 'ObsSpace'
0023       value=P.O;
0024     case 'ActionModel'
0025       value=P.DS_DA_ActionModel;
0026     case 'ObsModel'
0027       value=P.DS_DO_ObsModel;
0028     case 'RewardModel'
0029       value=P.DS_DA_RewardModel;
0030     otherwise
0031       value=get(P.DS_DO_POMDP,field);
0032   end


Institut de Robòtica i Informàtica Industrial

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