← 研踪 PaperTrailarXiv:2611.37835 · v1
New Parameterized Upper Bounds for All-Pairs Shortest Path and Lowest Common Ancestor in DAGs
DAG中全对最短路径与最低公共祖先的新参数化上界
首次提交 2026-11-28 01:57
版本更新 2026-11-28 01:57
雷达观测 2026-11-30 14:38
摘要
We present new algorithms on two well-known all-pairs problems on directed acyclic graphs (DAGs): shortest path and lowest common ancestor. The new algorithms provide specialized bounds that relate to the degree distribution of the vertices on the edges essential for the output. In particular, we show how to solve all-pairs shortest path problem on real-weighted DAGs in time, where is the number of essential edges and is the covariance of the in-degree and out-degree exceedance distributions on these edges. In comparison, the previous best bound making use of was , which can be asymptotically larger. The lowest common ancestor problem on DAGs also gets a similar bound, involving the variance of the in-degree exceedances. At their heart, our algorithms leverage the varying branching factors in multiple recurrences on the same function to obtain a bound that involves the covariance/variance. This interesting technique can be utilized in other places where dynamic programming is used.
作者备注:22 pages, 1 figure, 2 algorithms
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-11-28 01:57 · 最新观测版本
New Parameterized Upper Bounds for All-Pairs Shortest Path and Lowest Common Ancestor in DAGs
We present new algorithms on two well-known all-pairs problems on directed acyclic graphs (DAGs): shortest path and lowest common ancestor. The new algorithms provide specialized bounds that relate to the degree distribution of the vertices on the edges essential for the output. In particular, we show how to solve all-pairs shortest path problem on real-weighted DAGs in time, where is the number of essential edges and is the covariance of the in-degree and out-degree exceedance distributions on these edges. In comparison, the previous best bound making use of was , which can be asymptotically larger. The lowest common ancestor problem on DAGs also gets a similar bound, involving the variance of the in-degree exceedances. At their heart, our algorithms leverage the varying branching factors in multiple recurrences on the same function to obtain a bound that involves the covariance/variance. This interesting technique can be utilized in other places where dynamic programming is used.
查看此版本解读 →查看此版本原文 ↗