public interface RewardFunction
|Modifier and Type||Method and Description|
Returns the reward received when action a is executed in state s and the agent transitions to state sprime.
double reward(State s, Action a, State sprime)
s- the state in which the action was executed
a- the action executed
sprime- the state to which the agent transitioned