A Coalgebraic Dijkstra Algorithm

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Sanada, Takahiro, Montacute, Yoàv, Phalakarn, Kittiphon, Hasuo, Ichiro
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910245308071936
author Sanada, Takahiro
Montacute, Yoàv
Phalakarn, Kittiphon
Hasuo, Ichiro
author_facet Sanada, Takahiro
Montacute, Yoàv
Phalakarn, Kittiphon
Hasuo, Ichiro
contents The Dijkstra algorithm is a classical method for solving the shortest path problem on weighted graphs. There are several variations of the Dijkstra algorithm, including algorithms for the widest path problem and for two-player games. In this paper, we introduce the coalgebraic shortest path problem (CSPP), a unifying framework for a broad class of optimization problems on state-transition systems. This framework encompasses not only the aforementioned problems but also new ones such as the shortest binary tree problem. We further present a coalgebraic Dijkstra algorithm for solving the CSPP efficiently under a suitable condition. Our condition is necessary and sufficient for the algorithm to return correct solutions, thereby providing a precise criterion for when Dijkstra-style acceleration is possible. We also show that the proposed algorithm achieves asymptotic complexity comparable to that of the classical Dijkstra algorithm.
format Preprint
id arxiv_https___arxiv_org_abs_2605_22149
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Coalgebraic Dijkstra Algorithm
Sanada, Takahiro
Montacute, Yoàv
Phalakarn, Kittiphon
Hasuo, Ichiro
Data Structures and Algorithms
The Dijkstra algorithm is a classical method for solving the shortest path problem on weighted graphs. There are several variations of the Dijkstra algorithm, including algorithms for the widest path problem and for two-player games. In this paper, we introduce the coalgebraic shortest path problem (CSPP), a unifying framework for a broad class of optimization problems on state-transition systems. This framework encompasses not only the aforementioned problems but also new ones such as the shortest binary tree problem. We further present a coalgebraic Dijkstra algorithm for solving the CSPP efficiently under a suitable condition. Our condition is necessary and sufficient for the algorithm to return correct solutions, thereby providing a precise criterion for when Dijkstra-style acceleration is possible. We also show that the proposed algorithm achieves asymptotic complexity comparable to that of the classical Dijkstra algorithm.
title A Coalgebraic Dijkstra Algorithm
topic Data Structures and Algorithms
url https://arxiv.org/abs/2605.22149