跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.37194 · v1

A deterministic $O(n\log n)$ algorithm for fixed-link shortest paths in concave Monge graphs

首次提交 2026-11-27 18:20
版本更新 2026-11-27 18:20
雷达观测 2026-11-30 13:34
arXiv ↗PDF ↗

摘要

We give a deterministic O(nlog⁡n)O(n\log n)-time algorithm for finding a minimum-weight source-to-sink path with exactly kk edges in a concave Monge graph on n+1n+1 vertices. More precisely, the algorithm takes O(nlog⁡(h+2))O(n\log(h+2)) time and O(n)O(n) space, where h=min⁡{k−1,n−k}h=\min\{k-1,n-k\}. This resolves the 32-year-old open problem of finding an n(log⁡n)O(1)n(\log n)^{O(1)}-time algorithm for every prescribed kk [Aggarwal et al., 1994]. The best previous worst-case bound was due to Schieber, whose algorithm takes n2O(log⁡klog⁡log⁡n)n 2^{O(\sqrt{\log k \log\log n})} time for k=Ω(log⁡n)k=Ω(\log n) [Schieber, 1998]. We give three applications. We give an O(nlog⁡(h+2))O(n\log(h+2))-time algorithm for exact one-dimensional kk-means, which asks how to partition nn sorted, positively weighted points into kk clusters to minimize the weighted sum of squared distances to the cluster means. This answers the question of whether n(log⁡k)O(1)n (\log k)^{O(1)} time suffices [Grønlund et al., 2017]. The classical dynamic program computes the optima for all cluster counts through kk in O(nk)O(nk) time [Wu, 1991]. We give an O(nlog⁡n)O(n\log n)-time algorithm for the inscribed kk-gon problem, which asks us to choose kk of the cyclically ordered vertices of a convex nn-gon to maximize the perimeter of the polygon they form. The earlier matrix-search algorithm takes O(nk+nlog⁡n)O(nk+n\log n) time [Aggarwal et al., 1987]. An O(nlog⁡n)O(n\log n) bound was known for polynomially bounded integer coordinates with no three vertices collinear [Bein et al., 1992]. For nn sorted positive symbol weights and any feasible DD, we construct an optimal tree in O(nlog⁡(D+1))O(n\log(D+1)) time for length-limited binary prefix coding, which asks for a code that minimizes the weighted sum of codeword lengths subject to a limit of DD bits per codeword. The package-merge algorithm takes O(nD)O(nD) time [Larmore and Hirschberg, 1990].

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

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

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-27 18:20 · 最新观测版本

A deterministic $O(n\log n)$ algorithm for fixed-link shortest paths in concave Monge graphs

We give a deterministic O(nlog⁡n)O(n\log n)-time algorithm for finding a minimum-weight source-to-sink path with exactly kk edges in a concave Monge graph on n+1n+1 vertices. More precisely, the algorithm takes O(nlog⁡(h+2))O(n\log(h+2)) time and O(n)O(n) space, where h=min⁡{k−1,n−k}h=\min\{k-1,n-k\}. This resolves the 32-year-old open problem of finding an n(log⁡n)O(1)n(\log n)^{O(1)}-time algorithm for every prescribed kk [Aggarwal et al., 1994]. The best previous worst-case bound was due to Schieber, whose algorithm takes n2O(log⁡klog⁡log⁡n)n 2^{O(\sqrt{\log k \log\log n})} time for k=Ω(log⁡n)k=Ω(\log n) [Schieber, 1998]. We give three applications. We give an O(nlog⁡(h+2))O(n\log(h+2))-time algorithm for exact one-dimensional kk-means, which asks how to partition nn sorted, positively weighted points into kk clusters to minimize the weighted sum of squared distances to the cluster means. This answers the question of whether n(log⁡k)O(1)n (\log k)^{O(1)} time suffices [Grønlund et al., 2017]. The classical dynamic program computes the optima for all cluster counts through kk in O(nk)O(nk) time [Wu, 1991]. We give an O(nlog⁡n)O(n\log n)-time algorithm for the inscribed kk-gon problem, which asks us to choose kk of the cyclically ordered vertices of a convex nn-gon to maximize the perimeter of the polygon they form. The earlier matrix-search algorithm takes O(nk+nlog⁡n)O(nk+n\log n) time [Aggarwal et al., 1987]. An O(nlog⁡n)O(n\log n) bound was known for polynomially bounded integer coordinates with no three vertices collinear [Bein et al., 1992]. For nn sorted positive symbol weights and any feasible DD, we construct an optimal tree in O(nlog⁡(D+1))O(n\log(D+1)) time for length-limited binary prefix coding, which asks for a code that minimizes the weighted sum of codeword lengths subject to a limit of DD bits per codeword. The package-merge algorithm takes O(nD)O(nD) time [Larmore and Hirschberg, 1990].

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