public class CritiqueResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Action |
a
The action taken in state s
|
protected double |
critique
The critique of this behavior.
|
protected State |
s
The source state
|
protected State |
sprime
The state to which the agent transitioned for when it took action a in state s.
|
Constructor and Description |
---|
CritiqueResult(State s,
Action a,
State sprime,
double critique)
Initializes with a state-action-state behavior tuple and the value of the critique for this behavior.
|
Modifier and Type | Method and Description |
---|---|
Action |
getA()
Returns the action of this behavior.
|
double |
getCritique()
Returns the critique of this behavior.
|
State |
getS()
Returns the source state of this behavior.
|
State |
getSprime()
Returns the resulting state of this behavior.
|
protected State s
protected Action a
protected State sprime
protected double critique
public CritiqueResult(State s, Action a, State sprime, double critique)
s
- a source statea
- the action taken in state ssprime
- the state to which the agent transitioned for when it took action a in state scritique
- the critique of this behavior.public State getS()
public Action getA()
public State getSprime()
public double getCritique()