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


翻译:暂无翻译

0
下载
关闭预览

相关内容

WWW 2024 | GraphTranslator: 将图模型对齐大语言模型
专知会员服务
27+阅读 · 2024年3月25日
【元图(Meta-Graph):元学习小样本连接预测】
专知会员服务
65+阅读 · 2020年5月31日
【Code】GraphSAGE 源码解析
AINLP
31+阅读 · 2020年6月22日
无监督元学习表示学习
CreateAMind
27+阅读 · 2019年1月4日
Unsupervised Learning via Meta-Learning
CreateAMind
44+阅读 · 2019年1月3日
Fully-Convolutional Siamese Networks for Object Tracking论文笔记
统计学习与视觉计算组
10+阅读 · 2018年10月12日
基于二进制哈希编码快速学习的快速图像检索
极市平台
12+阅读 · 2018年5月17日
动手写机器学习算法:SVM支持向量机(附代码)
七月在线实验室
12+阅读 · 2017年12月5日
各种相似性度量及Python实现
机器学习算法与Python学习
11+阅读 · 2017年7月6日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
9+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Arxiv
0+阅读 · 11月25日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
3+阅读 · 今天14:56
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
1+阅读 · 今天14:52
乌克兰海陆空无人力量
专知会员服务
1+阅读 · 今天14:42
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
14+阅读 · 11月25日
相关VIP内容
WWW 2024 | GraphTranslator: 将图模型对齐大语言模型
专知会员服务
27+阅读 · 2024年3月25日
【元图(Meta-Graph):元学习小样本连接预测】
专知会员服务
65+阅读 · 2020年5月31日
相关资讯
【Code】GraphSAGE 源码解析
AINLP
31+阅读 · 2020年6月22日
无监督元学习表示学习
CreateAMind
27+阅读 · 2019年1月4日
Unsupervised Learning via Meta-Learning
CreateAMind
44+阅读 · 2019年1月3日
Fully-Convolutional Siamese Networks for Object Tracking论文笔记
统计学习与视觉计算组
10+阅读 · 2018年10月12日
基于二进制哈希编码快速学习的快速图像检索
极市平台
12+阅读 · 2018年5月17日
动手写机器学习算法:SVM支持向量机(附代码)
七月在线实验室
12+阅读 · 2017年12月5日
各种相似性度量及Python实现
机器学习算法与Python学习
11+阅读 · 2017年7月6日
相关基金
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
9+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员