Recognizing and Realizing Temporal Reachability Graphs

Thomas Erlebach, Othon Michail, Nils Morawietz · DOI

Abstract

This paper addresses the Reachability Graph Realizability (RGR) problem, a fundamental challenge in temporal network theory. The authors investigate whether a given directed graph can be represented as the reachability pattern of a temporal network under various path constraints. While the problem is proven to be NP-complete for most undirected variants, the study identifies a significant algorithmic breakthrough: the problem is fixed-parameter tractable (FPT) when the network's underlying "solid" backbone is nearly a tree. This work settles long-standing questions regarding the complexity of reverse-engineering time-varying networks.

Introduction

In static graph theory, reachability is a straightforward property determined by the existence of a path. However, in temporal graphs, edges are only active at specific time steps. For a node $u$ to reach node $v$, there must be a time-respecting path: a sequence of edges where the departure time of each successive edge is no earlier than the arrival time of the previous one.

The Reachability Graph Realizability (RGR) problem asks the inverse: Given a directed graph $D$ (the target reachability), does there exist a temporal schedule—a labeling of edges with time steps—that produces exactly the reachability pattern described by $D$? This "reverse engineering" is critical for applications ranging from epidemiology, where one might trace the potential paths of an infection, to infrastructure planning and social network analysis.

Complexity and Hardness

The authors provide a comprehensive map of the computational complexity of RGR. Using sophisticated reductions from variants of 3SAT (specifically 2P2N-3SAT), they demonstrate that RGR is NP-complete for undirected temporal graphs across all standard path definitions, including:

  • Strict vs. Non-strict paths: Whether subsequent edges must have strictly increasing or merely non-decreasing time labels.
  • Simple, Proper, and Happy labelings: Various constraints on how labels are assigned to the underlying edges.

Interestingly, the problem becomes trivial in specific directed cases. For directed temporal graphs with strict paths, any reachability graph can be realized by simply assigning a time step of 1 to every arc, as the reachability in the temporal graph then perfectly matches the reachability in the static underlying graph.

The "Solid Graph" and Structural Insights

A core contribution of the paper is the definition of the solid graph $G$. In most temporal models, if two nodes $u$ and $v$ can reach each other ($u \to v$ and $v \to u$), they must be connected by a physical edge in the underlying network. This bidirectional reachability forms a "solid backbone" that significantly constrains the possible temporal realizations.

By analyzing the structure of this solid graph, the authors identified a surprising gap in parameterized complexity:

  1. Feedback Edge Set (FES): If the solid graph becomes a tree after removing a small number of edges ($fes$), the problem is solvable in $fes^{O(fes^2)} \cdot n^{O(1)}$ time. This makes the problem Fixed-Parameter Tractable (FPT).
  2. Feedback Vertex Set (FVS): Conversely, if the graph becomes a tree only after removing a set of vertices, the problem remains W[2]-hard.

This suggests that cycles within the backbone are the primary source of computational difficulty, rather than the overall density of the graph.

Algorithmic Results

For instances where the solid graph is a tree, the authors show that all undirected variants of RGR can be solved in polynomial time. To extend this to the FPT result for FES, they developed a three-step process:

  • Splitting Operations: Breaking the instance into independent sub-instances based on bridge edges in the solid graph.
  • Connector Trees: Simplifying the graph into structures that isolate the complexity of the cycles.
  • Label Bounding: Proving that any realizable graph can be represented using a number of labels per edge that is at most linear in the number of vertices ($n$). This bound is essential for placing the problem within the NP class.

Under the Exponential Time Hypothesis (ETH), the authors further demonstrate that their $2^{O(|A|)}$ algorithm for general graphs is essentially optimal, providing a tight lower bound on the problem's complexity.

Conclusion and Future Work

This research provides a definitive look at the boundaries of tractability for temporal reachability. While the general problem is hard, the FPT algorithm offers a path forward for analyzing networks with nearly-acyclic backbones.

Future research directions include the search for a polynomial kernel for the FES parameter, which would further improve the efficiency of the FPT approach. Additionally, the authors suggest investigating whether the problem remains hard if the solid graph is restricted to be triangle-free, a constraint that might simplify the combinatorial explosion inherent in the current NP-completeness proofs.

Summary updated

BibTeX
@inproceedings{erlebach2025recognizing,
  author = {Thomas Erlebach and Othon Michail and Nils Morawietz},
  title = {{Recognizing and Realizing Temporal Reachability Graphs}},
  booktitle = {ESA},
  year = {2025},
  doi = {10.4230/lipics.esa.2025.93},
}
Figure