Heuristic Functions for Informed Search Flashcards
What will a good heuristic do?
direct search towards a solution, reducing time costs
What does a more effective heuristic do?
expand fewer nodes
effective branching factor
number of branches each node expands
What is the effective branching factor when the heuristic is perfect?
1
heuristic domination
h2(n) ≥ h1(n) for all nodes n
means h2 will never expand more nodes than h1
techniques for building admissible heuristics
- relax the problem
- use subproblems to build a pattern database
relaxed problems
- create a relaxed version by adding edges but not states in the state space
What is the cost of an optimal solution to a relaxed problem?
a consistent and admissible heuristic for the original problem
subproblem
an instance of a problem with a simpler goal state
what is the simpler goal of a subproblem?
a “necessary but not sufficient” component of the actual goal
pattern database
stores the cost to the simpler goal from every subproblem state