aima.core.search.framework.problem.GoalTest Maven / Gradle / Ivy
package aima.core.search.framework.problem;
/**
* Artificial Intelligence A Modern Approach (3rd Edition): page 67.
*
* The goal test, which determines whether a given state is a goal state.
*
* @author Ravi Mohan
* @author Mike Stampone
*/
public interface GoalTest {
/**
* Returns true
if the given state is a goal state.
*
* @return true
if the given state is a goal state.
*/
boolean isGoalState(Object state);
}