public static class SarsaLam.EligibilityTrace
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
eligibility
The eligibility value
|
double |
initialQ
The initial numeric Q-value for this trace when it was created.
|
QValue |
q
The current Q-value info for this trace (contains the action reference)
|
StateHashTuple |
sh
The state for this trace
|
Constructor and Description |
---|
SarsaLam.EligibilityTrace(StateHashTuple sh,
QValue q,
double elgigbility)
Creates a new eligibility trace to track for an episode.
|
public double eligibility
public StateHashTuple sh
public QValue q
public double initialQ
public SarsaLam.EligibilityTrace(StateHashTuple sh, QValue q, double elgigbility)
sh
- the state of the traceq
- the q-value (containing the action reference) of the traceelgigbility
- the eligibility value