aima.learning.reinforcement
Class PassiveADPAgent<STATE_TYPE,ACTION_TYPE>

java.lang.Object
  extended by aima.learning.reinforcement.MDPAgent<STATE_TYPE,ACTION_TYPE>
      extended by aima.learning.reinforcement.PassiveADPAgent<STATE_TYPE,ACTION_TYPE>

public class PassiveADPAgent<STATE_TYPE,ACTION_TYPE>
extends MDPAgent<STATE_TYPE,ACTION_TYPE>


Field Summary
 
Fields inherited from class aima.learning.reinforcement.MDPAgent
currentReward, currentState, mdp, previousAction, previousState
 
Constructor Summary
PassiveADPAgent(MDP<STATE_TYPE,ACTION_TYPE> mdp, MDPPolicy<STATE_TYPE,ACTION_TYPE> policy)
           
 
Method Summary
 ACTION_TYPE decideAction(MDPPerception<STATE_TYPE> perception)
           
 MDPUtilityFunction<STATE_TYPE> getUtilityFunction()
           
 
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

PassiveADPAgent

public PassiveADPAgent(MDP<STATE_TYPE,ACTION_TYPE> mdp,
                       MDPPolicy<STATE_TYPE,ACTION_TYPE> policy)
Method Detail

decideAction

public ACTION_TYPE decideAction(MDPPerception<STATE_TYPE> perception)
Specified by:
decideAction in class MDPAgent<STATE_TYPE,ACTION_TYPE>

getUtilityFunction

public MDPUtilityFunction<STATE_TYPE> getUtilityFunction()