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)
|
HashableState |
sh
The state for this trace
|
Constructor and Description |
---|
EligibilityTrace(HashableState sh,
QValue q,
double elgigbility)
Creates a new eligibility trace to track for an episode.
|
public double eligibility
public HashableState sh
public QValue q
public double initialQ
public EligibilityTrace(HashableState sh, QValue q, double elgigbility)
sh
- the state of the traceq
- the q-value (containing the action reference) of the traceelgigbility
- the eligibility value