Algorithms (Oct 2024)

Polynomial Time Algorithm for Shortest Paths in Interval Temporal Graphs

  • Anuj Jain,
  • Sartaj Sahni

DOI
https://doi.org/10.3390/a17100468
Journal volume & issue
Vol. 17, no. 10
p. 468

Abstract

Read online

We develop a polynomial time algorithm for the single-source all destinations shortest paths problem for interval temporal graphs (ITGs). While a polynomial time algorithm for this problem is known for contact sequence temporal graphs (CSGs), no such prior algorithm is known for ITGs. We benchmark our ITG algorithm against that for CSGs using datasets that can be solved using either algorithm. Using synthetic datasets, experimentally, we show that our algorithm for ITGs obtains a speedup of up to 32.5 relative to the state-of-the-art algorithm for CSGs.

Keywords