All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aima.core.probability.mdp.TransitionProbabilityFunction Maven / Gradle / Ivy

Go to download

AIMA-Java Core Algorithms from the book Artificial Intelligence a Modern Approach 3rd Ed.

The newest version!
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy