public interface JointRewardFunction
Modifier and Type | Method and Description |
---|---|
double[] |
reward(State s,
JointAction ja,
State sp)
Returns the reward received by each agent specified in the joint action.
|
double[] reward(State s, JointAction ja, State sp)
s
- that state in which the joint action was taken.ja
- the joint action taken.sp
- the resulting state from taking the joint action