An ordering constraint is a temporal relation specifying that one task or action must be performed before another within a plan. It is a fundamental component of HTN planning and constraint satisfaction problem solving, ensuring the logical and often causal flow of execution. These constraints are defined in the domain description and are enforced during task decomposition to produce a valid solution plan.
