Minimum Temporal Spanners in Happy Graphs
Temporal graphs are graphs whose edge set changes over discrete time steps. These graphs can model scenarios related to transportation, scheduling, social networks, and networking algorithms. A temporal graph is temporally connected (TC) if all pairs of vertices can reach each other using paths that traverse the edges in a time-respecting way (temporal paths). Given a TC graph, a natural problem is to find a small spanning subgraph that preserves temporal connectivity, analog to the notion of a spanning tree in static graphs. These structures, known as temporal spanners, are fundamental and their properties have attracted significant attention in the past decade. In particular, the problem of minimizing the size (number of edges or number of edge appearances) of a temporal spanner was shown to be intractable for several incomparable settings of temporal graphs, leaving important cases open. In this article, we unify and complement these results by showing that this problem is NP-hard even on temporal graphs that are simple and proper (also known as "happy"), i.e., where every edge appears only one time, and a vertex cannot be incident to several edges simultaneously. Proving hardness in this extremely restricted setting implies, at once, that the two versions of the problem (edges and edge appearances) are NP-hard in all the standard temporal graph settings. This unified result being obtained, we initiate the parameterized study of this problem, showing that in the happy setting, the problem can be solved in polynomial time if the underlying graph has a constant-size vertex cover. This result is, to the best of our knowledge, the first positive result on temporal spanners in general. We also show that it is essentially best possible, in the sense that the problem is W[1]-hard when parameterized by the vertex cover number of the underlying graph.