|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.learning.reinforcement.MDPAgent<STATE_TYPE,ACTION_TYPE> aima.learning.reinforcement.QLearningAgent<STATE_TYPE,ACTION_TYPE>
public class QLearningAgent<STATE_TYPE,ACTION_TYPE>
Field Summary |
---|
Fields inherited from class aima.learning.reinforcement.MDPAgent |
---|
currentReward, currentState, mdp, previousAction, previousState |
Constructor Summary | |
---|---|
QLearningAgent(MDP<STATE_TYPE,ACTION_TYPE> mdp)
|
Method Summary | |
---|---|
ACTION_TYPE |
decideAction(MDPPerception<STATE_TYPE> perception)
|
java.util.Hashtable<Pair<STATE_TYPE,ACTION_TYPE>,java.lang.Double> |
getQ()
|
QTable<STATE_TYPE,ACTION_TYPE> |
getQTable()
|
Methods inherited from class aima.learning.reinforcement.MDPAgent |
---|
execute, executeTrial, getCurrentReward, getCurrentState, getPreviousAction, getPreviousState, setCurrentReward, setPreviousAction, setPreviousState, updateFromPerception |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QLearningAgent(MDP<STATE_TYPE,ACTION_TYPE> mdp)
Method Detail |
---|
public ACTION_TYPE decideAction(MDPPerception<STATE_TYPE> perception)
decideAction
in class MDPAgent<STATE_TYPE,ACTION_TYPE>
public java.util.Hashtable<Pair<STATE_TYPE,ACTION_TYPE>,java.lang.Double> getQ()
public QTable<STATE_TYPE,ACTION_TYPE> getQTable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |