Strong Temporal Planning with Uncontrollable Durations: a State-Space Approach