public class FrostbiteRF extends java.lang.Object implements RewardFunction
| Modifier and Type | Field and Description | 
|---|---|
double | 
activatedPlatformReward  | 
double | 
defaultReward  | 
double | 
goalReward  | 
double | 
lostReward  | 
| Constructor and Description | 
|---|
FrostbiteRF(OODomain domain)  | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
reward(State s,
      Action a,
      State sprime)
Returns the reward received when action a is executed in state s and the agent transitions to state sprime. 
 | 
public double goalReward
public double lostReward
public double activatedPlatformReward
public double defaultReward
public FrostbiteRF(OODomain domain)
public double reward(State s, Action a, State sprime)
RewardFunctionreward in interface RewardFunctions - the state in which the action was executeda - the action executedsprime - the state to which the agent transitioned