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

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

import aima.core.agent.Percept;

/**
 * This interface is to define how to Map a Percept to a State representation
 * for a problem solver within a specific environment. This arises in the
 * description of the Online Search algorithms from Chapter 4.
 * 
 * @author Ciaran O'Reilly
 * 
 */
public interface PerceptToStateFunction {

	/**
	 * Get the problem state associated with a Percept.
	 * 
	 * @param p
	 *            the percept to be transformed to a problem state.
	 * @return a problem state derived from the Percept p.
	 */
	Object getState(Percept p);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy