public interface MDPLearner extends DiscreteLearner
Modifier and Type | Method and Description |
---|---|
int |
bestAction(int state) |
int |
getNumberOfActions()
Get the number of different possible actions this learner can choose from
when it performs an action.
|
int |
getNumberOfStates() |
double[] |
getValueEstimates(int state) |
void |
newState(double reward,
int newState)
The call-back after performing an action.
|
act
dumpState, getLearningDelta, monitor
void newState(double reward, int newState)
reward
- The reward received from taking the most recently-selected
action.newState
- The new state encountered after taking the most
recently-selected action.double[] getValueEstimates(int state)
state
- The current state of the MDP.int bestAction(int state)
int getNumberOfActions()
DiscreteLearner
getNumberOfActions
in interface DiscreteLearner
int getNumberOfStates()
Copyright © 2014. All rights reserved.