RandomActionPURPOSEDraws a random action from a POMDP.
SYNOPSISfunction a=RandomAction(P)
DESCRIPTIONDraws a random action from a POMDP. Selects a random action from the action model associated with the POMPD. CROSS-REFERENCE INFORMATIONThis function calls:
SOURCE CODE0001 function a=RandomAction(P) 0002 % Draws a random action from a POMDP. 0003 % 0004 % Selects a random action from the action model associated with the 0005 % POMPD. 0006 % 0007 0008 a=rand(get(P,'ActionSpace')); |