![]() |
RandomActionPURPOSE
Draws a random action from a POMDP.
SYNOPSIS
function a=RandomAction(P)
DESCRIPTION
Draws a random action from a POMDP. Selects a random action from the action model associated with the POMPD. CROSS-REFERENCE INFORMATION
This function calls:
SOURCE CODE
0001 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')); |