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

aima.core.search.framework.problem.StepCostFunction 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 68.
*
* The step cost of taking action a in state s to reach state s' is * denoted by c(s, a, s'). * * @author Ravi Mohan * @author Ciaran O'Reilly */ public interface StepCostFunction { /** * Calculate the step cost of taking action a in state s to reach state s'. * * @param s * the state from which action a is to be performed. * @param a * the action to be taken. * * @param sDelta * the state reached by taking the action. * @return the cost of taking action a in state s to reach state s'. */ double c(Object s, Action a, Object sDelta); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy