Machine-translated by Google. Questions are authored in English.
Top

Discussion

Why is greedy best first search not optimal?

  • A.It expands nodes in the order they were generated
  • B.It cannot detect when it has reached a goal state
  • C.It ignores the cost already spent reaching each node
  • D.Its heuristic is always an overestimate of the true cost

Answer: C

By minimising only the estimated remaining cost, greedy search will happily follow an expensive route that appears to point at the goal, and no comparison of total costs is ever made. Adding the accumulated cost back gives A star and restores optimality with an admissible heuristic. Heuristic quality, expansion order and goal detection are separate matters. An algorithm optimising the wrong quantity cannot be repaired by improving how well it optimises it.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.