In Which Graph Structures Can We Efficiently Find Temporally Disjoint Paths and Walks?

Pascal Kunz, Hendrik Molter, Meirav Zehavi

Abstract

Finding non-colliding paths for multiple agents is a cornerstone of Multi-Agent Path Finding (MAPF). In temporal graphs, where edges exist only at specific time steps, this problem becomes significantly more complex. This paper explores the computational boundary between tractability and NP-hardness for Temporally Disjoint Paths (TDP) and Temporally Disjoint Walks (TDW). We demonstrate that even seemingly simple structures like star graphs are computationally intractable. However, by identifying key structural parameters—specifically the feedback edge number and linear topologies—we provide novel Fixed-Parameter Tractable (FPT) algorithms that resolve long-standing open questions in the field.

Introduction

In a standard static graph, finding disjoint paths is a well-understood problem solvable in polynomial time. However, many modern applications—ranging from satellite constellation routing to warehouse robotics—operate on temporal graphs. In these networks, the set of available edges changes over discrete time steps.

We distinguish between two primary variants:

  1. Temporally Disjoint Paths (TDP): Agents move from a source to a sink, visiting each vertex at most once, ensuring no two agents occupy the same vertex at the same time.
  2. Temporally Disjoint Walks (TDW): Similar to TDP, but agents may revisit vertices, allowing for "waiting" behaviors or backtracking.

Previous research established that finding TDP is NP-hard even on a simple line graph. This work extends that analysis to identify which structural properties of the underlying graph allow for efficient solutions.

The Complexity of Simple Topologies

A common intuition in graph theory is that "star" graphs (a single central hub connected to multiple leaves) are simple. Our research proves this intuition false for temporal routing. We show that both TDP and TDW are NP-hard and W[1]-hard on star graphs, even when parameterized by the number of vertices. This suggests that the bottleneck is not the size of the graph, but the temporal coordination required at the central hub.

Gadget construction used in the hardness reduction for star graphs, illustrating the complex temporal dependencies required to prove NP-hardness.

Parameterized Tractability and the Feedback Edge Number

To find "islands of tractability," we employed parameterized complexity analysis. We discovered that the Vertex Cover Number—often a silver bullet for graph algorithms—is insufficient to make TDP easy. However, the Feedback Edge Number (the minimum number of edges whose removal results in a forest) proves to be a winning parameter. We provide an FPT algorithm for TDP when parameterized by the number of agents combined with the feedback edge number. This implies that if a graph is "almost" a tree and the number of agents is small, the problem can be solved efficiently.

Resolving TDW on Linear Topologies

One of the most significant positive results of this work concerns temporal lines (path graphs). While TDP is hard on lines, we resolved an open question by proving that TDW is FPT on temporal lines when parameterized by the number of source-sink pairs. This result is particularly relevant for systems constrained to linear tracks, such as automated rail systems or narrow corridors.

Illustration of the temporal interval structure on a line graph used to derive the FPT algorithm for Temporally Disjoint Walks.

Conclusion

This paper maps the complexity landscape of temporal disjointness, showing that while simple shapes like stars can hide immense complexity, structural parameters like the feedback edge number and linear constraints offer viable paths for efficient algorithm design. Future work will explore non-strict temporal paths and optimization variants, such as minimizing the total arrival time of all agents.

Summary updated

BibTeX
@inproceedings{kunz2023which,
  author = {Pascal Kunz and Hendrik Molter and Meirav Zehavi},
  title = {{In Which Graph Structures Can We Efficiently Find Temporally Disjoint Paths and Walks?}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/21},
}
Figure