aima.core.probability.mdp.TransitionProbabilityFunction Maven / Gradle / Ivy
package aima.core.probability.mdp;
import aima.core.agent.Action;
/**
* An interface for MDP transition probability functions.
*
* @param
* the state type.
* @param
* the action type.
*
* @author Ciaran O'Reilly
* @author Ravi Mohan
*/
public interface TransitionProbabilityFunction {
/**
* Return the probability of going from state s using action a to s' based
* on the underlying transition model P(s' | s, a).
*
* @param sDelta
* the state s' being transitioned to.
* @param s
* the state s being transitions from.
* @param a
* the action used to move from state s to s'.
* @return the probability of going from state s using action a to s'.
*/
double probability(S sDelta, S s, A a);
}