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();
}