Enriching a Temporal Planner with Resources and a Hierarchy-Based Heuristic