aima.probability.decision
Interface MDPSource<STATE_TYPE,ACTION_TYPE>
- All Known Implementing Classes:
- CellWorld
public interface MDPSource<STATE_TYPE,ACTION_TYPE>
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()