跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv: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
arXiv ↗PDF ↗

摘要

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 O((E∗)2/V+Vσ+V2)O((E^*)^2/V + Vσ+ V^2) time, where E∗E^* 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 E∗E^* was O(VE∗)O(VE^*), 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

AI 论文解读

基于摘要 · 非全文审阅

作者提出利用关键边的度分布协方差/方差来参数化DAG上全对最短路径和最低公共祖先问题的新算法上界。

正在读取账号与研究记录…

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 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 O((E∗)2/V+Vσ+V2)O((E^*)^2/V + Vσ+ V^2) time, where E∗E^* 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 E∗E^* was O(VE∗)O(VE^*), 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.

查看此版本解读 →查看此版本原文 ↗