An operator is a formal, grounded representation of an atomic action that can be executed to change the state of the world. It is defined by a set of preconditions—logical statements that must be true for the operator to be applicable—and a set of effects that describe how the world state is altered upon execution. In HTN planning, operators correspond directly to primitive tasks, the leaves of the decomposition tree that an agent can perform without further breakdown.
