How does A* search handle the trade-off between cost and heuristic estimate?

  • It always prioritizes cost over the heuristic
  • It ignores the trade-off completely
  • It randomly selects either cost or heuristic
  • It uses a weighted sum of cost and heuristic (f = g + w * h)
A* search handles the trade-off by using a weighted sum of cost and heuristic, denoted as f = g + w * h, where 'g' is the actual cost from the start state, 'h' is the heuristic estimate, and 'w' is a weight factor. Adjusting the weight influences the balance between cost and heuristic in the decision-making process.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *