logo

Crowdly

You are designing a pathfinding agent for a grid-based maze where diagonal movem...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

You are designing a pathfinding agent for a grid-based maze where diagonal movement is allowed (cost ) and straight movement cost is 1. You propose using the Manhattan Distance () as a heuristic for the A* algorithm.

Task:

1. Determine if this heuristic is admissible. Prove your answer mathematically or by providing a counter-example.

2. Explain what happens to the optimality of the A* algorithm if we multiply this heuristic by a factor of 2 (i.e.,

).

More questions like this

Want instant access to all verified answers on moodle.taltech.ee?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!