• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 2 pages
Exam (elaborations)

CMSC421: Midterm 1(All accurately solved)

Document preview thumbnail
Preview 1 out of 2 pages

T/F: "A* tree search is not complete if some step costs are equal to zero." correct answers False. If we have finite number of states and avoid cycles/loops, it will be complete. (Me: OHHH I think that it will complete, but it might not be Optimal bc we haven't said anything about whether the heuristic is admissible) T/F: Uniform cost search is complete even if some step costs are equal to zero. correct answers True, assuming we have finite number of states and avoid cycles/loops. A* tree search in a finite state space with strictly positive step costs is optimal if the heuristic function is admissible. correct answers True, admissible heuristics ensure the optimality of A* tree search. T/F: "A* tree search always expands fewer nodes than breadth first search." correct answers False, breadth first search does not consider cost and thus may expand only a few nodes if the cost-optimal path is not the shortest one. T/F: An admissible heuristic, say h1(x), dominates another one, say h2(x), if there exists at least one statex for which h1(x) ≥h2(x). correct answers False, a dominant heuristic requires h1(x) ≥h2(x)∀x. We can design a h1(x) to underesti-mate a few x such that h1(x) ≤h2(x). T/F: Consider a search instance where there are two goal states g1 and g2 reachable from the initial state.Suppose the initial state is strictly closer to g1 than g2. If h(x) is an admissible heuristic, then h(g1) h(g2). correct answers False, we may also have h(g1) = h(g2). T/F: If the minimum step costs are greater than zero, than A* will be complete correct answers True IF THE SPACE IS FINITE AND HAS CYCLE CHECKS A* will find an optimal solution if... correct answers h is admissible (Note from professor: if a heuristic is not admissible, one can show that A* will find a solution (i.e., a path from the start to the goal) that's not optimal. To guarantee optimality, the heuristic has to be optimal.) A* is guaranteed to return a solution (be complete) if either of the following conditions is true: correct answers 1. Finite state space, and we use cycle detection 2. The minimum step cost is greater than zero (hence no infinite path has a finite cost) - ME: bc or else could be on a path for eternity just because its cost was less (but then would never be able to get out of it) (ME: NOTE: in addition, it would be guaranteed to be "optimal" if we had an additional condition: That the heuristic is admissible)


Document information

Uploaded on
May 23, 2024
Number of pages
2
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$11.19

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Sold
23
Followers
6
Items
4026
Last sold
1 month ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.