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

aima.core.search.adversarial.AdversarialSearch Maven / Gradle / Ivy

package aima.core.search.adversarial;

import aima.core.search.framework.Metrics;

/**
 * Variant of the search interface. Since players can only control the next
 * move, method makeDecision returns only one action, not a
 * sequence of actions.
 * 
 * @author Ruediger Lunde
 */
public interface AdversarialSearch {

	/** Returns the action which appears to be the best at the given state. */
	ACTION makeDecision(STATE state);

	/**
	 * Returns all the metrics of the search.
	 * 
	 * @return all the metrics of the search.
	 */
	Metrics getMetrics();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy