public class NullJointRewardFunction extends java.lang.Object implements JointRewardFunction
| Constructor and Description |
|---|
NullJointRewardFunction() |
| 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.
|
public double[] reward(State s, JointAction ja, State sp)
JointRewardFunctionreward in interface JointRewardFunctions - that state in which the joint action was taken.ja - the joint action taken.sp - the resulting state from taking the joint action