Jump Point Search with Temporal Obstacles

Shuli Hu, Daniel Damir Harabor, Graeme Gange, Peter J. Stuckey, Nathan R. Sturtevant

Abstract

Pathfinding in dynamic environments requires accounting for obstacles that appear, move, or disappear over time. Standard approaches often suffer from state space explosion and symmetry in time-expanded grids. This paper presents Jump Point Search with Temporal Obstacles (JPST), which adapts the Jump Point Search (JPS) algorithm to handle temporal constraints. By introducing a Vertical-then-Horizontal-then-Wait (VHW) canonical ordering, JPST prunes redundant paths, achieving significant speedups over existing methods like SIPP.

Introduction: The Challenge of Temporal Obstacles

In static 2D grids, pathfinding is a well-studied problem. However, real-world applications—such as automated warehouses or video games—feature temporal obstacles like moving robots or timed doors. To solve these, researchers typically use time-expanded grids where each cell $(x, y)$ is duplicated for every timestep $t$. This leads to two primary issues: state space explosion and symmetry.

Temporal symmetry occurs when multiple sequences of moves and wait actions lead to the same state at the same time. For example, waiting at $t=1$ versus waiting at $t=5$ often results in the same outcome. Standard algorithms like A* waste significant resources exploring all these identical permutations, which acts as a "silent killer" of performance.

Figure 1: A grid environment with a start (S), goal (G), and a temporal obstacle. The goal is only reachable during specific time intervals (e.g., t=7-9).

Methodology: VHW Canonical Ordering and Temporal Jumping

The core innovation of JPST is the Vertical-then-Horizontal-then-Wait (VHW) canonical ordering. This rule set enforces a strict priority to eliminate redundant search paths:

  1. Vertical-First: Always move vertically before moving horizontally.
  2. Wait-Last: Always perform movement actions as early as possible and "WAIT" actions as late as possible.
  3. Backtrack-Free: Prune any move that could have been replaced by a simple WAIT action to reach the same state.

By enforcing this ordering, the algorithm considers only one "canonical" path out of thousands of symmetric alternatives.

Figure 2: A time-expanded representation of the search space. The solid line represents the canonical path, while dashed lines show symmetric alternatives that are pruned by the VHW ordering.

JPST also introduces Temporal Jump Points. Similar to how standard JPS "jumps" over empty space to find corners, JPST jumps through time and space until it hits a "temporal corner"—a moment when a cell's traversability changes, forcing a change in direction or a wait. Additionally, the algorithm uses Speculative Waiting to skip over idle time by immediately expanding wait successors to find forced moves, rather than adding every possible wait action to the priority queue.

Results and Discussion

JPST was evaluated using Sturtevant’s (2012) benchmarks across various map topologies, including open maps like Sirocco and corridor-heavy maps like w_woundedcoast. The results show that JPST consistently outperforms the SIPP algorithm, often by several factors to over an order of magnitude.

The performance gains are most pronounced in open environments where spatial and temporal symmetries are abundant. In these cases, JPST's ability to "jump" across the map is a massive advantage. However, as obstacle density increases, the gap between JPST and SIPP narrows because obstacles naturally break symmetries by blocking redundant paths, reducing the pruning opportunities for JPST.

Conclusion

JPST provides a high-performance solution for pathfinding with temporal obstacles by effectively addressing the problem of symmetry in time-expanded grids. By combining the jumping logic of JPS with a robust temporal canonical ordering, the algorithm significantly reduces the search space. Future work includes extending the algorithm to 8-connected grids and incorporating more complex collision models to handle edge-centric interactions.

Summary updated

BibTeX
@inproceedings{hu2021jump,
  author = {Shuli Hu and Daniel Damir Harabor and Graeme Gange and Peter J. Stuckey and Nathan R. Sturtevant},
  title = {{Jump Point Search with Temporal Obstacles}},
  booktitle = {ICAPS},
  year = {2021},
}
Figure