The Algebraic Path Problem for Graph Metrics
Enrique Fita Sanmartín, Sebastian Damrich, Fred A. Hamprecht
Abstract
Finding paths with optimal properties is a foundational problem in computer science. The notions of shortest paths (minimal sum of edge costs), minimax paths (minimal maximum edge weight), reliability of a path and many others all arise as special cases of the "algebraic path problem" (APP). Indeed, the APP formalizes the relation between different semirings such as min-plus, min-max and the distances they induce. We here clarify, for the first time, the relation between the potential distance and the log-semiring. We also define a new unifying family of algebraic structures that include all above-mentioned path problems as well as the commute cost and others as special or limiting cases. The family comprises not only semirings but also strong bimonoids (that is, semirings without distributivity). We call this new and very general distance the "log-norm distance". Finally, we derive some sufficient conditions which ensure that the APP associated with a semiring defines a metric over an arbitrary graph.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers3
- Rethinking the Expressive Power of GNNs via Graph BiconnectivityBohang Zhang, Shengjie Luo, Liwei Wang, Di HeICLR 2023 · 15 citations
- Model Counting and Sampling via Semiring ExtensionsAndreas Goral, Joachim Giesen, Mark Blacher, Christoph Staudt et al.AAAI 2024 · 1 citation
- No Metric to Rule Them All: Toward Principled Evaluations of Graph-Learning DatasetsCorinna Coupette, Jeremy Wayland, Emily Simons, Bastian RieckICML 2025
Related papers
- On Non-Commutative RoutingZhaozhen Wang, Xingang Shi, Haijun Geng, Zitong Jin et al.INFOCOM 2025
- Tree embeddings for hop-constrained network designBernhard Haeupler, D. Ellis Hershkowitz, Goran ZuzicSTOC 2021 · 1 citation
- The Gradient of Algebraic Model CountingJaron Maene, Luc De RaedtAAAI 2025 · 1 citation
- Path and Intersections: Characterization of Quasi-metrics in Directed Okamura-Seymour InstancesYu Chen, Zihan TanSODA 2025
- Parallel Breadth-First Search and Exact Shortest Paths and Stronger Notions for Approximate DistancesVáclav Rozhon, Bernhard Haeupler, Anders Martinsson, Christoph Grunau et al.STOC 2023 · 6 citations
