public interface LearningRate
| Modifier and Type | Method and Description |
|---|---|
double |
peekAtLearningRate(int featureId)
A method for looking at the current learning rate for a state (-action) feature without having it altered.
|
double |
peekAtLearningRate(State s,
AbstractGroundedAction ga)
A method for looking at the current learning rate for a state-action pair without having it altered.
|
double |
pollLearningRate(int agentTime,
int featureId)
A method for returning the learning rate for a given state (-action) feature and then decaying the learning rate as defined by this class.
|
double |
pollLearningRate(int agentTime,
State s,
AbstractGroundedAction ga)
A method for returning the learning rate for a given state action pair and then decaying the learning rate as defined by this class.
|
void |
resetDecay()
Causes any learnign rate decay to reset to where it started.
|
double peekAtLearningRate(State s, AbstractGroundedAction ga)
s - the state for which the learning rate should be returnedga - the action from which the learning rate should be returneddouble pollLearningRate(int agentTime,
State s,
AbstractGroundedAction ga)
agentTime - the time index of the agent when polling.s - the state for which the learning rate should be returnedga - the action from which the learning rate should be returneddouble peekAtLearningRate(int featureId)
featureId - the state feature for which the learning rate should be returneddouble pollLearningRate(int agentTime,
int featureId)
agentTime - the time index of the agent when polling.featureId - the state feature for which the learning rate should be returnedvoid resetDecay()