public abstract class TransitionProbability extends Object
Constructor and Description |
---|
TransitionProbability() |
Modifier and Type | Method and Description |
---|---|
abstract ArrayList<State> |
generateFinalStates(State initialState,
Action action)
This method constructs an
ArrayList<State> of states towards which the stochastic process may
transition in period t+1 if action is selected in initialState at period
t ; note that these states may not yet exist in the state space. |
abstract ArrayList<State> |
getFinalStates(State initialState,
Action action)
This method retrieves an
ArrayList<State> of existing states towards which the stochastic process may
transition in period t+1 if action is selected in initialState at period
t . |
abstract double |
getTransitionProbability(State initialState,
Action action,
State finalState)
This method returns the transition probability from
initialState to finalState when
action is selected. |
public abstract double getTransitionProbability(State initialState, Action action, State finalState)
initialState
to finalState
when
action
is selected.initialState
- the initial state.action
- the action chosen.finalState
- the final state.initialState
to finalState
when
action
is selected.public abstract ArrayList<State> generateFinalStates(State initialState, Action action)
ArrayList<State>
of states towards which the stochastic process may
transition in period t+1
if action
is selected in initialState
at period
t
; note that these states may not yet exist in the state space. This method is used by
forward recursion procedures.initialState
- the initial state of the stochastic process; note that we assume that
initialState
is associated with period t
.action
- the action selected at period t
.ArrayList<State>
of states towards which the stochastic process may
transition in period t+1
.public abstract ArrayList<State> getFinalStates(State initialState, Action action)
ArrayList<State>
of existing states towards which the stochastic process may
transition in period t+1
if action
is selected in initialState
at period
t
. This method is used by backward recursion procedures.initialState
- the initial state of the stochastic process; note that we assume that
initialState
is associated with period t
.action
- the action selected at period t
.ArrayList<State>
of states towards which the stochastic process may
transition in period t+1
.Copyright © 2017–2018. All rights reserved.