Institut de Robòtica i Informàtica Industrial

get

PURPOSE ^

Get functio for POMDPs.

SYNOPSIS ^

function value=get(P,field)

DESCRIPTION ^

  Get functio for POMDPs.

  Get function for generic POMDP.
  Possible fields to query are
    - gamma (discount factor)
    - name (name given to the POMDP. Used to generate output files).

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:

SOURCE CODE ^

0001 function value=get(P,field)
0002 %  Get functio for POMDPs.
0003 %
0004 %  Get function for generic POMDP.
0005 %  Possible fields to query are
0006 %    - gamma (discount factor)
0007 %    - name (name given to the POMDP. Used to generate output files).
0008 
0009   switch field
0010     case 'gamma'
0011       value=P.gamma;
0012     case 'name'
0013       value=P.name;
0014     otherwise
0015       error('Unknown field in POMDP get');
0016   end


Institut de Robòtica i Informàtica Industrial

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