Timeline Problems in Temporal Graphs: Vertex Cover vs. Dominating Set

Anton Herrmann, Christian Komusiewicz, Nils Morawietz, Frank Sommer · DOI

Abstract

In the study of temporal graphs—networks where edges change over a sequence of discrete time steps—traditional graph problems undergo significant shifts in computational complexity. This paper investigates the "Timeline" variants of the Vertex Cover and Dominating Set problems. In these variants, vertices are activated for a limited number of time intervals to satisfy coverage or domination requirements across all snapshots. We demonstrate a surprising reversal of traditional complexity hierarchies: while Dominating Set is typically considered harder than Vertex Cover in static graphs, the Timeline Dominating Set problem is Fixed-Parameter Tractable (FPT) under certain temporal parameters where Timeline Vertex Cover remains NP-hard. We provide a comprehensive analysis of these problems using parameterized complexity, structural parameters, and algorithmic techniques such as color coding and dynamic programming.

1. Introduction

Static graph theory provides the foundation for understanding network structures, but many real-world systems—from sensor networks to social interactions—are inherently dynamic. Temporal graphs model these systems as a sequence of snapshots $G_1, G_2, \dots, G_T$ over a common vertex set $V$.

A critical challenge in temporal networks is resource allocation over time. The "Timeline" framework addresses this by constraining vertex activity: a vertex can be "active" for at most $k$ intervals, each with a maximum length of $\ell$. This paper explores two fundamental problems within this framework: Timeline Vertex Cover (TVC) and Timeline Dominating Set (TDS). The goal is to determine if there exists a schedule of active intervals such that every edge is covered (for TVC) or every vertex is dominated (for TDS) in every snapshot.

2. Problem Definitions and Constraints

In a static context, a Vertex Cover is a set of vertices incident to every edge, while a Dominating Set requires every vertex to be either in the set or adjacent to a member of the set.

The Timeline versions introduce a temporal dimension to these requirements. For each snapshot $G_t$, the set of vertices active at time $t$ must form a valid cover or dominating set for that specific snapshot. The primary constraint is the "budget" of activity: each vertex $v$ is assigned a set of intervals $I_v = \{[s_1, e_1], \dots, [s_{k_v}, e_{k_v}]\}$ such that $k_v \le k$ and $e_i - s_i + 1 \le \ell$. This model reflects practical limitations, such as battery life in mobile sensors or duty cycles in communication nodes.

3. Methodology and Structural Parameters

To navigate the inherent NP-hardness of these problems, we employ the framework of Parameterized Complexity. We focus on structural parameters that capture the "width" of the temporal graph:

  • Vertex-Interval-Membership-Width (vimw): Measures the maximum number of vertices that are non-isolated (active in the graph structure) at any point in the timeline.
  • Interval-Membership-Width (imw): A related measure focusing on the density of edges across the timeline.

Our algorithmic approach relies on Dynamic Programming (DP) that sweeps through the snapshots. By maintaining the state of active vertices within a "bag" (the set of relevant vertices at a given time step), we can solve these problems efficiently when the width is small. For "Partial" versions of the problems—where the goal is to cover at least $t$ edges or vertices rather than all of them—we utilize Color Coding, a randomized technique that allows for finding small structures in large graphs in $2^{O(t)} \cdot (n + T)^{O(1)}$ time.

4. The Complexity Flip

One of the most significant findings of this research is the "Complexity Flip." In static graph theory, Dominating Set is generally viewed as more computationally demanding than Vertex Cover. However, in the temporal Timeline setting, we observe the following:

  • Timeline Dominating Set is Fixed-Parameter Tractable (FPT) when parameterized by the edge-based width imw.
  • Timeline Vertex Cover remains NP-hard even under the same imw constraints.

This suggests that the requirement to cover every individual edge over time is more restrictive and harder to optimize than the requirement to maintain proximity to vertices, particularly when the edge set changes rapidly.

5. Key Results and Hardness

Our analysis yields several critical insights into the tractability of these problems:

  • Universal Tractability: Both TVC and TDS admit FPT algorithms when parameterized by the combination of vimw + k + ℓ. This indicates that if the graph remains structurally simple and the activity intervals are constrained, the problems are solvable in polynomial time relative to the graph size.
  • Hardness in Simple Structures: We prove that TVC is NP-hard even in extremely restricted cases, such as graphs with a maximum degree of 1, and where $k$, $\ell$, and the number of snapshots are small constants. This highlights that temporal constraints alone can drive complexity, regardless of the simplicity of the underlying static snapshots.
  • Kernelization: For TDS, we provide a polynomial kernel when parameterized by the maximum number of edges in any snapshot ($q$) plus $k$ and $\ell$. This allows for significant preprocessing to reduce problem instances to a manageable size.

6. Conclusion and Future Work

This work demonstrates that the temporal dimension fundamentally alters the difficulty of classic graph problems. The introduction of the vimw and imw parameters provides a robust way to measure "temporal simplicity" and identify tractable instances of otherwise hard problems.

Future research should explore the MinSum variant of these problems, where the constraint is placed on the total duration of activity rather than the length of individual intervals. Additionally, applying the Timeline framework to other problems, such as Feedback Vertex Set, may reveal further surprising shifts in the landscape of computational complexity.

Summary updated

BibTeX
@inproceedings{herrmann2025timeline,
  author = {Anton Herrmann and Christian Komusiewicz and Nils Morawietz and Frank Sommer},
  title = {{Timeline Problems in Temporal Graphs: Vertex Cover vs. Dominating Set}},
  booktitle = {IPEC},
  year = {2025},
  doi = {10.4230/lipics.ipec.2025.12},
}
Figure