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