A Planning Problem (HTN) is a formal specification comprising three core components: a domain description, an initial state, and an initial task network. The domain description is a library of primitive actions (operators) and compound tasks with associated decomposition methods. The initial state is a snapshot of the world before planning begins. The initial task network is a set of high-level, often compound, tasks that define the planner's objective, which is to decompose this network into a sequence of executable primitive actions.
