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

Discussion

What does a heuristic function estimate?

  • A.The cost of the cheapest path from a state to a goal
  • B.The cost of the path from the start to the current state
  • C.The number of nodes remaining to be expanded in the search
  • D.The probability that a state lies on an optimal solution

Answer: A

The heuristic estimates the cost still to come, which is exactly the information an uninformed search lacks. The cost already incurred is the path cost, usually written g, and the two are combined in A star's evaluation function. Node counts and probabilities are different quantities. Being precise about which direction a heuristic looks is essential, since confusing it with the path cost inverts the behaviour of every algorithm that uses it.

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

Post your comment

Please log in or register to post a comment.