
aima.core.search.adversarial.AdversarialSearch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aima-core Show documentation
Show all versions of aima-core Show documentation
AIMA-Java Core Algorithms from the book Artificial Intelligence a Modern Approach 3rd Ed.
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 - 2025 Weber Informatics LLC | Privacy Policy