Institut de Robòtica i Informàtica Industrial

Reward

PURPOSE ^

Evaluates the reward function.

SYNOPSIS ^

function r=Reward(RM,a,s)

DESCRIPTION ^

   Evaluates the reward function.
  
   Returns the value of the reward function for a given state 's' and
   action 'a'.

CROSS-REFERENCE INFORMATION ^

This function calls:
  • Value Evaluates a GMixture.
  • Value Evaluation of a Gaussian.
This function is called by:

SOURCE CODE ^

0001 function r=Reward(RM,a,s)
0002 %   Evaluates the reward function.
0003 %
0004 %   Returns the value of the reward function for a given state 's' and
0005 %   action 'a'.
0006 
0007   r=Value(RM.r{a},s);
0008


Institut de Robòtica i Informàtica Industrial

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