Interface IAdversarialSearch

  • All Known Implementing Classes:
    IterativeDeepening

    public interface IAdversarialSearch
    This interface defines the functions needed to perform an Adversarial Search
    Author:
    Alessandro Buldini, Alessandro Pomponio, Federico Zanini
    See Also:
    Aima Java
    • Method Detail

      • makeDecision

        IAction makeDecision​(IState state)
        Returns the action which appears to be the best at the given state
        Parameters:
        state - current state of the game, based on which the decision should be made
        Returns:
        the best action to perform for the given heuristic function
      • getMetrics

        Metrics getMetrics()
        Returns the metrics of the adversarial search
        Returns:
        the metrics of the adversarial search