AI & ML Atlas
Artificial IntelligencealgorithmAnimated walkthrough
Hierarchical Task Network Planning
Breaks high-level tasks into smaller tasks using known methods.
The idea
Instead of searching over primitive actions, HTN planners start with an abstract task ("travel to the conference") and repeatedly replace it using methods ("fly" or "drive") until only primitive actions remain. The methods encode expert know-how, which prunes the search dramatically.
Watch it run
The pipeline lights up one step at a time. Use the controls to pause or step through it.
- 1Start with the top-level task.
- 2Choose a method whose conditions hold for a compound task.
- 3Replace the task with the method's subtasks.
- 4Repeat until all tasks are primitive actions, then execute them in order.
1/4
Step by step
- 1Start with the top-level task.
- 2Choose a method whose conditions hold for a compound task.
- 3Replace the task with the method's subtasks.
- 4Repeat until all tasks are primitive actions, then execute them in order.
Where it is used
Game AI (such as the Killzone and Horizon series), military and logistics planning.
Watch out for
The quality depends on the hand-written methods.