Package b2p.search.aima
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Metrics
getMetrics()
Returns the metrics of the adversarial searchIAction
makeDecision(IState state)
Returns the action which appears to be the best at the given state
-
-
-
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
-
-