S - the state type.A - the action type.public interface TransitionProbabilityFunction<S,A extends Action>
| Modifier and Type | Method and Description |
|---|---|
double |
probability(S sDelta,
S s,
A a)
Return the probability of going from state s using action a to s' based
on the underlying transition model P(s' | s, a).
|
double probability(S sDelta, S s, A a)
sDelta - the state s' being transitioned to.s - the state s being transitions from.a - the action used to move from state s to s'.