Hierarchical task network - Wikipedia
In artificial intelligence, hierarchical task network (HTN) planning is an approach to automated planning in which the dependency among actions can be given in the form of hierarchically structured networks.
https://en.wikipedia.org/wiki/Hierarchical_task_network