aima.probability.decision
Interface MDPSource<STATE_TYPE,ACTION_TYPE>

All Known Implementing Classes:
CellWorld

public interface MDPSource<STATE_TYPE,ACTION_TYPE>


Method Summary
 MDP<STATE_TYPE,ACTION_TYPE> asMdp()
           
 MDPPerception<STATE_TYPE> execute(STATE_TYPE state, ACTION_TYPE action, Randomizer r)
           
 java.util.List<ACTION_TYPE> getAllActions()
           
 java.util.List<STATE_TYPE> getFinalStates()
           
 STATE_TYPE getInitialState()
           
 java.util.List<STATE_TYPE> getNonFinalStates()
           
 MDPRewardFunction<STATE_TYPE> getRewardFunction()
           
 MDPTransitionModel<STATE_TYPE,ACTION_TYPE> getTransitionModel()
           
 

Method Detail

asMdp

MDP<STATE_TYPE,ACTION_TYPE> asMdp()

getInitialState

STATE_TYPE getInitialState()

getTransitionModel

MDPTransitionModel<STATE_TYPE,ACTION_TYPE> getTransitionModel()

getRewardFunction

MDPRewardFunction<STATE_TYPE> getRewardFunction()

getNonFinalStates

java.util.List<STATE_TYPE> getNonFinalStates()

getFinalStates

java.util.List<STATE_TYPE> getFinalStates()

execute

MDPPerception<STATE_TYPE> execute(STATE_TYPE state,
                                  ACTION_TYPE action,
                                  Randomizer r)

getAllActions

java.util.List<ACTION_TYPE> getAllActions()