English

The Complexity of Transitively Orienting Temporal Graphs

Data Structures and Algorithms 2025-01-29 v3 Computational Complexity Discrete Mathematics

Abstract

In a temporal network with discrete time-labels on its edges, entities and information can only ``flow'' along sequences of edges whose time-labels are non-decreasing (resp. increasing), i.e. along temporal (resp. strict temporal) paths. Nevertheless, in the model for temporal networks of [Kempe, Kleinberg, Kumar, JCSS, 2002], the individual time-labeled edges remain undirected: an edge e={u,v}e=\{u,v\} with time-label tt specifies that ``uu communicates with vv at time tt''. In this paper we make a first attempt to understand how the direction of information flow on one edge can impact the direction of information flow on other edges. More specifically, naturally extending the classical notion of a transitive orientation in static graphs, we introduce the fundamental notion of a temporal transitive orientation and we systematically investigate its algorithmic behavior. An orientation of a temporal graph is called temporally transitive if, whenever uu has a directed edge towards vv with time-label t1t_1 and vv has a directed edge towards ww with time-label t2t1t_2\geq t_1, then uu also has a directed edge towards ww with some time-label t3t2t_3\geq t_2. If we just demand that this implication holds whenever t2>t1t_2 > t_1, we call the orientation strictly temporally transitive, as it is based on the strict directed temporal path from uu to ww. Our main result is a conceptually simple, yet technically quite involved, polynomial-time algorithm for recognizing whether a given temporal graph G\mathcal{G} is transitively orientable. In wide contrast we prove that, surprisingly, it is NP-hard to recognize whether G\mathcal{G} is strictly transitively orientable. Additionally we introduce and investigate further related problems to temporal transitivity, notably among them the temporal transitive completion problem, for which we prove both algorithmic and hardness results.

Keywords

Cite

@article{arxiv.2102.06783,
  title  = {The Complexity of Transitively Orienting Temporal Graphs},
  author = {George B. Mertzios and Hendrik Molter and Malte Renken and Paul G. Spirakis and Philipp Zschoche},
  journal= {arXiv preprint arXiv:2102.06783},
  year   = {2025}
}
R2 v1 2026-06-23T23:07:15.255Z