Abstract
We study the design of small cost temporally connected graphs, under various constraints. We mainly consider undirected graphs of $n$ vertices, where each edge has an associated set of discrete availability instances (labels). A journey from vertex $u$ to vertex $v$ is a path from $u$ to $v$ where successive path edges have strictly increasing labels. A graph is temporally connected iff there is a $(u,v)$-journey for any pair of vertices $u,v,~u\not= v$. We first give a simple polynomial-time algorithm to check whether a given temporal graph is temporally connected. We then consider the case in which a designer of temporal graphs can freely choose availability instances for all edges and aims for temporal connectivity with very small cost; the cost is the total number of availability instances used. We achieve this via a simple polynomial-time procedure which derives designs of cost linear in $n$. We also show that the above procedure is (almost) optimal when the underlying graph is a tree, by proving a lower bound on the cost for any tree. However, there are pragmatic cases where one is not free to design a temporally connected graph anew, but is instead given a temporal graph design with the claim that it is temporally connected, and wishes to make it more cost-efficient by removing labels without destroying temporal connectivity (redundant labels). Our main technical result is that computing the maximum number of redundant labels is APX-hard, i.e., there is no PTAS unless $P=NP$. On the positive side, we show that in dense graphs with random edge availabilities, there is asymptotically almost surely a very large number of redundant labels. A temporal design may, however, be minimal, i.e., no redundant labels exist. We show the existence of minimal temporal designs with at least $n \log{n}$ labels.
Introduction
In a standard static graph, connectivity is simple: can you get from point A to point B? In a temporal graph, edges are not always available; they have "labels" representing discrete time instances when they are active. To travel from $u$ to $v$, one must follow a journey: a sequence of edges where the time labels are strictly increasing (e.g., you cannot take a 5:00 PM bus if your previous leg arrived at 6:00 PM).
A graph is temporally connected (TC) if a journey exists between every pair of vertices. This paper explores the computational limits of designing and optimizing these networks. While checking if such a network is connected is computationally efficient, finding the maximum number of redundant time-slots that can be removed while maintaining connectivity—a problem known as Removal Profit—is mathematically "hard" (APX-hard).
Methodology
The research employs a combination of algorithmic design and complexity theory to map the landscape of temporal connectivity:
- Verification: The authors propose a Foremost Journey Algorithm, a modified BFS-style approach that processes time edges in increasing order of their labels to find the earliest possible arrival times from a source to all other nodes.
- Complexity Analysis: To prove that calculating "Removal Profit" is APX-hard, the authors perform a sophisticated L-reduction from the monotone Max-XOR(3) problem. This involves constructing complex "gadgets" (subgraphs) that translate boolean logic into temporal reachability constraints.
- Probabilistic Analysis: Using the Erdös-Renyi model ($G_{n,p}$) and Chernoff bounds, the authors analyze how temporal connectivity behaves in dense random graphs.
Key Findings and Results
Efficient Verification and Optimal Design
Unlike many temporal graph problems that are NP-complete, checking for TC is fast, taking $O(c(L) \log c(L))$ time, where $c(L)$ is the total number of labels. Furthermore, if a designer has total freedom to assign labels, any connected undirected graph can be made TC with a cost of just $2n-2$ labels. For trees, the authors prove a lower bound of $2n-3$, demonstrating that temporal connectivity is surprisingly "cheap" to build from scratch.
The Hardness of Optimization
The most significant finding is the asymmetry between building and pruning. While building a cheap network is easy, optimizing an existing one is hard. The APX-hardness of the Removal Profit problem means there is likely no Polynomial Time Approximation Scheme (PTAS) for it unless $P=NP$.
Density and Minimality
A graph is "minimal" if no single label can be removed without breaking TC. The authors debunk the intuition that minimal designs must be sparse by proving the existence of minimal temporal designs with $\Theta(n \log n)$ labels. Conversely, in dense random graphs, one can asymptotically delete almost all labels while maintaining connectivity with high probability.
Conclusion
This work establishes the fundamental complexity of temporal connectivity. While verification and initial design are tractable, the optimization of existing temporal networks presents significant computational hurdles. Future research may focus on developing constant-factor approximation algorithms for the Removal Profit problem or investigating specific graph classes like planar graphs and grids that might offer more efficient optimization properties.
Summary updated