---
title: 'Restless Temporal Paths: Models & Algorithms'
url: https://www.emergentmind.com/topics/restless-temporal-paths
type: topic
---

# Restless Temporal Paths: Models & Algorithms

Restless temporal paths are time-respecting paths in temporal graphs under additional temporal constraints on movement or waiting. Across the literature, the term covers several closely related models: paths whose edge-times are strictly increasing, paths whose edge-times are non-decreasing but whose waiting at intermediate vertices is bounded by a parameter such as \(\Delta\) or \(\beta\), and variants in which vertex-time occupancy itself is part of the feasibility condition. These models are used for infection chains with finite infectious periods, packet routing with bounded buffer time, collision-free multi-agent motion, signaling pathways, and scheduled transportation [1909.06437] [2010.08423] [2105.08335] [2501.12708].

## 1. Formal models and terminology

A standard discrete-time temporal graph is written as \(G=(V,(E_1,\dots,E_T))\), where \(E_i\) is the set of edges present at time \(i\). In this layer-based model, a temporal walk from \(s=v_0\) to \(z=v_k\) is a sequence \(\big((v_{i-1},v_i,t_i)\big)_{i=1}^k\) with \(\{v_{i-1},v_i\}\in E_{t_i}\) and either \(t_i\le t_{i+1}\) in the non-strict setting or \(t_i<t_{i+1}\) in the strict setting; a temporal path additionally requires that the vertices are pairwise distinct [2105.08335] [2206.15251]. In the terminology of "journeys", the same idea appears as a sequence of time edges \((u,u_1,l_1),\dots,(u_{k-1},v,l_k)\) with \(l_i<l_{i+1}\), and the last label \(l_k\) is the arrival time [1310.7898].

Several papers use explicit waiting bounds. In the point model, a timed arc is \((u,v,\tau,\delta)\), meaning departure from \(u\) at time \(\tau\) and arrival at \(v\) at time \(\tau+\delta\). A temporal path
\[
(v_{i-1},v_i,\tau_i,\delta_i)_{i=1}^{\ell}
\]
is \(\Delta\)-restless if
\[
\tau_{i+1}-(\tau_i+\delta_i)\le \Delta
\quad \text{for all } i=1,\dots,\ell-1.
\]
The interval model replaces point availability by interval arcs \((u,v,\tau,\tau',\delta)\), where departure can occur at any \(\tau^{dep}\in[\tau,\tau']\), and the same waiting bound is imposed on consecutive departures and arrivals [2507.05760]. In the discrete undirected model of restless temporal paths, the condition is written directly on edge labels:
\[
t_i \le t_{i+1} \le t_i+\Delta
\quad \text{for all } i\in[k-1].
\]
This formulation emphasizes bounded waiting at each intermediate vertex [1909.06437].

A further refinement important for disjointness is temporal occupancy. In the non-strict model of temporally disjoint paths and walks, a walk visits an internal vertex \(v_i\) during the interval \([t_i,t_{i+1}]\), the starting vertex during \([t_1,t_1]\), and the terminal vertex during \([t_k,t_k]\). Two walks temporally intersect if they occupy the same vertex during overlapping time intervals; they are temporally disjoint if no such vertex-time overlap exists [2105.08335]. Closely related is the notion of a temporal vertex \((u,i)\), used as the basic unit of temporal cuts and of t-vertex-disjointness [2206.15251].

The literature also extends restless reachability to colored and attributed settings. In vertex-colored temporal graphs, a path may be required to realize a prescribed multiset of vertex colors while still respecting the waiting bound \(\Delta\) [2010.08423]. A related, but distinct, generalization is the temporal beer path: edges are time-dependent and designated beer vertices are active only at specified times, so a feasible path must visit at least one beer vertex during one of its active times [2507.08685].

## 2. Random temporal models and probabilistic structure

One influential sparse random model assigns each static edge exactly one time label, chosen independently and uniformly from \(L_0=\{1,2,\dots,a\}\). A temporal graph satisfying this UNI-CASE is called a Uniform Random Temporal Graph (U-RTG), and the normalized version sets \(a=n\) when the graph has \(n\) vertices [1310.7898]. In a uniform random temporal clique \(K_n\), the probability that a fixed simple path of length \(k\) becomes temporal is
\[
\phi
= \frac{a!}{k!\,a^k\,(a-k)!},
\]
and the expected number of temporal paths of length \(k\) is
\[
E(\#\text{ temporal paths of length }k)
=
\frac{n!\,a!}{(n-k-1)!\,k!\,a^k\,(a-k)!}.
\]
For the Hamiltonian case \(k=n-1\) with \(a=n-1\),
\[
E(\#\text{ temporal paths of length }n-1)
=
\frac{n!}{(n-1)^{\,n-1}}
\xrightarrow[n\to\infty]{} 0,
\]
showing that very long one-shot temporal paths are asymptotically rare even in a clique [1310.7898].

The same paper defines temporal distance via foremost journeys. If \(\delta'(s,t)\) denotes the arrival time of a foremost \((s,t)\)-journey under a given labeling, then a capped temporal distance is
\[
\delta(s,t)=\min\{\delta'(s,t),n'\}.
\]
From this it defines the maximum expected temporal distance
\[
MD = \max_{s,t\in V(G)} E(\delta(s,t))
\]
and the temporal diameter
\[
TD(G)=E(diam(G(L))).
\]
For a uniform random temporal star,
\[
MD(G_{star})
=
\frac{(a-1)(a+1)(a+2)}{6a^2}
+n'\cdot \frac{a+1}{2a}.
\]
For the normalized uniform random temporal clique, the greedy Extend-Try procedure yields a journey from \(s\) to \(t\) by time
\[
t_0 = c_1 \sqrt{n}(\log n)k + \sqrt{n},
\qquad k=r\log n,
\]
with probability at least
\[
(1-n^{-c_1})(1-en^{-r}),
\]
which in turn gives
\[
MD \le TD \le t_0-o(t_0)
\]
for the normalized random temporal clique [1310.7898].

A different strict model appears in the random temporal hypercube. Each edge of \(Q_n\) receives an i.i.d. continuous weight, and a direct path is accessible if its edge weights are strictly increasing. If \(X_n\) is the number of accessible direct paths from \(\emptyset\) to \([n]\), then
\[
X_n \xrightarrow{d} \mathrm{Poi}(ZZ'),
\]
where \(Z\) and \(Z'\) are independent \(\mathrm{Exp}(1)\) random variables; equivalently, the limit is a mixed Poisson law with random mean \(ZZ'\). The limiting zero-mass is
\[
\mathbb P(X=0)=\delta \approx 0.596347,
\]
where \(\delta\) is the Gompertz constant [2509.18931]. This places strict, no-waiting temporal accessibility in a critical probabilistic regime distinct from ordinary reachability.

## 3. Existence, hardness, and parameterized tractability

Restless reachability becomes hard as soon as waiting is bounded. Restless Temporal Path is NP-complete for all finite \(\Delta\ge 1\) and \(\ell\ge \Delta+2\), even if every edge has exactly one time stamp; in particular, hardness already holds for \(\Delta=1\) and lifetime \(\ell=3\). The problem is also W[1]-hard when parameterized by the distance to disjoint paths of the underlying graph, which implies W[1]-hardness for parameters such as feedback vertex number and pathwidth [1909.06437].

Positive results exist for several parameterizations. For Short Restless Temporal Path, there is a randomized algorithm running in time \(2^k\cdot |\mathcal G|^{O(1)}\) with one-sided error, and a deterministic algorithm running in time \(2^{O(k)}\cdot |\mathcal G|\cdot \ell\) [1909.06437]. The same work gives fixed-parameter tractability for the vertex cover number and treedepth of the underlying graph, an algorithm running in time \(2^{O(\phi_\downarrow)}\cdot |\mathcal G|\) for the feedback edge number \(\phi_\downarrow\), and an FPT algorithm parameterized by the timed feedback vertex number. Given a timed feedback vertex set of size \(x\), that algorithm runs in
\[
O\big(6^x x!\cdot \max\{|\mathcal G|^3,\ |V|^4x^2\}\big),
\]
and the timed feedback vertex set itself can be computed in time \(4^x\cdot |\mathcal G|^{O(1)}\); a polynomial-time 8-approximation is also available [1909.06437].

Parameterization above lower bounds further refines the path-length approach. If \(d\) is the minimum length of a temporal \(s\)-\(z\) path without the restless constraint, then Short Restless Temporal Path can be solved in randomized time
\[
4^{k-d}\,|\mathcal G|^{O(1)},
\]
where \(k\) is the allowed restless path length. This is an above-lower-bound algorithm in the excess parameter \(k-d\) [2203.15862].

A more recent line studies purely temporal width measures. In the point model with uniform delay \(1\), point-restless-temporal-path is fixed-parameter tractable parameterized by vertex-IM-width \(k\), with deterministic running time
\[
\mathcal O(M\,k\,2^k),
\]
and in the point model with arbitrary positive delays the running time becomes
\[
\mathcal O(M\,k\,2^k\,(k+\log M)).
\]
By contrast, in the interval model the problem is NP-hard even when the interval vertex-IM-width equals \(3\) [2507.05760]. This separates point-based and interval-based restless path models sharply.

The corresponding cut problem is harder still. Restless Temporal \((s,z)\)-Separation—deleting at most \(k\) vertices to destroy all \(\Delta\)-restless temporal \(s\)-\(z\) paths—is \(\Sigma_2^\mathrm{P}\)-complete for all \(\Delta\ge 1\), even if every edge has only one time stamp, and it is W[2]-hard when parameterized by the separator size \(k\) [2107.01609].

## 4. Disjoint paths, temporal cuts, and the failure of temporal Menger for paths

For multiple routes, the distinction between walks and paths becomes structural. Two temporal walks are temporally disjoint if they never occupy the same vertex at overlapping times [2105.08335]. In general graphs, Temporally Disjoint Paths is NP-hard even if \(|S|=2\) and \(T=3\), whereas Temporally Disjoint Walks is W[1]-hard when parameterized by \(|S|\) but lies in XP with running time
\[
O(|V|^{2|S|+2}\cdot T)
\]
for fixed \(|S|\) [2105.08335]. On temporal trees, Temporally Disjoint Paths is FPT with running time
\[
O\!\left(|S|^{|S|+3}\cdot |G|\right),
\]
and on a temporal line with only endpoint pairs it is solvable in
\[
O\!\left(k\ell(k+\ell)\cdot |G|\right)
\]
time [2105.08335].

A finer structural classification shows large differences between paths and walks. Temporally Disjoint Walks on temporal lines is FPT with respect to \(|S|\), but on temporal stars it is W[1]-hard with respect to \(|S|\). For the path version, the combination \(|S|+\operatorname{vc}(G_U)\) is W[1]-hard, while \(|S|\) plus the feedback edge number of the underlying graph yields an FPT algorithm [2301.10503]. Small underlying graph structure therefore does not imply uniform tractability.

The most striking separation from static graph theory is the path analogue of Menger’s theorem. Let \(tp(s,t)\) be the maximum number of pairwise t-vertex-disjoint temporal \(s\)-\(t\) paths, and let \(tpc(s,t)\) be the minimum size of a temporal-vertex cut intersecting every temporal \(s\)-\(t\) path. For temporal walks, the walk-based analogue of Menger’s theorem holds. For temporal paths, however,
\[
tp(s,t)=1 \iff tpc(s,t)=1,
\]
and this is the only case in which equality holds. For every fixed \(k\ge 2\), there exists a temporal graph with
\[
tpc(s,t)=tp(s,t)+k.
\]
Algorithmically, deciding whether \(tp(s,t)\ge k\) is polynomial-time solvable for \(k\le 2\) and NP-complete for \(k\ge 3\). The cut problem is co-NP-hard and XP in the cut size [2206.15251]. A common static-graph intuition—that max disjoint paths and min separating sets remain dual in temporal settings—therefore fails for paths.

## 5. Reachability algorithms, centrality, and optimization primitives

Beyond decision problems, restless temporal paths support algorithmic primitives for large-scale reachability. An algebraic framework based on constrained multilinear sieving solves restless reachability and colored restless reachability when parameterized by path length \(k\). The proposed problems can be solved in
\[
O(2^k\,k\,m\,\Delta)
\]
time and
\[
O(n\,\Delta)
\]
space, where \(n\) is the number of vertices, \(m\) the number of edges, and \(\Delta\) the maximum resting time. The same framework handles vertex-colored temporal graphs with multiset color queries, and an open-source implementation scales to graphs with up to one billion temporal edges [2010.08423].

Centrality under waiting constraints has also become algorithmically tractable. In the model \(G=(V,E,\beta)\), a restless temporal walk \(W=\langle e_1,\dots,e_k\rangle\) satisfies
\[
\arr(e_i)\le \tau_{i+1}\le \arr(e_i)+\beta
\]
between consecutive edges. For temporal betweenness computation on restless walks, an edge-centric framework computes exact betweenness for several optimality criteria—including shortest, foremost, fastest, shortest foremost, and shortest fastest—in \(O(nM)\) time and \(O(n+M)\) space. Earlier restless computation was known only for the shortest criterion, with complexity \(O(n^2MT^2)\). The same work reports exact computations on large temporal graphs with over a million temporal edges and a public-transit case study on six networks, including Berlin, Rome, and Paris [2501.12708].

Optimization on minimal temporal systems also appears. In a two-vertex temporal multigraph interpreted as \(n\) parallel "bridges" or, equivalently, one edge with labels \(1,\dots,n\), a greedy \(O(n^2)\) algorithm minimizes the maximum load-plus-time cost, and the optimum is
\[
OPT=\left\lceil \sqrt{2n}+\frac12 \right\rceil.
\]
This is a stylized scheduling problem on a temporally labeled edge and shows that restless temporal routing naturally interfaces with congestion-aware load balancing [1310.7898].

## 6. Related generalizations, applications, and open directions

A closely related time-window formulation is the temporal beer path problem. Here, temporal edges are quadruples \((u,v,t,\lambda)\), beer vertices \(b\in B\) are active only at times \(T_b\), and a valid path must visit at least one beer vertex while it is active. Four optimization criteria are defined: earliest-arrival, latest-departure, fastest, and shortest temporal beer paths. Efficient algorithms are given under both edge-stream and adjacency-list representations, together with preprocessing and static-graph transformations for dynamic conditions such as new openings or closings of shops [2507.08685]. This suggests a broader class of restless-like path problems in which feasibility depends jointly on edge schedules, vertex-time windows, and path optimality.

Several recurring misconceptions are contradicted by current results. Small or simple underlying graphs do not guarantee easy computation: temporal lines and stars already support NP-hardness or W[1]-hardness for disjoint routing [2105.08335] [2301.10503]. Bounded temporal width is not uniformly sufficient: vertex-IM-width yields FPT algorithms in the point model but does not rescue the interval model, where hardness persists at width \(3\) [2507.05760]. And the static intuition behind Menger’s theorem transfers from temporal walks to temporal paths only in the case \(tp(s,t)=1\) [2206.15251].

Open directions are explicit in several papers. For sparse random temporal graphs, proposed extensions include different randomization models \(F\)-CASE, multi-labeled U-RTGs, upper bounds for general U-RTGs, and exact values of \(MD\) and \(TD\) even for the normalized clique [1310.7898]. For temporally disjoint routing, the walks problem on temporal trees remains open, and further structural parameters such as cutwidth or bandwidth are natural next targets [2105.08335] [2301.10503]. For the temporal hypercube, convergence of higher moments beyond the first two is left open [2509.18931]. For separation, it is conjectured that Restless Temporal \((s,z)\)-Separation parameterized by the separator size belongs to the parameterized class \(\Sigma_2^\mathrm{P}[k*]\) [2107.01609].

Taken together, these results show that restless temporal paths are not a single problem but a family of tightly related models at the intersection of temporal reachability, bounded waiting, path simplicity, and vertex-time occupancy. The resulting theory combines exact counting in random temporal structures, sharp hardness frontiers, nontrivial fixed-parameter algorithms, and application-driven generalizations in routing, diffusion, and temporal network analysis.

Source: https://www.emergentmind.com/topics/restless-temporal-paths