Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What does f(n) represent in the A* algorithm?
Think about how both g(n) and h(n) contribute to the pathfinding process.
Is A* admissible if h(n) overestimates the cost?
Consider the implications of using an inaccurate heuristic.
What does the 'g(n)' term represent in the A* algorithm?
Think about what cost entails in a pathfinding context.
True or False: A* algorithm is guaranteed to find the optimal solution when h(n) is admissible.
Recall the definition of admissibility in relation to the heuristic.
A grid map has the following costs associated with movements: Up = 2, Down = 3, Left = 1, Right = 1. Design a scenario where the A* algorithm must find the optimal path from the start to the goal considering obstacles.
Consider how obstacles affect the cost and how to manipulate the heuristic for efficiency.
Compare the performance of A* against D* in a logistics scenario where package delivery routes must be adjusted due to unexpected road closures.
Focus on the trade-offs of recomputation versus incremental changes.
5 more questions in this section. Enroll free to practise them all.
Enroll free