English

Generic Dijkstra

Networking and Internet Architecture 2026-03-04 v4 Data Structures and Algorithms

Abstract

The recently-proposed generic Dijkstra algorithm finds shortest paths in networks with continuous and contiguous resources. While the algorithm was proposed in the context of optical networks (and is applicable to other networks with finite and discrete resources), we present the stated problem in a broader algorithmic setting of the greedy approach. The algorithm was published without a proof of correctness, and with a minor shortcoming. We provide that missing proof and offer a correction to the shortcoming. To prove the algorithm correct, we generalize the greedy approach and the Bellman principle of optimality to algebraic structures with a partial ordering. By analyzing the size of the search space in the worst-case, we argue the stated problem is tractable. Thus we definitely answer a long-standing fundamental question of whether we can efficiently find a shortest path in a network with discrete resources subject to the continuity and contiguity constraints: yes, we can.

Keywords

Cite

@article{arxiv.2204.13547,
  title  = {Generic Dijkstra},
  author = {Ireneusz Szcześniak and Bożena Woźna-Szcześniak and Ireneusz Olszewski},
  journal= {arXiv preprint arXiv:2204.13547},
  year   = {2026}
}

Comments

An extended version for a journal submission