public interface ObservationFunction
PODomain).
Requires two methods: probability(State, State, Action) and sample(State, Action).
The former defines the probability mass/density function for an observation given a hidden state and action that
led the hidden state. The latter samples and observation given a hidden state and action that led to the hidden state.| Modifier and Type | Method and Description |
|---|---|
double |
probability(State observation,
State state,
Action action)
Returns the probability that an observation will be observed conditioned on the MDP state and previous action taken that led to the state.
|
State |
sample(State state,
Action action)
Samples an observation given the true MDP state and action taken in the previous step that led to the MDP state.
|
double probability(State observation, State state, Action action)
observation - the observation, represented by a Statestate - The true MDP state that generated the observation.action - the action that led to the MDP state and which generated the observation