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

aima.core.search.framework.problem.ResultFunction 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.search.framework.problem;

import aima.core.agent.Action;

/**
 * Artificial Intelligence A Modern Approach (3rd Edition): page 67.
*
* A description of what each action does; the formal name for this is the * transition model, specified by a function RESULT(s, a) that returns the state * that results from doing action a in state s. We also use the term successor * to refer to any state reachable from a given state by a single action. * * @author Ravi Mohan * @author Ciaran O'Reilly */ public interface ResultFunction { /** * Returns the state that results from doing action a in state s * * @param s * a particular state. * @param a * an action to be performed in state s. * @return the state that results from doing action a in state s. */ Object result(Object s, Action a); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy