Abstract 1 Introduction 2 Preliminaries 3 Directed case 4 Undirected case: trees 5 Conclusion References

Designing Sparse Temporal Graphs Satisfying Connectivity Requirements

Thomas Bellitto ORCID Sorbonne Université, CNRS, LIP6, F-75005 Paris, France    Jules Bouton Popper ORCID Sorbonne Université, CNRS, LIP6, F-75005 Paris, France    Justine Cauvi ORCID École Normale Supérieure de Lyon, Lyon, France
Sorbonne Université, CNRS, LIP6, F-75005 Paris, France
   Bruno Escoffier ORCID Sorbonne Université, CNRS, LIP6, F-75005 Paris, France    Raphaëlle Maistre-Matus Sorbonne Université, CNRS, LIP6, F-75005 Paris, France
Abstract

Connectivity of temporal graphs has been widely studied both as graph theory and as gossip theory. In particular, it is well known that in order to connect every vertex to every other, a temporal graph needs to have at least 2n4 edges where n is the number of vertices. This paper investigates the optimal number of edges required to satisfy partial connectivity requirements. We introduce the problem of Connectivity Request Satisfaction where we are given a directed graph that we call the request graph, where an arc from u to v means that we need to be able to go from u to v. Our goal is to build a temporal graph on the same vertex set with as few temporal edges as possible that would satisfy all the requests. When the graph we build is directed, we prove that the number of temporal arcs required is ncc+dfvs where cc is the number of connected component of the request graph and dfvs is the size of its smallest directed feedback vertex set. It follows that the problem is NP-complete but inherits fixed parameter tractability properties of Directed Feedback Vertex Set. When the graph we build is undirected, we establish a characterization of strongly connected request graphs that admit a solution with n1 edges: it is possible if and only if any set of pairwise non-vertex-disjoint closed walks all share a common vertex. We prove that this criteria can be tested in polynomial time.

Keywords and phrases:
Temporal Graphs, Connectivity, Gossiping, Network Design
Funding:
Justine Cauvi: This author has been partially supported by the French ANR project Tempogral ANR-22-CE48-0001
Copyright and License:
[Uncaptioned image] © Thomas Bellitto, Jules Bouton Popper, Justine Cauvi, Bruno Escoffier, and Raphaëlle Maistre-Matus; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Mathematics of computing Graph algorithms
; Mathematics of computing Paths and connectivity problems
Related Version:
Full Version: https://arxiv.org/abs/2604.27227 [4]
Editors:
George B. Mertzios and Andréa W. Richa

1 Introduction

A temporal graph is a powerful tool to model and analyse complex real-world networks such as public transit networks, phone call networks, social networks or biological networks. A temporal graph allows for edges to change over time. More precisely, it is defined as a graph with each edge being equipped with a set of appearance times. Connectivity in this context is defined by journeys, that is a walk where edges are traversed one after the other in time. (Shortest) paths, connectivity and exploration problems have been at the core of the study of temporal graphs [3, 5, 7, 12, 24, 32, 33]. While some notions and algorithms quite easily transfer from static to temporal graphs, some other notions (such as spanning trees) and problems turn out to be much more complex in temporal graphs. Among those, a famous result in temporal graphs concerns the number of edges in a connected temporal graphs. In static graphs, minimal (in term of number of edges) graphs that connect a set of n vertices are trees, which have n1 edges. In temporal graphs, the question is more complex: how many (temporal) edges do we need to connect a set of n vertices? This problem has been introduced in the literature as the gossip problem in the context of optimal scheduling of phone calls (see e.g. [22] for a survey on gossiping), and it is known that for n4 the minimum number of edges is 2n4 (see Figure 1) [6, 20]. Most of the works in that field consider that at most one phone call can be done between two persons. It was shown in [19] that deciding if a given graph is label-connected, that is every edge can be given an appearance time such that there is a journey between every pair of vertices, is NP-complete and a characterization of label-connected graphs with 2n4 edges was proposed.

Figure 1: A solution to the gossip problem with 2n4 edges. A label next to an edge corresponds to the appearance time of the edge. Every vertex can reach every other vertex by a path that uses edges with increasing appearance time.

However, if we only need to connect some vertices of the graph to some others, we would expect to be able to do it at a smaller cost. Still, while this can be relevant for many practical applications of temporal graphs, very little is known about it. We thus introduce a generalization of the gossip problem where we do not require full connectivity of the graph but instead we are given as input a set of ordered pairs (u,v) that we have to connect. These connectivity requests can be seen as a directed graphs where an arc (u,v) means that we need to be able to go from u to v in the temporal graph 𝒢 that we create. Hence, the gossip problem is the case where the input is a complete graph.

Contributions.

As explained above, given a directed graph R=(V,A) called the request graph, we want to design a temporal graph 𝒢 on the same set of vertices, such that for every (u,v) in A there is a journey from u to v in 𝒢. We first consider the directed version of the problem, where we want to design a directed temporal graph. We establish a strong link between our problem and the well known feedback vertex set problem. More precisely, we show that the minimal number of temporal edges we need to satisfy all the connectivity requirements is ncc+f, where n=|V|, cc is the number of connected components of R, and f is the size of a minimum feedback vertex set in R. This characterization shows in particular that the problem is NP-hard.

We then tackle the problem in undirected temporal graphs. This is the case of the gossip problem mentioned above, which states that 2n4 edges is the minimum number of temporal edges when R is a complete graph. On the other hand, it is easy to see that ncc edges are always necessary (where cc is the number of connected components of R). We tackle the question to determine when this lower bound is reached, i.e., when the minimum number of temporal edges needed to satisfy the connectivity requirements is equal to ncc. We provide a characterization when R is strongly connected: in this case, we show that there exists a solution which is a tree if and only if R satisfies a property that we call walk-Helly, which is a Helly-like property on walks in graphs. We also show a polynomial time algorithm that builds such a tree when it exists. This easily extends to the case where every connected components of R are strongly connected.

Organization: Section 2 formally introduces the problems we consider in this article. The directed case is dealt with in Section 3, while the undirected case is studied in Section 4. Some open questions are given in the conclusion in Section 5.

Related works.

Graph realization problems have been studied on static graphs since the 1960s and consist of finding a graph that satisfy a given property P or answering no if such a graph does not exist [14, 21]. It was recently introduced in the context of temporal graphs in [26] and is an active topic of research [8, 9, 15, 16, 29, 30, 31]. In particular, the authors in [15] studied the Reachability Graph Realizability problem that asks if the input directed graph is the reachability graph of some temporal graph, the reachability graph of a temporal graph 𝒢 being the directed graph for which there is an arc from u to v if and only if there is a journey from u to v in 𝒢. They studied the problem with various restrictions on the labeling of the temporal graph and showed that the problem is NP-hard for most of the variants, among other results. Note that our problem is different from the Reachability Graph Realizability problem as in our problem we can have a journey from u to v even if the arc (u,v) is not in the request graph. Forbidding journeys plays a key role in the results on Reachability Graph Realizability, and the structures of solutions of the two problems differ fundamentally. In realization problems, the problem of constructing a temporal graph realizing the given property P is a particular instance of the temporal network design problem in which one aims at building a temporal graph satisfying some constraints while optimizing some measures. Many temporal network design problems have been studied (see e.g. [1, 11, 13, 25, 28]).

Our work is also closely related to the study of temporal spanners, introduced in [24], which are minimal connected subgraph of a given temporal graph. Spanners have also been considered for weaker definitions of connectivity in [27].

Finally, our work can be seen as a specific case of the Temporal Pair Connectivity Augmentation Problem introduced in [2]. One of the problems the authors considered is, given a temporal graph and a set of unsatisfied connectivity requests, to satisfy the constraints by adding as few edges as possible to the input graph. Our problem here can be seen as the specific case where the input graph has no edge. The authors of [2] proved several hardness results for their problem, but their proofs use sophisticated input graphs and do not prove that the problem is difficult even when restricted to empty graphs.

2 Preliminaries

2.1 Basic definitions and notations

For natural numbers ij, we note [i,j]:={i,i+1,,j}. We will consider both undirected graphs and directed graphs (digraphs). For an undirected graph G=(V,E) (resp. for a digraph G=(V,A)) and SV a vertex set, we define the subgraph of G induced by S as G[S]=(S,{{u,v}E|u,vS}) (resp. G[S]=(S,{(u,v)A|u,vS})).

A walk in an undirected graph (resp. digraph) G between u0 and uk (resp. from u0 to uk) is a sequence W=(u0,u1,,uk) of vertices such that {ui,ui+1} is an edge (resp. (ui,ui+1) is an arc) for i[0,k1]. If uk=u0, we say that the walk W is closed. If the vertices u0,,uk are distinct, it is called a path. If the vertices are distinct except for u0=uk it is called a cycle (resp. a circuit).

We say that an undirected graph (resp. a digraph) is connected (resp. strongly connected) if there is a path between s and t (resp. from s to t) for every vertex pair (resp. ordered pair) s,t. A connected component (resp. strongly connected component) of an undirected graph (resp. of a digraph) G is a connected (resp. strongly connected) subgraph of G induced by a vertex set S such that there is no S with SS and G[S] connected (resp. strongly connected).

For a digraph G=(V,A), we define the underlying undirected graph Gundir=(V,E) with E={{u,v}|(u,v)A}. We say that a digraph G is connected if Gundir is connected. A connected component of a digraph G is a connected subgraph of G induced by a vertex set S such that there is no S with SS and G[S] connected.

2.2 Temporal graphs

Definition 1 (Temporal graph).

A temporal graph is a pair 𝒢=(V,) where V is a (finite) set of vertices and ={e1,,em} is a set of (distinct) temporal edges. A temporal edge ei is a pair ({u,v},t) where u,v are distinct vertices of V and t. u and v are called endpoints of ei and t the appearance time of ei.

Note that there might be several temporal edges with the same endpoints (but with different appearance times). A temporal graph is called simple if for any pair {u,v} there is at most one temporal edge with endpoints u and v.

The snapshot of 𝒢=(V,) at time t is the (static) graph Gt=(V,Et) where Et is the set of edges whose appearance time is t. The footprint of 𝒢 is the (static) graph 𝒢=(V,) with ={{u,v}|({u,v},t)}.

Temporal digraphs are defined similarly, on a vertex set V and on a set of temporal arcs where a temporal arc is a pair e=((u,v),t) (the arc is directed from u to v).

Definition 2 (Journeys).

A journey of a temporal graph (resp. a temporal digraph) 𝒢 is a sequence (u0,u1,t0),(u1,u2,t1),,(uk1,uk,tk1) where:

  • ({ui,ui+1},ti) is a temporal edge (resp. ((ui,ui+1),ti) is a temporal arc) of 𝒢;

  • ti<ti+1.

Journeys can be also written as sequences of vertices (as in the case of static graphs) together with the time of the temporal edge/arc linking two consecutive vertices.

Note that this definition corresponds to what is usually called a strict journey (as time is required to be strictly increasing), as opposed to a non-strict journey (where time is only required to be non-decreasing). As we will only focus on strict journeys (for reasons that we explain at the end of the next subsection), we omit to precise strict in the article.

Definition 3 (Reachability).

In a temporal graph 𝒢=(V,), a vertex v is reachable from u if there exists a journey from u to v. The reachability graph of 𝒢 is the graph Reach(𝒢) on vertex set V containing all arcs (u,v) such that v is reachable from u in 𝒢. If every vertex v is reachable from every other vertex u in 𝒢, i.e., if Reach(𝒢) is complete, then 𝒢 is temporally connected.

2.3 Connectivity Request Satisfaction problems

Now we can formally define the main problems under consideration.

Connectivity Request Satisfaction (CRS)
Input: A static digraph R=(V,A), and integer k.
Question: Is there a temporal graph 𝒢=(V,) with at most k temporal edges such that for all (vi,vj)A there exists a journey from vi to vj in 𝒢?

Equivalently, we want that the reachability graph of 𝒢 contains all arcs of R. Note that the reachability graph of 𝒢 can contain arcs that are not arcs of R.

We define similarly the Directed Connectivity Request Satisfaction (DCRS) where the question is to determine whether there exists a temporal digraph fulfilling the connectivity requirements.

Directed Connectivity Request Satisfaction (DCRS)
Input: A static digraph R=(V,A), and integer k.
Question: Is there a temporal digraph 𝒢=(V,) with at most k temporal arcs such that for all (vi,vj)A there exists a journey from vi to vj in 𝒢?

When considering an instance (R,k) of CRS (resp. DCRS), we call R the request graph. In the following, we will also consider the minimization problem, which we call Min Connectivity Request Satisfaction (MinCRS) (resp. Directed Connectivity Request Satisfaction (MinDCRS)), in which only a request graph R is given as input and one asks what is the minimum number of temporal edges (resp. temporal arcs) of a temporal graph (resp. of a temporal digraph) whose reachability graph contains all arcs of R.

Example 4.

Let us consider the request graph R depicted in Figure 2 (left part). In the center part of of Figure 2 is given a feasible (in fact, optimal) solution 𝒢 for MinCRS. For instance, in 𝒢 there is a journey from c to a, thus fulfilling the request (c,a) in R. We note that in this example the reachability graph of 𝒢 strictly contains R, as for instance there is a journey from b to d. More precisely, the reachability graph of 𝒢 contains all arcs but (d,a), (d,b) and (e,b).

On the right part is given a feasible (in fact, optimal) solution 𝒢 of MinDCRS. It uses 6 arcs, while the optimal solution of MinCRS uses only 5 edges (using the fact that edges can be taken in both directions in a journey).

Figure 2: Request graph R (left), optimal solutions for MinCRS (center part) and for MinDCRS (right part).

Note that if we were considering non strict paths/walks in temporal graphs, then in both CRS and DCRS we would use only one time step (all the edges/arcs would have the same appearance time), and then the problems would be equivalent to the problems in static graphs. In static graphs, the problems are trivial: in the non directed case, an optimal solution is to build a tree on every connected component of the request graph. In the directed case, an optimal solution is to build a circuit in all connected components of the request graph that contains a circuit and a path on the others.

3 Directed case

In this section, we study DCRS. We show that the problem is equivalent to the minimum directed feedback vertex set problem. To this end, we first present a construction that uses n+fcc temporal edges, where n=|V| is the number of vertices of R=(V,A), cc its number of connected components and f the size of a directed feedback vertex set in R. Then we will prove that this construction is minimal, i.e. there is no solution to DCRS if k is smaller.

Definition 5 (Directed Feedback Vertex Set (DFVS)).

Let G=(V,A) be a digraph. SV is a DFVS if every circuit of G contains a vertex in S.

Lemma 6.

Let R be a request graph. There is a temporal graph satisfying R with n+fcc temporal edges.

Proof.

We construct a solution with n+f1 arcs when the graph R is connected. Let F={v1,,vf} be a DFVS of R, and (u1,,unf) be a topological order induced by R after the removal of F. At time 1, we have arcs from the DFVS to u1:

1={((vi,u1),1)|i{1,,f}}

We then add the temporal arcs along the topological order:

2={((u1,u2),2),,((unf1,unf),nf)}

Finally we add arcs from unf to the DFVS:

3={((unf,vi),nf+1)|i{1,,f}}

The construction is illustrated in Figure 3. In R, any arc a with an endpoint in the DFVS is satisfied in 𝒢=(V,123) because there is a journey from any vertex of the DFVS to any other vertex in 𝒢 and vice versa. Since every remaining arc is oriented in the same direction as the topological order, the request is filled along the path 2. This connected construction has |1|+|2|+|3|=2f+nf1=n+f1 temporal edges. This can be extended to R with multiple connected components, taking a DFVS of each component and having the same construction but on this DFVS and the vertices of that component. The total number of edges would then be n+fcc.

Figure 3: Construction for a connected component C, with n vertices and a DFVS of size f, of a request graph R using n+f1 temporal arcs and satisfying the requests of R in C.

In order to prove the minimality of this construction, we first prove the following lemmas:

Lemma 7.

Let 𝒢 be a temporal digraph, Reach(𝒢) and 𝒢 have the same strongly connected components.

Proof.

  • Suppose SV is an SCC of Reach(𝒢). Then for u,vS in 𝒢 there is a sequence of directed journeys between u and v in both directions by definition of Reach(𝒢), which imply that there exists a path from u to v and a path from v to u in 𝒢. Thus SS with S an SCC in 𝒢.

  • Suppose SV is an SCC of 𝒢. Then for u,vS, we have the directed paths from u to v and v to u in 𝒢, and each arc of those paths are also in Reach(𝒢). Thus SS with S an SCC of Reach(𝒢).

We then highlight the relation between the size of a feedback vertex set and the number of temporal edges.

Lemma 8.

Let 𝒢=(V,) be a temporal digraph such that 𝒢=(V,A) has cc connected components. For p=||+ccn there exists SV a DFVS of Reach(𝒢) with |S|p.

Proof.

We proceed by induction on p. We note that by definition of the footprint 𝒢 we have |A|||. In particular, p cannot be negative (since ccn|A|, as in any graph).

  • For p=0, ||=ncc. As |A|||, necessarily every connected component C of 𝒢 is a tree. Thus C is a DAG. By Lemma 7, we also have that Reach(𝒢) is a union of DAGs thus there exists a DFVS of size p=0.

  • Suppose the property holds for some p00, let us prove it holds for p=p0+1. Let 𝒢 be a temporal digraph such that 𝒢=(V,A) has cc connected components and ||=ncc+p. If 𝒢 has no circuit, then as in the case p=0 there is a DFVS of size 0p. Otherwise, let C be a connected component of 𝒢 which contains an SCC S with at least 2 vertices. Finally, let us consider ((u,v),t0) to be the temporal edge with both endpoints in S with the smallest appearance time.

    We define 𝒢 to be the temporal digraph obtained from 𝒢 by removing ((u,v),t0). As both u and v are in the SCC S, there is a path from v to u in 𝒢, so 𝒢 and 𝒢 have the same connected components. In particular, 𝒢 has cc connected components. So we can apply our induction hypothesis to 𝒢 (which has one temporal arc less than 𝒢) with p0=||1+ncc: there exists a DFVS F of Reach(𝒢) such that |F|p0.

    Let us show that F{u} is a DFVS of Reach(𝒢). Suppose a contrario that there exists a circuit W in Reach(𝒢) that does not intersect F{u}. According to Lemma 7, the vertices of W must be included in an SCC of 𝒢. This SCC must be the one containing u and v: indeed, in 𝒢 there is no directed path between two vertices of W using (u,v) (otherwise u and v would be in that SCC), hence W would be a circuit in Reach(𝒢), contradicting the definition of F.

    So the vertices of W are in the SCC of u and v. As F is a DFVS of 𝒢, there must be an arc (a,b) in the circuit W which is in Reach(𝒢) but not in Reach(𝒢). Hence, we have a journey from a to b in 𝒢 that uses ((u,v),t0). But by minimality of t0 this path must start from u, a contradiction as W does not contain u. F{u} is therefore a DFVS of Reach(𝒢) of size |F|+1p0+1=p.

We now prove the main theorem of this section:

Theorem 9.

Let (R,k) be an instance of DCRS with cc connected components, and f be the size of a minimum DFVS of R. There exists 𝒢 a solution to this instance iff kn+fcc.

Proof.

Suppose that there exists a 𝒢 solution such that ||=n+fccd, with d>0. Then by Lemma 8 we have a DFVS of Reach(𝒢) of size f=||+ccn=fd. However, since Reach(𝒢) contains R, there is a DFVS of R of size fd contradicting the minimality of f. With Lemma 6, we can conclude that there is a solution iff kn+fcc. Specifically, for MinDCRS, finding a solution is therefore equivalent to finding a minimum DFVS which is known to be NP-complete [23] and FPT in the size of the set [10], giving us the following corollary:

Corollary 10.

MinDCRS is NP-complete, and FPT with respect to the parameter k=k+ccn.

4 Undirected case: trees

In this section, we study (undirected) MinCRS. First, note that our result from Section 3 does not hold when the graph we build is undirected. Indeed, consider the case where the request graph is a bidirected path. Here, a minimal directed feedback vertex set would have size n2, but the MinCRS problem has a solution with only n1 edges (any path works regardless of the appearance times of the edges). This contradicts Lemma 8 and Theorem 9.

In graph theory, problems on undirected graphs are generally easier to figure out, but here, temporality induces an orientation on the paths anyway, as any path of length more than two can only be used in at most one direction because of the appearance times of the edges, even if the edges are undirected. Still paths of length one, i.e., temporal edges, can now be used both ways. As illustrated in the paragraph above, this possibility may allow for a drastic reduction of the number of edges needed to satisfy the connectivity requirements. How to optimally take advantage of this possibility turns out to be very challenging.

Let R be an instance of MinCRS and cc be the number of connected components of R. It is easy to see that any solution needs at least ncc temporal edges. This section aims at characterizing the cases where there exists a solution with exactly ncc temporal edges, that is for each connected component C of R, 𝒢[C] is a tree. In the following, we will assume that R is connected and we ask in which case we have a tree solution.

4.1 Tree representation

We first show the following lemma on the structure of such a tree solution.

Lemma 11.

Let R=(V,A) be a request graph such that R is connected and there exists a tree solution 𝒯. Let W=(u0,u1,,uk1,uk=u0) be a closed walk of R. Let S={u0,,uk1}. Then, 𝒯[S] is connected.

Proof.

Assume by contradiction that 𝒯[S] is not connected. Then, there exists a vertex w such that deleting w from 𝒯 creates at least two connected components containing at least one vertex of S each. Let C0,,C be the connected components obtained by deleting w. For j[0,], we denote ({w,sj},tj) the temporal edge connecting w to Cj in 𝒯. Without loss of generality, assume that t0<<t. As W is a closed walk, we have that there exists i[0,k1] such that uiCp and ui+1Cq with q<p. As (ui,ui+1)R and the only path from ui to ui+1 in 𝒯 contains the edge {w,sp} followed by the edge {w,sq}, we must have tp<tq.

Note that having the arcs (u,v) and (v,u) in the connected request graph implies that the edge {u,v} must be in the footprint of any tree solution. In the following, we will call such an edge {u,v} a forced edge. Another direct consequence of this lemma is the following:

Corollary 12.

Let R=(V,A) be a request graph such that R is connected and there exists a tree solution 𝒯. Let W and W be two closed walks of R intersecting on vertex set S. Then, 𝒯[S] is connected.

Lemma 11 leads to a rather natural definition of what we call a tree representation.

Definition 13.

A tree representation of a request graph R=(V,A) is a tree T on same vertex set V and such that T[S] is connected for each closed walk W of R with vertex set S.

Note that the footprint of a tree solution for a request graph R is always a tree representation of R. One could hope that having a tree representation of a request graph R is equivalent to having a tree solution for MinCRS. However, this is not the case. Indeed, consider the request graph R=(V,A) depicted in Figure 4. Any tree on V with edges {a,b}, {b,c}, {c,d}, {d,e} and an edge between f and any other node is a tree representation of R. Now, if a tree solution exists for MinCRS, it must contain the edges {a,b}, {b,c}, {c,d} and {d,e}, as they are forced edges. If the last edge is between f and a, b or c, the time appearance on the edge {e,d} must be smaller than the one on {d,c} in order to satisfy the request from e to f in R. However, the request from c to e in R enforces the time appearance on the edge {e,d} to be greater than the one on {d,c}. By symmetry, we conclude that it is also not possible to have the edge between f and d or e. Thus, there is no tree solution for MinCRS.

Figure 4: A request graph that admits a tree representation but does not admit a tree solution for the MinCRS problem.

However, we will prove that, when the request graph is strongly connected, having a tree representation is equivalent to having a tree solution for MinCRS.

4.2 Hypertree and Helly property

Before showing our result, we will define and introduce useful concepts and notations.

Definition 14 (Hypergraph).

A hypergraph is a pair H=(V,E) where V is a (finite) set of vertices and E={E1,,Em} is a set of (distinct) hyperedges. A hyperedge Ei is a nonempty subset of V.

Our definition of a tree representation of a request graph is a special case of the concept of hypertree introduced in [17] (see [18] for a survey on the topic).

Definition 15 (Hypertree).

A hypergraph H=(V,E) is a hypertree if it admits a tree T with same vertex set and such that for every hyperedge Ei of H, T[Ei] is connected. Such a tree T is called a host tree.

Indeed, for a request graph R=(V,A), we can define the hypergraph HR, called the closed walk hypergraph of R, with same vertex set V and for each closed walk W of R on vertex set S, S is a hyperedge of HR. Then, a host tree of HR is a tree representation of R and vice-versa.

In [17], the author proposes a characterisation of hypertrees. Before stating this characterisation, we introduce the definitions needed.

Definition 16 (Helly Property).

Let 𝒮={S1,,Sp} be a set of subsets of a given ground set S. We say that 𝒮 has the Helly property if for all subset 𝒮𝒮:

(Si,Sj𝒮SiSj)Si𝒮Si

So, for any subset of pairwise non disjoints sets, these sets have an element in common. It is well known for instance that the set of subtrees of a given tree has the Helly property.

We say that a hypergraph H=(V,E) is Helly if its set of hyperedges E has the Helly property. This leads us to the following definition.

Definition 17 (walk-Helly).

We say that a digraph R is walk-Helly if the set of vertices of the closed walks of R has the Helly property, i.e., any set of pairwise non-vertex-disjoint closed walks all share a common vertex.

Equivalently, R is walk-Helly if the closed walk hypergraph of R is Helly.

Example 18.
Figure 5: A request graph that is not walk-Helly.

Let us consider the request graph R depicted in Figure 5. We have that R is not walk-Helly as we have the closed walks W1=(a,b,a), W2=(b,c,d,c,b) and W3=(a,d,e,a) such that W1W2, W1W3 and W2W3 but W1W2W3=.  

We conclude this section with a theorem by Flament that gives a necessary and sufficient condition for a hypergraph to be a hypertree [17].

Given a hypergraph H=(V,E), its line graph L(H) is the undirected graph whose vertex set is the set of hyperedges of H and there exists an edge {E,E} in L(H) if and only if the hyperedges E and E intersect. Recall that an undirected graph is chordal if all cycles of four or more vertices has a chord, that is an edge that is not an edge of the cycle that connects two vertices of the cycle.

Theorem 19 (Flament, 1978).

A hypergraph H is a hypertree if and only if H is Helly and L(H) is chordal.

4.3 Strongly connected request graph

The main result of this section is the following.

Theorem 20.

Let R be a strongly connected request graph. Then the three following statements are equivalent:

  1. 1.

    R is walk-Helly.

  2. 2.

    There exists a tree representation of R.

  3. 3.

    There exists a tree solution for MinCRS.

Moreover, if such a tree solution exists, we can compute one in polynomial time.

Example 21 (Example 18 continued).

Let us consider the request graph of Figure 5 that is not walk-Helly. We can easily see that there exists no tree solution for MinCRS as, no matter where we put the last edge (the edges (a,b),(b,c) and (c,d) are forced), we cannot assign appearance times so that the requests (a,d), (d,e) and (e,a) are satisfied.  

We will first show the equivalence between statements 1 and 2, that strongly relies on Theorem 19. Note that for this equivalence, the connected request graph R does not need to be strongly connected.

Proposition 22.

Let R be a connected digraph. R is walk-Helly if and only if there exists a tree representation of R.

Proof.

Let HR be the closed walk hypergraph of R.

: We show that R being walk-Helly implies that L(HR) is chordal. Let C=(E1,,Ek,E1) be a cycle in L(HR) with k4 and such that C does not have a chord. Recall that Ei is a set of vertices that forms a closed walk in R (with a slight abuse of notation, we use Ei to denote the vertex of L(HR) but also the associated hyperedge in HR). Let S=i[3,k]Ei. By concatenating the closed walks E3,,Ek (possible as Ei intersects Ei+1 for each i[3,k1]), we obtain a closed walk W=(u1,,u) in R with {u1,,u}=S. First, we have E1E2. As E1Ek, we have E1S and as E2E3, we have E2S. As HR is Helly, E1E2S. Let sE1E2S. There exists i[3,k] such that sEi. Let us take such a i that is minimal. If i3, we have that sE2Ei, and thus there is an edge between Ei and E2 in L(HR), contradicting the fact that C has no chord. If i=3, we have that sE1Ei, which again gives us a chord between E1 and Ei in C. Thus, we have that HR is Helly and L(HR) is chordal. By Theorem 19, HR is a hypertree, that is there exists a tree representation of R.

: We have that HR is a hypertree. By Theorem 19, we thus have that HR is Helly, that is R is walk-Helly.

Let us now prove the equivalence between statements 1 and 3 of Theorem 20. First, statement 3 trivially implies statement 1 (here again, the strong connexity of R is not required).

Proposition 23.

Let R be a connected request graph. If there exists a tree solution for MinCRS, then R is walk-Helly.

Proof.

Let 𝒯 be such a tree solution. In particular, thanks to Lemma 11, 𝒯 is a tree representation of R, that is to say the closed walk hypergraph HR of R is a hypertree. Thus, by Theorem 19, R is walk-Helly.

Finally, let us prove that statement 1 implies statement 3, which is the core of the demonstration. The proof will consist of three steps:

  • We introduce the notion of authorized arc and show that adding an authorized arc to a strongly connected request graph that is walk-Helly preserves the walk-Helly property (Lemma 25).

  • We show that, as long as there are not n1 forced edges, we can find an authorized arc that is not in the request graph R, if R is walk-Helly (Lemma 27).

  • We finally show that, when having n1 forced edges in a request graph that is walk-Helly, we can assign labels to the forced edges in order to obtain a tree solution for MinCRS (Lemma 28).

Let R be a connected request graph. In the following, we will write P(a,b,c¯) to denote the existence of a path from a to b that does not contain c in R, and W(a,b,c¯) to denote the existence of a closed walk containing a and b but not c in R, for a,b,c vertices of R. We say that an arc (u,v) is authorized if for every vertex x of R we do not have both W(u,x,v¯) and W(v,x,u¯).111Note that if an arc (u,v) is not authorized, then the edge {u,v} cannot be part of a tree solution. Indeed, having the edge in a tree solution would contradict Lemma 11 as we have W(u,x,v¯) and W(v,x,u¯) for some x.

Example 24.

Consider the request graph R=(V,A) depicted in Figure 6.

Figure 6: A strongly connected request graph R that is walk-Helly and whose set of authorized arcs is {(a,b),(b,a),(a,d),(d,a),(a,e),(e,a),(c,b),(b,c),(c,e),(e,c),(c,f),(f,c)} plus the arcs associated with forced edges.

The arc (a,c) is not authorized: indeed, there is a closed walk (a,d,e,b,a) (so we have W(a,b,c¯)) and a closed walk (c,f,e,b,c) (so we have W(c,b,a¯)). As a matter of fact, one can easily see that with the arc (a,c) there would not be any tree solution.

On the other hand, the arc (a,b) is authorized (as for instance every circuit containing a contains b). More generally, the set of authorized arcs of R is

{(a,b),(b,a),(a,d),(d,a),(a,e),(e,a),(c,b),(b,c),(c,e),(e,c),(c,f),(f,c)}

plus the arcs associated with forced edges.  

We first show that if R is strongly connected and walk-Helly, then adding an authorized arc to R preserves the property of being walk-Helly. For instance, we have that the strongly connected request graph R of Figure 6 is walk-Helly and adding the authorized arc (a,b) preserves the walk-Helly property. Due to space constraints, the proof of this lemma is omitted here; It can be found in [4].

Lemma 25.

Let R be a strongly connected request graph that is walk-Helly, and (u,v) be an authorized arc. Then the graph R obtained by adding the arc (u,v) to R is walk-Helly.

The general idea of the algorithm that builds a tree solution if it exists is to find an authorized arc (u,v) that is not in R and add the arcs (u,v) and (v,u) to R until there are n1 forced edges forming a tree. Note that we can add both the arcs (u,v) and (v,u) as if (u,v) is authorized, then (v,u) is also authorized, and adding the arc (u,v) to R does not change the fact that (v,u) is authorized by definition of an authorized arc. The following lemma shows that, as long as we do not have n1 forced edges forming a tree, we can find an authorized arc (u,v) when R is walk-Helly.

Example 26 (Example 24 continued).

Let us consider our running example of Figure 6. We can add the authorized arc (a,b) to R to obtain the request graph R whose set of authorized arcs becomes {(c,b),(b,c),(c,e),(e,c),(c,f),(f,c)} plus the arcs associated with forced edges. We can see that the set of authorized arcs has decreased ((a,d),(d,a),(a,e) and (e,a) are no longer authorized) but we can still find an authorized arc.  

Lemma 27.

Let R be a strongly connected request graph that is walk-Helly and such that there are not n1 forced edges forming a tree. Then, there exists an authorized arc (u,v) that is not in R.

Proof.

Let T be a tree representation of R (exists as R is walk-Helly and by Proposition 22) and let {u,v} be an edge of T that is not a forced edge in R. We have that (u,v) or (v,u) (or both) are not in R. Without loss of generality, let us assume that (u,v) is not in R and let us show that the arc (u,v) is authorized. If (u,v) is not authorized, there exists a vertex x such that W(u,x,v¯) and W(v,x,u¯) in R. Consider the request graph R which is R to which we add the arcs (s,t) and (t,s) for each edge {s,t} of T (if not already in R). We have that T is a tree representation of R, so R is walk-Helly by Proposition 22. However, we have W(u,x,v¯) and W(v,x,u¯) in R and also the closed walk consisting of the arc (u,v) and the arc (v,u) in R, contradicting the fact that R is walk-Helly.

We finally show that, when we have n1 forced edges forming a tree, we can assign labels to the tree in order to obtain a solution for MinCRS if the request graph R is walk-Helly. An illustration of the construction is given in an example after the proof. In Figure 7 the left part represents the request graph, and the right part represents a tree solution with labels (the middle part illustrates part of the proof).

Lemma 28.

Let R=(V,A) be an instance of MinCRS such that R is connected and has n1 forced edges forming a tree representation T of R. Then, each edge of the tree representation can be given an appearance time so that the obtained temporal graph is a solution.

Proof.

For a forced edge {u,v}, we denote t{u,v} the appearance time that we will give to this edge. First, observe that each arc (u,v)R such that {u,v} is not a forced edge enforces an order on the appearance times of the edges on the path from u to v in T. More precisely, let P=(u0=u,u1,,uk=v) be the unique path from u to v in T and let ei={ui,ui+1} for i[0,k1]. Then, we must have te0<te1<<tek1.

Let us construct the following digraph D. For each forced edge e of R, we have a vertex ve in D. For each arc (u,v)R such that {u,v} is not a forced edge, let P=(u0=u,u1,,uk=v) be the path from u to v in T and ei={ui,ui+1}. Then, we put an arc from vei to vei+1 in D for i[0,k2]. Note that having an arc from ve to ve in D means that e and e are sharing an endpoint in T and that we must have te<te. If there is no closed walk in D, then assigning labels to the forced edges by following a topological order of D ensures that the obtained temporal graph is a solution.

Now, let us assume that there exists a closed walk in D. Let W=(ve0,ve1,,vek=ve0) be such a closed walk with minimal length. Let us show that all forced edges ei for i[0,k1] share a common endpoint in T. First, we have that e0 and e1 shares an endpoint, that we will denote s. Now, let us assume that all forced edges ei for i[0,j] have s as one endpoint, for 1jk3. We have that ej+1 and ej have a common endpoint. Assume that this is not s. Then there exists a path in T consisting of the edges ej+1, ej and e0 in this order. However, we have a path from vej+1 to ve0 in D and as there exists an arc from a vertex associated with a forced edge to another in D only between forced edges sharing an endpoint, we have that vej should be in every path from vej+1 to ve0 in D, contradicting the minimality of W. Finally, ek1 shares an endpoint with e0 and also with ek2 in T, which is thus s.

Let ei={s,wi} for i[0,k1] and let Ti be the subtree containing wi obtained when deleting vertex s of T. As (vei,vei+1) is an arc of D for i[0,k1], there exists an arc in the request graph R from a vertex siTi to a vertex ti+1Ti+1. Also, there exists a path in R from ti to si for i[1,k1] (resp. from tk to s0) obtained by following the path from ti to si in Ti (resp. from tk to s0 in T0). Concatenating those paths with the arcs from si to ti+1 gives a closed walk in R that contains all si and ti (and potentially other vertices) but that does not contain s. This contradicts the fact that T is a tree representation of R.

From this proof, we can directly derive a polynomial time algorithm, called Labelisation, such that, given a connected request graph R with n1 forced edges, it assigns appearance times to the forced edges so that the resulting temporal graph is a solution for MinCRS, or outputs NO if it is not possible.

Example 29 (Example 24 continued).

Let us go back to our running example (Figure 6). Assume that after choosing to add the authorized arc (a,b), we chose to add the authorized arc (c,b). We then obtain a request graph with n1 forced edges forming a tree representation (see Figure 7, left). In the middle of Figure 7, the associated digraph D described in the proof of Lemma 28 is depicted. For instance the arc (a,d) in the request graph gives the arcs (v{a,b},v{b,e}) and (v{b,e},v{d,e}) in D. We then construct a tree solution for MinCRS by giving appearance times to the forced edges according to the topological order of D (Figure 7, right).  

We can now conclude the proof of Theorem 20 by showing that statement 1 implies statement 3.

Figure 7: On the left, a request graph with n1 forced edges forming a tree representation. In the middle, a topological order of the digraph described in the proof of Lemma 28. On the right, a tree solution for MinCRS.
Proposition 30.

Let R be a strongly connected request graph. If R is walk-Helly, then there exists a tree solution for MinCRS. Moreover, Algorithm 1 allows for the computation of such a tree solution if it exists in polynomial time.

Algorithm 1 Algorithm for computing a tree solution when it exists.

Proof.

Let R be a strongly connected request graph that is walk-Helly. If there are n1 forced edges, then Lemma 28 shows that we can assign appearance times to the edges of the tree formed by the forced edges so that it is a tree solution for MinCRS. If there are not yet n1 forced edges, we can find an authorized arc (u,v) not in R by Lemma 27, and add the arcs (u,v) and (v,u) in R while maintaining the walk-Helly property by Lemma 25. Note that if R is not walk-Helly, then there exists no tree solution for MinCRS by Proposition 23 and the algorithm will return NO either because there are not n1 forced edges after adding the authorized arcs to R, or because the labelisation will fail. Thus, Algorithm 1 computes a tree solution if it exists in polynomial time.

5 Conclusion

The problem of Connectivity Request Satisfaction that we introduced turned out to be very intriguing and our work raise a lot of open questions. We would like to conclude this paper by presenting some of them that we believe to be of strong interest:

  • Our results in the undirected case hold when the request graph is strongly connected. Thus, the complexity of determining if there exists a tree solution for non-strongly connected instances of MinCRS is still open. Note that all the connected components of a reachability graph have to be strongly connected (since all the edges of the footprint of a temporal graph involve a pair of opposite arc in its reachability graph). Thus, if there exists a tree solution for MinCRS, its reachability graph has to be walk-Helly (and has to contain all the arcs of the request graph). Thus, whether a non-strongly connected instance admits a tree-solution is equivalent to whether we can make it strongly connected by adding arcs to it while keeping it walk-Helly.

  • One of the main question is also the complexity of MinCRS in the general undirected case. While we strongly believe the problem to be NP-complete, this is not a direct consequence of any of the results we were able to achieve. It would also be interesting to connect this problem to already known structural graph parameters like we were able to do with the directed feedback vertex set in the directed case.

  • We know that any connected request graph requires at least n1 edges to be satisfied and we tried to characterize the request graphs for which n1 is enough. On the opposite end, we know that 2n4 edges are enough to satisfy any request graph and it would be interesting to characterize the graphs for which it is necessary. This would also probably be an interesting result in gossip theory.

  • Finally, we conjecture that every instance of MinCRS admits a simple optimal solution i.e. an optimal solution where an edge between the same two vertices cannot appear at several different times. This is clear when we look for a solution of cost ncc and is also proven true when the optimal solution has 2n4 edges but is not known for intermediate values. Being able to restrict the search to simple solutions would probably be very helpful for future work on this topic.

References

  • [1] Eleni C. Akrida, Leszek Gąsieniec, George B. Mertzios, and Paul G. Spirakis. The complexity of optimal design of temporally connected graphs. Theory Comput. Syst., 61(3):907–944, 2017. doi:10.1007/S00224-017-9757-X.
  • [2] Thomas Bellitto, Jules Bouton Popper, and Bruno Escoffier. Temporal Connectivity Augmentation. In 4th Symposium on Algorithmic Foundations of Dynamic Networks (SAND 2025), volume 330 of Leibniz International Proceedings in Informatics (LIPIcs), pages 3:1–3:16, 2025. doi:10.4230/LIPIcs.SAND.2025.3.
  • [3] Thomas Bellitto, Johanne Cohen, Bruno Escoffier, Minh-Hang Nguyen, and Mikaël Rabie. Canadian traveler problems in temporal graphs. In Graph-Theoretic Concepts in Computer Science, pages 33–47, 2026.
  • [4] Thomas Bellitto, Jules Bouton Popper, Justine Cauvi, Bruno Escoffier, and Raphaëlle Maistre-Matus. Designing sparse temporal graphs satisfying connectivity requirements, 2026. arXiv:2604.27227.
  • [5] Binh-Minh Bui-Xuan, Afonso Ferreira, and Aubin Jarry. Computing Shortest, Fastest, and Foremost Journeys in Dynamic Networks. Int. J. Found. Comput. Sci., 14(2):267–285, 2003. doi:10.1142/S0129054103001728.
  • [6] R. Bumby. A problem with telephones. Siam Journal on Algebraic and Discrete Methods, 2:13–18, 1981.
  • [7] Benjamin Merlin Bumpus and Kitty Meeks. Edge Exploration of Temporal Graphs. Algorithmica, 85(3):688–716, 2022. doi:10.1007/S00453-022-01018-7.
  • [8] Arnaud Casteigts, Michelle Döring, and Nils Morawietz. Realization of Temporally Connected Graphs Based on Degree Sequences. In 36th International Symposium on Algorithms and Computation (ISAAC 2025), volume 359 of Leibniz International Proceedings in Informatics (LIPIcs), pages 17:1–17:18, 2025. doi:10.4230/LIPIcs.ISAAC.2025.17.
  • [9] Justine Cauvi, Nils Morawietz, and Laurent Viennot. Foremost, fastest, shortest: Temporal graph realization under various path metrics. In 43rd International Symposium on Theoretical Aspects of Computer Science, STACS 2026, Grenoble, France, March 9-13, 2026, LIPIcs, pages 24:1–24:19, 2026. doi:10.4230/LIPIcs.STACS.2026.24.
  • [10] Jianer Chen, Yang Liu, Songjian Lu, Barry O’Sullivan, and Igor Razgon. A fixed-parameter algorithm for the directed feedback vertex set problem. J. ACM, 55(5):21:1–21:19, 2008. doi:10.1145/1411509.1411511.
  • [11] Argyrios Deligkas and Igor Potapov. Optimizing reachability sets in temporal graphs by delaying. Inf. Comput., 285(Part):104890, 2022. doi:10.1016/J.IC.2022.104890.
  • [12] Stuart E. Dreyfus. An Appraisal of Some Shortest-Path Algorithms. Operations Research, 17(3):395–412, 1969. doi:10.1287/OPRE.17.3.395.
  • [13] Jessica A. Enright, Kitty Meeks, George B. Mertzios, and Viktor Zamaraev. Deleting edges to restrict the size of an epidemic in temporal networks. J. Comput. Syst. Sci., 119:60–77, 2021. doi:10.1016/J.JCSS.2021.01.007.
  • [14] Paul Erdős and Tibor Gallai. Graphs with prescribed degrees of vertices. Mat. Lapok, 11:264–274, 1960.
  • [15] Thomas Erlebach, Othon Michail, and Nils Morawietz. Recognizing and realizing temporal reachability graphs. In 33rd Annual European Symposium on Algorithms, ESA 2025, Warsaw, Poland, September 15-17, 2025, LIPIcs, pages 93:1–93:18, 2025. doi:10.4230/LIPIcs.ESA.2025.93.
  • [16] Thomas Erlebach, Nils Morawietz, and Petra Wolf. Parameterized Algorithms for Multi-Label Periodic Temporal Graph Realization. In 3rd Symposium on Algorithmic Foundations of Dynamic Networks (SAND 2024), volume 292 of Leibniz International Proceedings in Informatics (LIPIcs), pages 12:1–12:16, 2024. doi:10.4230/LIPIcs.SAND.2024.12.
  • [17] Claude Flament. Hypergraphes arborés. Discrete Mathematics, 21(3):223–227, 1978.
  • [18] Pablo De Caria Di Fonzo. Hypertrees and their host trees: a survey, 2025. arXiv:2504.15570.
  • [19] F. Göbel, J. Orestes Cerdeira, and H. J. Veldman. Label-connected graphs and the gossip problem. Discrete Math., 87(1):29–40, 1991. doi:10.1016/0012-365X(91)90068-D.
  • [20] A. Hajnal, E. C. Milner, and E. Szemerédi. A cure for the telephone disease. Canadian Mathematical Bulletin, 15(3):447–450, 1972. doi:10.4153/CMB-1972-081-0.
  • [21] S. Louis Hakimi and S. S. Yau. Distance matrix of a graph and its realizability. Quarterly of Applied Mathematics, 22:305–317, 1965.
  • [22] Sandra M. Hedetniemi, Stephen T. Hedetniemi, and Arthur L. Liestman. A survey of gossiping and broadcasting in communication networks. Networks, 18(4):319–349, 1988. doi:10.1002/NET.3230180406.
  • [23] Richard M. Karp. Reducibility among combinatorial problems. In Proceedings of a symposium on the Complexity of Computer Computations, The IBM Research Symposia Series, pages 85–103, 1972. doi:10.1007/978-1-4684-2001-2_9.
  • [24] David Kempe, Jon M. Kleinberg, and Amit Kumar. Connectivity and inference problems for temporal networks. J. Comput. Syst. Sci., 64(4):820–842, 2002. doi:10.1006/JCSS.2002.1829.
  • [25] Nina Klobas, George B. Mertzios, Hendrik Molter, and Paul G. Spirakis. The complexity of computing optimum labelings for temporal connectivity. J. Comput. Syst. Sci., 146:103564, 2024. doi:10.1016/J.JCSS.2024.103564.
  • [26] Nina Klobas, George B. Mertzios, Hendrik Molter, and Paul G. Spirakis. Temporal graph realization from fastest paths. Theoretical Computer Science, 1056:115508, 2025. doi:10.1016/J.TCS.2025.115508.
  • [27] Kazuhiro Kurita, Andrea Marino, Jason Schoeters, and Takeaki Uno. Spanner Enumeration for Temporal Graphs. In 4th Symposium on Algorithmic Foundations of Dynamic Networks (SAND 2025), volume 330 of Leibniz International Proceedings in Informatics (LIPIcs), pages 9:1–9:21, 2025. doi:10.4230/LIPIcs.SAND.2025.9.
  • [28] George B. Mertzios, Othon Michail, Ioannis Chatzigiannakis, and Paul G. Spirakis. Temporal network optimization subject to connectivity constraints. In Automata, Languages, and Programming - 40th International Colloquium, ICALP 2013, Riga, Latvia, July 8-12, 2013, Proceedings, Part II, volume 7966 of Lecture Notes in Computer Science, pages 657–668, 2013. doi:10.1007/978-3-642-39212-2_57.
  • [29] George B. Mertzios, Hendrik Molter, Nils Morawietz, and Paul G. Spirakis. Realizing temporal transportation trees. In Graph-Theoretic Concepts in Computer Science - 51st International Workshop, WG 2025, Otzenhausen, Germany, June 11-13, 2025, Revised Selected Papers, Lecture Notes in Computer Science, pages 390–404, 2025. doi:10.1007/978-3-032-11835-6_28.
  • [30] George B. Mertzios, Hendrik Molter, Nils Morawietz, and Paul G. Spirakis. Temporal graph realization with bounded stretch. In 50th International Symposium on Mathematical Foundations of Computer Science, MFCS 2025, Warsaw, Poland, August 25-29, 2025, LIPIcs, pages 75:1–75:19, 2025. doi:10.4230/LIPIcs.MFCS.2025.75.
  • [31] Julia Meusel, Matthias Müller-Hannemann, and Klaus Reinhardt. Directed Temporal Tree Realization for Periodic Public Transport: Easy and Hard Cases. In 25th Symposium on Algorithmic Approaches for Transportation Modelling, Optimization, and Systems (ATMOS 2025), volume 137 of Open Access Series in Informatics (OASIcs), pages 3:1–3:22, 2025. doi:10.4230/OASIcs.ATMOS.2025.3.
  • [32] Othon Michail and Paul G. Spirakis. Traveling salesman problems in temporal graphs. Theoretical Computer Science, 634:1–23, 2016. doi:10.1016/J.TCS.2016.04.006.
  • [33] Huanhuan Wu, James Cheng, Yiping Ke, Silu Huang, Yuzhen Huang, and Hejun Wu. Efficient Algorithms for Temporal Path Computation. IEEE Transactions on Knowledge and Data Engineering, 28(11):2927–2942, 2016. doi:10.1109/TKDE.2016.2594065.