getPURPOSEGet functio for POMDPs.
SYNOPSISfunction value=get(P,field)
DESCRIPTIONGet 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 INFORMATIONThis function calls:
SOURCE CODE0001 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 |