Informed Search Flashcards
What is an informed search?
search that uses domain-specific hints about the location of goals to find a solution more efficiently than uninformed searched
What is a heuristic function?
h(n): the estimated cost of the cheapest path from the current node, n, to the goal state
What is greedy best-first search?
an informed search algorithm
Form of best-first search where the node with the lowest h(n) is expanded first
- this node appears to be closest to the goal –> more likely to leave us to solution quickly
What is the evaluation function of greedy best-first search? What is f(n)?
f(n) = h(n)
Is greedy best-first search complete?
Yes, if there is a finite number of nodes
What is the space complexity of greedy best-first search?
Worst case: O(b^m) where m = maximum depth of search space
Best case: O(bm)
What is the time complexity of greedy best-first search?
Worst case: O(b^m) where m = maximum depth of search space
Best case: O(bm)
What is A* search?
a best-first search algorithm where the cost of the current path plus the cost to move to the next node are taken into account. The cost function is… f(n) = g(n) + h(n)
Is A* complete?
Yes, always returns shortest path
Returns no path if no path
What is admissibility?
When an admissible heuristic never overestimates the cost of a path
T/F: every consistent heuristic is admissible, and every admissible heuristic is consistent
False:
Every consistent heuristic is admissible
Not every admissible heuristic is consistent
What is a contour?
a useful way to visualize a state space
What does it mean to be monotonic?
When the cost always increases as you go along a path because action costs are always positive
the g cost increases like this in A*
What does it mean to be optimally efficient?
When the most efficient solution will be the optimal one
Why is A* efficient?
only looks at nodes in the search tree that contribute to the optimal solution