public interface FullStateModel extends SampleStateModel
SampleStateModel
for models that can enumerate the full probability distribution for a state
transition function. Typically, this model can on only be implemented when there are a finite number of possible outcomes.
This interface also contains a helper class for common approaches to implementing different aspects the model.Modifier and Type | Interface and Description |
---|---|
static class |
FullStateModel.Helper |
Modifier and Type | Method and Description |
---|---|
java.util.List<StateTransitionProb> |
stateTransitions(State s,
Action a)
|
sample
java.util.List<StateTransitionProb> stateTransitions(State s, Action a)
Action
is applied in State
s. The returned
list only needs to include transitions that have non-zero probability of occurring.s
- the source statea
- the action to be applied in the source stateStateTransitionProb
objects.