public class AStarSearch extends BestFirstSearch
| Constructor and Description |
|---|
AStarSearch(QueueSearch impl,
HeuristicFunction hf)
Constructs an A* search from a specified search space exploration
strategy and a heuristic function.
|
getEvaluationFunctionfindActions, findState, getComparator, getMetrics, getNodeExpanderpublic AStarSearch(QueueSearch impl, HeuristicFunction hf)
impl - a search space exploration strategy (e.g. TreeSearch, GraphSearch).hf - a heuristic function h(n), which estimates the cost
of the cheapest path from the state at node n to a
goal state.