Informed Search Flashcards
(25 cards)
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
What is an inadmissible heuristic?
A heuristic that may overestimate the cost to the goal state
What is one downside of A*?
It expands a lot of nodes
What is weighted A*?
Where the heiristic value is given more of a pull in the evaluation function
f(n) = g(n) + W * h(n), where W > 1
What is the evaluation function of the following?
- A* search
- Uniform-cost search
- Greedy best-first search
- Weighted A* search
- g(n) + h(n)
- g(n)
- h(n)
- g(n) + W* h(n) , (1 < W < inf)
What is a bounded suboptimal search?
when you look for the solution that is guaranteed to be within a constant factor W of the optimal cost
What is a bounded-cost search?
when you look for a solution whose cost is less than some constant C
What is an unbounded-cost search?
When you accept a solution of any cost, as long as it can be found quickly
What is speedy search?
version of greedy best-first search where the heuristic estimates the number of actions required to reach a goal, not the cost of the actions
leads to high and low costs
What is the main problem with A*?
Memory; keeps track of open and closed list