arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.19257cs.DScs.CG
收藏

在线排序与在线TSP:随机化、随机与高维

Online sorting and online TSP: randomized, stochastic, and high-dimensional

Mikkel Abrahamsen, Ioana O. Bercea, Lorenzo Beretta, Jonas Klausen, László Kozma

AI总结:

本文从随机化、随机输入和高维三个方向扩展了在线排序问题的研究,证明了实数在线排序的竞争比下界,给出了随机输入下改进的竞争比算法,并推广至高维情形与在线TSP变体。

摘要:

在在线排序问题中,$n$ 个物品逐一展示,并且必须(立即且不可撤销地)放入大小为 $n$ 的数组的空单元格中。目标是使连续单元格中物品的绝对差值之和最小。Aamand, Abrahamsen, Beretta, 和 Kleist (SODA 2023) 在研究在线几何装箱问题时,最近引入了这个自然问题作为工具。他们证明了当物品是区间 $[0,1]$ 上的实数时,可以实现 $O(\sqrt{n})$ 的竞争比,并且没有任何确定性算法能在渐近意义上改进这个比率。在本文中,我们从三个方向扩展和推广了在线排序的研究:- 随机化:我们解决了 Aamand 等人的开放问题,证明了即使使用随机性,实数在线排序的 $O(\sqrt{n})$ 竞争比也无法改进;- 随机:我们考虑由从区间中均匀随机抽取的 $n$ 个样本组成的输入,并给出了一个竞争比改进为 $\widetilde{O}(n^{1/4})$ 的算法。该结果揭示了在线排序与高效哈希表设计之间的联系;- 高维:我们证明了即使在任意固定 $d$ 的情况下,对于来自 $\mathbb{R}^d$ 的物品,在对抗模型中,$\widetilde{O}(\sqrt{n})$ 竞争的在线排序也是可能的。这可以被视为经典 TSP 问题的一个在线变体,其中任务(要访问的城市)逐一展示,销售人员将每个任务(立即且不可撤销地)分配到其时间槽。在此过程中,我们还展示了均匀度量下的紧 $O(\log{n})$ 竞争性结果,即物品属于不同类型,目标是对它们进行排序,以最小化不同类型连续物品之间的切换次数。

英文摘要:

In the online sorting problem, $n$ items are revealed one by one and have to be placed (immediately and irrevocably) into empty cells of a size-$n$ array. The goal is to minimize the sum of absolute differences between items in consecutive cells. This natural problem was recently introduced by Aamand, Abrahamsen, Beretta, and Kleist (SODA 2023) as a tool in their study of online geometric packing problems. They showed that when the items are reals from the interval $[0,1]$ a competitive ratio of $O(\sqrt{n})$ is achievable, and no deterministic algorithm can improve this ratio asymptotically. In this paper, we extend and generalize the study of online sorting in three directions: - randomized: we settle the open question of Aamand et al. by showing that the $O(\sqrt{n})$ competitive ratio for the online sorting of reals cannot be improved even with the use of randomness; - stochastic: we consider inputs consisting of $n$ samples drawn uniformly at random from an interval, and give an algorithm with an improved competitive ratio of $\widetilde{O}(n^{1/4})$. The result reveals connections between online sorting and the design of efficient hash tables; - high-dimensional: we show that $\widetilde{O}(\sqrt{n})$-competitive online sorting is possible even for items from $\mathbb{R}^d$, for arbitrary fixed $d$, in an adversarial model. This can be viewed as an online variant of the classical TSP problem where tasks (cities to visit) are revealed one by one and the salesperson assigns each task (immediately and irrevocably) to its timeslot. Along the way, we also show a tight $O(\log{n})$-competitiveness result for uniform metrics, i.e., where items are of different types and the goal is to order them so as to minimize the number of switches between consecutive items of different types.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑